Saturday, December 21, 2013
Wednesday, December 11, 2013
Load page in default browser - java
public class LD {
public static void main(String[] args) throws Exception {
final java.net.URI uri = new java.net.URI("http://www.google.com");
java.awt.Desktop.getDesktop().browse(uri);
}
}
public static void main(String[] args) throws Exception {
final java.net.URI uri = new java.net.URI("http://www.google.com");
java.awt.Desktop.getDesktop().browse(uri);
}
}
Tuesday, December 10, 2013
sshfs
sshfs -p #### $username@$hostname:$hostdir $local_mnt
diskutil unmount $local_mnt
Unmount failed for $local_mnt
diskutil unmount force $local_mnt
Unmount successful for $local_mnt
$ ssh $username@$username 'bash -s' < run_me_on_host.sh
diskutil unmount $local_mnt
Unmount failed for $local_mnt
diskutil unmount force $local_mnt
Unmount successful for $local_mnt
$ ssh $username@$username 'bash -s' < run_me_on_host.sh
Subscribe to:
Posts (Atom)