- As per Ask Ubuntu
# /etc/default/grub
# Change `GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"` to
GRUB_CMDLINE_LINUX_DEFAULT="text"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var reserved = [ | |
"break", "case", "catch", "continue", "default", "delete", "do", "else", | |
"finally", "for", "function", "if", "in", "instanceof", "new", "return", | |
"switch", "this", "throw", "try", "typeof", "var", "void", "while", "with", | |
"abstract", "boolean", "byte", "char", "class", "const", "debugger", | |
"double", "enum", "export", "extends", "final", "float", "goto", | |
"implements", "import", "int", "interface", "long", "native", "package", | |
"private", "protected", "public", "short", "static", "super", | |
"synchronized", "throws", "transient", "volatile", | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<style type="text/css" media="all"> | |
body { font-family: monospace; } | |
</style> | |
<title>Bookmarlets</title> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a folder in /opt and cd to it | |
$ sudo mkdir -p /opt/syncthing | |
$ cd /opt/syncthing | |
Get the latest arm version of syncthing from github (https://github.com/syncthing/syncthing/releases/) x marks the version number. | |
$ sudo wget https://github.com/syncthing/syncthing/releases/download/vx.xx.x/syncthing-linux-arm-vx.xx.x.tar.gz | |
sudo tar -xzvf syncthing-linux-arm-vx.xx.x.tar.gz | |
sudo rm syncthing-linux-arm-vx.xx.x.tar.gz | |
Move content one folder up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# As per this guide -- http://raspberrypi.stackexchange.com/questions/3617/how-to-install-unrar-nonfree#3618 | |
# Uninstall unrar-free. | |
sudo apt-get remove unrar-free | |
# Make sure you have a source repository by editing /etc/apt/sources.list. | |
cat /etc/apt/sources.list | |
# Sync the apt database. | |
sudo apt-get update |
- Open a terminal session on the PI
- To enable the server to handle php scripts the fastcgi-php module should be enabled by issuing in the command
sudo lighttpd-enable-mod fastcgi-php
# Then reload the server using
sudo service lighttpd force-reload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing Pyload on Raspbian running on Raspberry Pi 2 | |
git clone https://github.com/pyload/pyload.git | |
sudo apt-get install python-pycurl python-crypto python-imaging tesseract-ocr rhino | |
# Install pip for Python 2.7.9 | |
wget https://bootstrap.pypa.io/get-pip.py | |
python get-pip.py | |
# Start PyLoad config |