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
Sunday, November 17, 2013
ServiceMix / Karaf web-console default username and password
Install the karaf-web-console
karaf@root> features:install webconsole
From web-console documentation
... "Accessing the web console"
To access the console for an instance of Karaf running locally, enter the following address in your web browser: http://localhost:8181/system/console
Log in with theusername karaf and the password karaf. If you have changed the default user or password, use the one you have configured.
The username and password are smx / smx
see file: $SERVICE_MIX_INSTALL_DIR/etc/users.properties
karaf@root> features:install webconsole
From web-console documentation
... "Accessing the web console"
To access the console for an instance of Karaf running locally, enter the following address in your web browser: http://localhost:8181/system/console
Log in with the
The username and password are smx / smx
see file: $SERVICE_MIX_INSTALL_DIR/etc/users.properties
Friday, November 15, 2013
Thursday, October 31, 2013
Wednesday, October 9, 2013
Tuesday, October 8, 2013
Tuesday, July 16, 2013
/bin/mv: Argument list too long
find /path/to/file -type f | xargs -i mv "{}" /path/to/move
find . -type f | xargs -i mv "{}" ./archive/
Subscribe to:
Posts (Atom)