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

Android, Hacks, Linux

How to SSH into your home computer to access media files, documents, processes, or anything else you might need

I wanted access to my home machine so I could access any files I want. Dropbox is pretty awesome, but if you’ve forgotten to put something in your Dropbox folder, you’ll be in deep trouble. (1) Run “sudo apt-get install openssh-server” at the command line. (2) Run “sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original”. This copies your original configuration file for SSH so…

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