2014-02-21

Big data

Time to delete some of the content I've posted on Facebook, Twitter and other social networks (read: "social media marketing platforms").

FB> you grant us a non-exclusive, transferable, sub-licensable, royalty-free, worldwide license to use any IP content that you post on or in connection with Facebook (IP License). This IP License ends when you delete your IP content or your account unless your content has been shared with others, and they have not deleted it.
-> https://www.facebook.com/legal/terms
-> https://entropia.de/~krt/msg/2014-02-20T20:42:37Z.msg

Do yourself a favor and give it a read. Scary.


Also, I just downloaded all my FB data. Scared the shit out of me again. I mean, it's not like I didn't know they store all this data, but it's very scary to be punched in the face with a list of 290 IP addresses that I used, the times I logged in, the email addresses of all of my contacts.. Holy shit, man. Why.

2014-02-15

Installing BTSync properly on Debian

Download the appropriate version of BitTorrent Sync and open a terminal on your Download directory. The archives have various names, so I'll just use a generic one. First, extract the executable.
tar xf btsync.tar.gz
Then, move it to the user binaries folder.
sudo mv btsync /usr/bin
Now, open up your scheduling configuration.
crontab -e
To the bottom of the file, add this:
@reboot btsync --config ~/.config/btsync/btsync.json
Exit the editor. Now, create the folder and the file. Choose a port and change it to something you like (the "listen" attribute under "webui"). You may also add "username" and "password" to this, although you don't have to. These will be configurable later through the UI.
Important: the file paths in the config file have to be absolute, don't use the ~ variable here!
mkdir -p ~/.config/btsync
sensible-editor ~/.config/btsync/btsync.json
{
  "storage_path" : "/home/username/.config/btsync",
  "pid_file" : "/home/username/.config/btsync/btsync.pid",
  "webui" :
  {
    "listen" : "0.0.0.0:51920"
  }
}
After you're done, simply reboot to work the magic. Or execute btsync with its --config parameter.