By default the Raspberry Pi uses a 100MB swap file on the SD card. I have a 512MB Pi, and I've never actually seen the swap being used... but if it is, it will be horrifically slow and have some impact on the life of the card. So, since I have hard drives plugged in (I have a 4-drive JBOD USB enclosure) I decided to move the swap. (Most of the following commands need to be run as root or using sudo). [...]
I created this site to keep track of the various things that I do, and to share anything I have learned along the way in the hope that others will improve on it and share in return.
A basic version of "unrar" can be installed simply with:
apt-get install unrar-free
However this is unable to handle the RAR v3.0 format (which most .rar files probably use). For this we must use "unrar-nonfree", which isn't in Raspbian's repositories. Not to worry, it can be installed easily enough using the APT system... [...]
Since upgrading my computers to Ubuntu 13.10 (or Xubuntu 13.10), I have been unable to use Python's IDLE interpreter.
Fortunately there's a simple fix... edit /usr/lib/python2.7/idlelib/IOBinding.py (as root) and change line 128 from:
str = str.split("\n", 2)[:2]
lst = str.split("\n", 2)[:2] [...]
NOTE: This article has been superceded by an updated one here!
BitTorrent Sync is a really useful alternative to Dropbox / Google Drive / etc, as none of the files are stored on someone else's server and you can have as much space as you want!
BTSync can only be run once (per user), so running it as a service ensures it starts at boot for every user without them needing to log on! [...]
Google still hasn't released a Google Drive client for Linux (and when they do, it won't necessarily run on an ARM chip) so the best option I've found so far is Grive - an open source client. It syncs with Google Drive, although doesn't "watch" for changes, so it needs to be run regularly (e.g. on a cron-job).
Diving straight ahead into installation...
Install the dependencies (this was sufficient for my Pi, running Raspbian): [...]
Every now and then I mistakenly press CTRL+S inside a terminal window... it seems to freeze the entire terminal - no more input or output.
It actually just pauses the printing of any output, which can be restarted by simply pressing CTRL+Q.
There are plenty of tools available to recover files using Windows or Linux... but for Android the apps are very limited: [...]
TL;DR: Grab the attached script, and use it to install and/or run additional Dropbox instances in Linux! (It gives you usage instructions if you run it with no parameters)
I use Dropbox. My wife also uses Dropbox. We wanted to use Dropbox at the same time, on the same computer, without needing to have separate user accounts. [...]
Authors: Nathan Burles, Simon O'Keefe, James Austin, Stephen Hobson
Published in Neural Processing Letters.
Attached is a draft copy.
Neural Processing Letters timeframe:
Acceptance subject to comments: 2013-04-03
Final acceptance: 2013-06-01 [...]
To include the watermark on every page:
To include the watermark on the first page only:
To change the watermark text:
To change the darkness/lightness of the watermark (range from 0.0/black to 1.0/white):
To change the size of the watermark: