To use it, run these commands:
javac SimpleStringEncrypter.java
java SimpleStringEncrypter
images = { | |
"tor": "http://i.imgur.com/UUuW9Qh.png", | |
"sas": "http://i.imgur.com/Uo5yXYs.png", | |
"mia": "http://i.imgur.com/ySTYXC9.png", | |
"was": "http://i.imgur.com/z10kI4z.png", | |
"uta": "http://i.imgur.com/ML08bL3.png", | |
"sac": "http://i.imgur.com/gqkz8M2.png", | |
"por": "http://i.imgur.com/1Xu5aos.png", | |
"phx": "http://i.imgur.com/zjzqcss.png", | |
"orl": "http://i.imgur.com/tA6HPki.png", |
<?php | |
namespace Vendor\CliOutput; | |
class CliOutput | |
{ | |
const BLACK = 'black'; | |
const DARK_GRAY = 'dark_gray'; | |
const BLUE = 'blue'; | |
const LIGHT_BLUE = 'light_blue'; |
To use it, run these commands:
javac SimpleStringEncrypter.java
java SimpleStringEncrypter
import os | |
import errno | |
from subprocess import call | |
from gitlab import Gitlab | |
def mkdir_p(path): | |
try: | |
os.makedirs(path) | |
except OSError as exc: # Python >2.5 | |
if exc.errno == errno.EEXIST and os.path.isdir(path): |
This tutorial assumes you know how vim works. Please google for it. If it turns out too hard for too many i'll write the commands to use it here. To get this to work, the easiest way was to install a debian chroot. This means you're basicly running a debian environment on your qnap.
The chroot setup tutorial is based on nemozny wonderful tutorial on http://forum.qnap.com/viewtopic.php?f=91&t=20174&p=223728 I had to modify some steps of this tutorial as this will be harmful to your qnap if you do it as listed there. This is due to /opt/ that is mounted on a 32 mb ramfs, and not your harddisk. You'll just run out of space, and ipkg's will mess up. So i copied the full tutorial here with the needed modifications:
I made a share called "Storage" on my harddrive. You could name it anything you want. Just modify the paths accordingly.