The file page.st goes in the templates/ directory in the Gitit wiki home directory. You'll put the Ace JavaScript and CSS files in static/.
This file contains hidden or 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
| apt-get install python-dev libevent-dev python-flask | |
| git clone https://github.com/TkTech/notifico | |
| cd notifico | |
| python setup.py install | |
| # reg an app @ https://github.com/settings/applications/new | |
| vim notifo/config.py | |
| python -m notifico www --host=stuff.pwn.sk --port=7891 |
This file contains hidden or 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
| # http://sayakb.github.io/sticky-notes/pages/install/ | |
| # https://github.com/sayakb/sticky-notes | |
| mkdir /var/www/paste && cd /var/www/paste.domain.tld && git clone https://github.com/sayakb/sticky-notes.git . | |
| chown -Rv www-data:www-data /var/www/paste | |
| cp stickynotes_nginx.conf /etc/nginx/sites-enabled/paste.domain.tld | |
| ln -s /etc/nginx/sites-available/paste.domain.tld /etc/nginx/sites-enabled/. | |
| /etc/init.d/nginx reload | |
| cd /var/www/paste.domain.tld/app/config | |
| mv database.sample.php database.php |
This file contains hidden or 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
| #!/usr/bin/python | |
| # This is a simple script to convert a very limited set of MoinMoin wiki syntax | |
| #to markdown. I am using it in my migration from MoinMoin to a gitit+markdown | |
| #wiki. | |
| DO_GIT = False | |
| #DISABLED#DO_GIT = True | |
| import os | |
| import re | |
| REPLACEMENTS = ( | |
| ("(./)", "[x]"), |
This file contains hidden or 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
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
Ad-free time!, UnoTelly etc. services provide a nice way to unblock regions for Netflix and others using their custom DNS servers.
But I don't want to direct all my DNS traffic to them and I'm too lazy to manually configure all my devices (phones, tablets, media center boxes etc.). So here's how to transparently unblock Netflix for all your devices using the [Asuswrt Merlin][merlin] firmware. It's a custom router firmware which can be used on the Asus RT-N66U router for example.
Enable JFFS partition and SSH login from http://<ROUTER-IP>/Advanced_System_Content.asp
OlderNewer