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
[remote "all"] | |
url = first@git.url | |
fetch = +refs/heads/*:refs/remotes/all/* | |
url = second@git.url |
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
.sass-cache | |
.idea | |
.elasticbeanstalk | |
yusuf-local | |
node_modules | |
# Compiled source # | |
################### | |
*.com | |
*.class |
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
description "Syncthing P2P sync service" | |
start on (local-filesystems and net-device-up IFACE!=lo) | |
stop on runlevel [!2345] | |
env STNORESTART=yes | |
env HOME=/home/demouser | |
setuid "demouser" | |
setgid "demouser" |
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
"C:\Program Files\Oracle\VirtualBox\VBoxHeadless" -startvm "ubuntu-webserver-11.04-64" -p 3340 |
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
server { | |
listen 80; | |
server_name some.server.name; | |
root /home/ubuntu/websites/rutorrent; | |
index index.html index.htm index.php; | |
location / { | |
try_files $uri $uri/ =404; | |
allow 10.9.0.0/24; |
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
cgi.fix_pathinfo = 0; | |
realpath_cache_size = 256k; | |
realpath_cache_ttl = 300; | |
max_execution_time = 120; | |
max_input_time = 120; | |
memory_limit = 192M; | |
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT | |
post_max_size = 30M | |
upload_max_filesize = 30M | |
date.timezone = Australia/Sydney |
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
description "Run a persistent rtorrent within screen" | |
start on (local-filesystems and net-device-up IFACE!=lo) | |
stop on runlevel [!2345] | |
env LANG=en_US.utf8 | |
env HOME=/home/ubuntu | |
setuid ubuntu | |
setgid ubuntu |
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
# btsync - Bittorent Sync | |
description "btsync - Keep Bittorent Sync running" | |
start on filesystem | |
stop on shutdown | |
respawn | |
expect fork | |
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
#!/bin/bash | |
#Bridge config | |
#for f in /proc/sys/net/bridge/bridge-nf-*; do echo 0 > $f; done | |
#Flush all before applying new rules | |
iptables -F | |
iptables -t nat -F | |
iptables -t mangle -F | |
iptables -X |
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
#!/bin/bash | |
# | |
# A script to fix file permissions in the given | |
# files directory for drupal | |
# | |
# Usage: | |
# - set files directory variable to point at the files | |
# drupal installation files directory | |
# - run script |
OlderNewer