I hereby claim:
- I am ZuluagaSD on github.
- I am danielzuluaga (https://keybase.io/danielzuluaga) on keybase.
- I have a public key whose fingerprint is A74E F2AD 841A 597A C87D A92D 4A73 6810 CBE1 F110
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /* npipes.cpp */ | |
| # include <stdio.h> | |
| # include <stdlib.h> | |
| # include <unistd.h> | |
| # include <string.h> | |
| # include <errno.h> | |
| # include <iostream> | |
| using namespace std; |
| <img src="http://img26.imageshack.us/img26/6670/walkingdead2.png" alt="The Walking Dead"> | |
| <img src="http://img696.imageshack.us/img696/5779/tmpb3ed.png" alt="Undercover Boss US"> | |
| <img src="http://img801.imageshack.us/img801/6424/twohalfmen.png" alt="Two and a Half Men"> | |
| <img src="http://img148.imageshack.us/img148/1307/tmp1b39.png" alt="The Big Bang Theory"> |
| require 'rubygems' | |
| require 'nokogiri' | |
| require 'open-uri' | |
| url = "http://www.icefilms.info/" | |
| doc = Nokogiri::HTML(open(url)) | |
| shows = ['Two and a Half Men', 'Something else'] | |
| puts doc.at_css("title").text |
| <html> | |
| <head></head> | |
| <body> | |
| <p>File Upload !</p> | |
| <form action="upload.html" enctype="multipart/form-data" method="POST"> | |
| <input type="file" name="file1"><br> | |
| <input type="Submit" value="Upload File"><br> | |
| </form> | |
| </body> | |
| </html> |
| package DAO; | |
| import java.rmi.RemoteException; | |
| import com.vmware.vim25.InvalidProperty; | |
| import com.vmware.vim25.RuntimeFault; | |
| import com.vmware.vim25.VirtualHardware; | |
| import com.vmware.vim25.mo.*; | |
| import java.util.ArrayList; |
| @WebServlet(name = "Principal", urlPatterns = {"/Principal"}) | |
| public class Principal extends HttpServlet { | |
| @Override | |
| protected void doGet(HttpServletRequest request, HttpServletResponse response) | |
| throws ServletException, IOException { | |
| String user = request.getParameter("user"); | |
| String pass = request.getParameter("pass"); | |
| String ip = request.getParameter("ip"); |
| public class VirtualMachineDAO { | |
| public ArrayList<String[]> getInfo(ServiceInstance si, Folder rootFolder) { | |
| String[] vmArray = new String[10]; | |
| ArrayList<String[]> restulArr = new ArrayList<String[]>(); | |
| //result += "Searching VirtualMachines...." + "\n"; | |
| try { | |
| ManagedEntity[] mes = new InventoryNavigator(rootFolder).searchManagedEntities("VirtualMachine"); |