If you see this, gubatron.com has successfully moved to Amazon Web Services.
Related Posts
command line speed test, see how fast is your server’s connection
Save the following script in a file called speed_test #!/bin/bash # Requirements # sudo apt-get install lftp iperf lftp -e ‘pget http://releases.ubuntu.com/14.04.3/ubuntu-14.04.3-desktop-amd64.iso; exit; ‘ make sure the file is executable: sudo chmod +x speed_test Once you have installed lftp and iperf make sure you have the script somewhere in your $PATH. The script basically downloads […]
ubuntu packages for a kick ass web server
Copy and paste the following list on a file, say “packages.txt”. To install all just do: sudo apt-get install $(cat packages.txt) accountsservice acpid adduser ant ant-optional apache2-utils apparmor apport apport-symptoms apt apt-transport-https apt-utils apt-xapian-index aptitude at base-files base-passwd bash bash-completion bc bind9-host bsdmainutils bsdutils busybox-initramfs busybox-static byobu bzip2 ca-certificates ca-certificates-java cloud-init cloud-initramfs-growroot cloud-initramfs-rescuevol cloud-utils command-not-found […]
How to obtain the coordinates of the JTable cell a mouse is hovering over, useful for tooltips within cell renderers.
public String getToolTipText(MouseEvent event) { /* * This is a Java Swing lesson on how to obtain the coordinates of the current cell * as you hover with the mouse on a JTable. * * You cannot use the renderer component, since it seems that once the table is done * stamping the cells with […]