Windows 7 sometimes breaks FTP connections on Java 7 if firewall is enabled

Windows 7 sometimes breaks FTP connections on Java 7 if firewall is enabled. Command netsh advfirewall set global StatefulFTP disable   usually fixes the problem.

VirtualBox: Fixing piix4_smbus 0000.00.07.0: SMBus base address uninitialized – upgrade bios or use force_addr=0xaddr

If you see the following error message when booting Arch Linux: == piix4_smbus 0000.00.07.0: SMBus base address uninitialized – upgrade bios or use force_addr=0xaddr == To fix this, add "blacklist i2c_piix4" to file /etc/modprobe.d/modprobe.conf /etc/modprobe.d/modprobe.conf == blacklist i2c_piix4 ==

Javascript: Chrome is a lot more restrict

Today I ran into an issue where simple javascript would stop running for no apparent reason. I finally traced the problem down to where I was handling the response on a jquery.form callback:   if (response.message instanceof Array) { var html = ""; for (var line in response.message) { html… Continue reading

Firefox: Some tips to improve your experience

Put the protocol back in the URL bar: 1. Enter the config by visition   about:config 2. Enter "browser.urlbar.trimURLs" and change the value to "false"    

Kohana: Buffering output on view and rendering it before in the source code

Sometimes you need to hack the order the source code is going to be rendered in a view: – You want an extra piece of CSS that only aplies to that view, so you think it's not worth creating a single CSS file and including in your mashed file –… Continue reading

mysql: Dumping single database table and restoring

Sometimes you need to dump a single table from a mysql table and restore it somewhere else. Here's what you need:   1. Dump the table (compress it so it will take shorter to transfer over the network)   mysqldump -h <HOST> -u <USERNAME> -p <DATABASE> <TABLE> | gzip >… Continue reading

Linux: Some maintenance

Your linux distribution may run some maintenance jobs or checks daily and you may get things like the following in your email:   '<USERNAME>' is a member of the 'httpd' group in /etc/group but not in /etc/gshadow The grpconv command creates gshadow from group and an optionally existing gshadow. execute:… Continue reading

Linux: Manjaro 0.8.5 torrent

Here is a torrent for all the files for Manjaro 0.8.5 release Please seed! If you prefer, go to SourceForge http://sourceforge.net/projects/manjarolinux/files/?source=dlp  

Linode: Install mysql from package

  # pacman -S mysql resolving dependencies… looking for inter-conflicts… Targets (3): libmysqlclient-5.5.30-7  mysql-clients-5.5.30-7  mysql-5.5.30-7 Total Download Size:    12.81 MiB Total Installed Size:   123.89 MiB Proceed with installation? [Y/n] y :: Retrieving packages from extra…  libmysqlclient-5.5.30-7-x86_64        3.4 MiB   129K/s 00:27 [##################################] 100%  mysql-clients-5.5.30-7-x86_64       834.8 KiB   115K/s 00:07 [##################################] 100%  mysql-5.5.30-7-x86_64                … Continue reading

Linode: Update your ArchLinux VPS

connect 2 sessions on your Linode   On the second, run this: dd if=/dev/urandom of=/dev/null   on the first one, do the following: pacman-key –init   You can stop the dd process on the second connnection pacman-key –populate archlinux pacman-key –refresh-keys   Update pacman pacman -Sy pacman   Update your… Continue reading