You are here

Tip

Copy/pasting large amounts of text via a PuTTY terminal

Submitted by Druss on Sat, 2014-08-02 23:23

While transferring a file to a remote server is pretty easily done using PuTTY's sister program, pscp, sometimes one finds oneself to be too lazy to go through the steps required. Shouldn't it be possible to simply copy and paste the (text) file into a remote editor via PuTTY? It is and it works a peach. However, it does crack the shits every now and then complaining about the length of the clipboard (paste).

SVN: Remove/delete .svn directories recursively

Submitted by Druss on Fri, 2014-07-18 01:22

Earlier today, I wanted to recover some files that I'd added to version control (for safe keeping). However, I did not want to retain the pesky .svn files that plague every directory in the tree (unlike the wonderful git). GOOG directed me to solutions that all rely on Linux tools to do the trick. The following does work admirably:

Vim: Rejoin paragraph with forced line breaks / hard-wrapped multiple lines

Submitted by Druss on Sun, 2014-06-29 00:42

Some documents contain paragraphs which are wrapped often at the 80 character mark to help with formatting and readability. This is sometimes accomplished using forced line breaks which can be quite annoying especially when you want to reverse it as I did earlier today. Rather than messing with regex and weird edge cases, use Vim which provides a lovely solution! Here it be:

Picasa in Linux under WiNE without Google Plus support

Submitted by Druss on Sat, 2014-04-26 11:40

The latest version of Picasa (v3.9) is armed with Google Plus support. I suppose that this is fine even though Google Plus is inherently evil (albeit not as evil as Facebook). However, the application's camera support is lacking and Google has officially stopped supporting the product under Linux. They've also pulled many of the links and even download sites and archive sites are oddly only providing v3.9. However, Google's own servers continue to (knowingly or unknowingly) host to install file for the admirable robust v3.8. Here it is:

Slow login into Ubuntu via SSH

Submitted by Druss on Fri, 2014-01-31 20:13

Fresh install of Ubuntu Server 12.04 LTS: After installed SSHD, I found that logging in remotely was a time-consuming process as the password prompt took ages to pop up after the username prompt. Binging about, I found that this was due to SSHD performing a reverse DNS lookup of my IP to potentially check if all is kosher. Turning this check off fixes the issue:

The drush command '@hostmaster pm-enable hosting_queued' could not be found

Submitted by Druss on Fri, 2014-01-24 02:00

Installing Aegir 2 on a fresh install of Ubuntu Saucy in a Virtualbox, I ran into the following message:

The drush command '@hostmaster pm-enable hosting_queued' could not be found.

To fix this run, sudo mysql_secure_installation and ensure that you remove anonymous users. This should do the trick.

this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot

Submitted by Druss on Thu, 2014-01-23 16:47

Using Virtualbox (4.3.6) on an XP64 machine, I ran into the following error while trying to install a 64-bit version of Ubuntu:

this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot

This happens even if the host machine is a 64-bit machine. To fix this, reboot the box and enter the BIOS. Look around for a virtualisation setting and enable it. Save and exit the BIOS configuration screen.

Pages

Subscribe to RSS - Tip