Using Two Different Protocols for the Same Git Remote
If you read my post on Adding Remote Shortcuts to Git, you may have found it useful for specifying shortcuts for easy cloning. In case you haven't read it, the summary is that to clone my linotify repository on GitHub, I need only type the following:
Read More...Posted on 2012-01-11
Using XMPP to Find Out When a Long-Running Process is Done
Do you often find yourself running a process that you know is going to take a while? Do you also find yourself checking the shell it's running in every five minutes to see if it's done? I do this fairly often, so what I used to do is something like this:
Read More...Posted on 2011-10-27
Why OwnCloud
In the latest Linux Outlaws episode (episode 234), Dan and Fab go over the latest OwnCloud release. Fab states his opinion that there's no point to running your own cloud service, since cloud services are all about delegating infrastructure control to a third party. In my opinion, cloud services are about three things:
Read More...Posted on 2011-10-25
SSH Shortcuts
Let's say that you have a server you SSH into very often. Let's also say that sshd on that server is running on a non-standard port to avoid annoying scanners (we'll using 53718 in this example). To SSH into this server, you run the following:
Posted on 2011-10-19
Asynchronous MySQL Queries in Perl Using DBD::mysql and AnyEvent
A lot of people use MySQL, and these days, asynchronous-style programming has really taken off. If you're involved in both of these camps, you may be wondering how to send a query to MySQL and have it inform your event loop when it's ready with the results of that query. A common solution is to use a thread or child process for each connection, and exchange data using IPC. However, if you're using Perl and DBD-mysql 4.019 or better, you have an alternative: the new asynchronous interface.
Read More...Posted on 2011-10-19
Newer Entries Older Entries