Skip to content

Instantly share code, notes, and snippets.

Avatar

Juan Karlo de Guzman ItsAdventureTime

View GitHub Profile
@ItsAdventureTime
ItsAdventureTime / .rtorrent.rc
Created Aug 8, 2014
This an optimized version of the rTorrent configuration file.
View .rtorrent.rc
#
#
# The Seedbox From Scratch Script
# By Notos ---> https://github.com/Notos/
#
#
######################################################################
#
# Copyright (c) 2013 Notos (https://github.com/Notos/)
#
@ItsAdventureTime
ItsAdventureTime / uninstall_office_2016.sh
Created Jul 19, 2017 — forked from pirafrank/uninstall_office_2016.sh
Uninstall Office 2016 from OS X completely
View uninstall_office_2016.sh
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo -e "
ROOT PRIVILEDGES NEEDED!
You have to run this script as root.
Aborting...
"
exit 1
else
@ItsAdventureTime
ItsAdventureTime / ublock-origin_whitelist
Last active May 25, 2016
A list of host names for which uBlock₀ will be disabled.
View ublock-origin_whitelist
163.172.28.198
about-scheme
agar.io
behind-the-scene
box.com
chrome-extension-scheme
chrome-scheme
digitalocean.com
docs.google.com
drive.google.com
View my-ublock-backup_5-25-2016,_12-36-53_PM.txt
{
"timeStamp": 1464151013091,
"version": "1.7.2",
"userSettings": {
"advancedUserEnabled": true,
"autoUpdate": true,
"cloudStorageEnabled": true,
"collapseBlocked": true,
"colorBlindFriendly": false,
"contextMenuEnabled": true,
@ItsAdventureTime
ItsAdventureTime / Google-Chrome_Extensions_OSX.md
Last active Apr 26, 2016
Google Chrome for OS X list of extensions.
View Google-Chrome_Extensions_OSX.md

Generated: Tue, 26 Apr 2016 03:22:54 GMT User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36

Extensions: 23

View Google-Chrome_Extensions.md

Generated: Thu, 14 Apr 2016 14:35:50 GMT User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

Extensions: 12

@ItsAdventureTime
ItsAdventureTime / letsencrypt.md
Created Apr 12, 2016 — forked from xrstf/letsencrypt.md
Let's Encrypt on Ubuntu 14.04, nginx with webroot auth
View letsencrypt.md

Let's Encrypt on Ubuntu 14.04, nginx with webroot auth

This document details how I setup LE on my server. Firstly, install the client as described on http://letsencrypt.readthedocs.org/en/latest/using.html and make sure you can execute it. I put it in /root/letsencrypt.

As it is not possible to change the ports used for the standalone authenticator and I already have a nginx running on port 80/443, I opted to use the webroot method for each of my domains (note that LE does not issue wildcard certificates by design, so you probably want to get a cert for www.example.com and example.com).

Configuration

For this, I placed config files into etc/letsencrypt/configs, named after <domain>.conf. The files are simple:

@ItsAdventureTime
ItsAdventureTime / default
Created Apr 12, 2016 — forked from ghalusa/default
nginx default configuration file (ubuntu path: /etc/nginx/sites-available/default) with conversions of .htaccess environment variables and mod_rewrite logic, along with parameters supporting a fastcgi-based php setup
View default
server {
listen 80;
root /var/www/YOUR_DIRECTORY;
index index.php index.html index.htm;
###################################################
# Change "yoururl.com" to your host name
server_name yoururl.com;
@ItsAdventureTime
ItsAdventureTime / .rtorrent.rc
Created Apr 11, 2016 — forked from bryanjswift/.rtorrent.rc
rtorrent configuration file with description
View .rtorrent.rc
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
# Maximum and minimum number of peers to connect to per torrent.
min_peers = 1
max_peers = 100
# Same as above but for seeding completed torrents (-1 = same as downloading)
View wheezy.preseed
#### Contents of the preconfiguration file (for wheezy)
### Localization
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/keymap select us
d-i keymap select us
### Network configuration
d-i netcfg/choose_interface select auto
### Mirror settings