Linux, Programming, Scripting

Howto: Fix MySQL Server dependency problems on Ubuntu LTS

Have you encountered this error? An error occurred while setting the password for the MySQL administrative user. This may have happened because the account already has a password, or because of a communication problem with the MySQL server. Or maybe seen this? Errors were encountered while processing: mysql-server-5.5 mysql-server Or this? dpkg: error processing package mysql-server (–configure): dependency problems -…

Continue Reading

Linux, Programming, Ruby, Scripting, Web development

How To Build A Ruby Server With RVM On Kubuntu 12.10

So I’m building a Ruby server right now for the first time. I’m going to list out here the resources I used as a skilled web dev to get this up and running right away. These links do assume that you know what you’re doing in the cloud, but if so, they’re the best way to get running fast. http://guides.rubyonrails.org/getting_started.html…

Continue Reading

Hacks, Linux, Programming, Scripting

HOWTO: Always know your home computer’s IP address from anywhere using Dropbox

To always know what your home machine’s IP address is (and while I’ll assume that you’re running Kubuntu, this can be adapted using the following bash script to any machine). Apt-get ‘kcron’. Open Task Scheduler and set the following bash script to run every five minutes: #!/bin/bash J=`wget http://checkip.dyndns.org/ -qO – | grep -Eo ‘\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>’` K=`date` echo “$J $K” >>…

Continue Reading

Scripting

Python For Scripting

Hi!  I’m Liz from Athenageek.  Tarah and I are writing guest posts in each other’s blogs on the scripting languages we love. I must make a confession before I continue with this post – I adore Python. It’s made me a better coder. I think about problems differently than I used to, I’m better at breaking them down into tiny…

Continue Reading

Linux, Scripting

How to batch scan using Xsane

If you’re like me, you can’t throw important documents away, but there’s no easy way to scan old records, tax documents, and all the crap you’re supposed to save for 7 or 10 years…or however long taxes are supposed to stick around. Unfortunately, batch scanning with Xsane using an ADF (auto document feeder) is not even remotely intuitive. Here’s how…

Continue Reading

Scripting

Get emailed a portion of classic literature each day.

Ok, so I am feeling guilty over not reading enough GOOD books. So, I devised a cunning plan whereby I am emailed a portion of a classic book each day. I started with the Iliad. I know that I’ll clear my emails every single day because a cluttered inbox irritates me…so this is the perfect motivational tool. I wrote each…

Continue Reading