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
# SBB | |
nameserver 89.216.1.30 | |
nameserver 89.216.1.50 | |
nameserver 8.8.8.8 | |
nameserver 8.8.4.4 | |
# OpenDNS | |
nameserver 208.67.222.222 |
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
# Source | |
# http://www.macgasm.net/2013/01/18/good-morning-your-mac-keeps-a-log-of-all-your-downloads/ | |
# http://lifehacker.com/your-mac-logs-everything-you-download-heres-how-to-cle-1658394180 | |
# SELECT | |
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent' | |
# DELETE | |
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent' |
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
# | |
# Source | |
# http://apple.stackexchange.com/questions/146849/how-do-i-recompile-bash-to-avoid-the-remote-exploit-cve-2014-6271/146851#146851 | |
# | |
# Test for vulnerablity | |
# $ env x='() { :;}; echo vulnerable' bash -c 'echo hello' | |
# If you want to disable auto-imported functions, uncomment the following | |
# export ADD_IMPORT_FUNCTIONS_PATCH=YES |
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 | |
# Vagrant CentOS6 boxes | |
# CentOS 6.4 x64 https://github.com/2creatives/vagrant-centos/releases/download/v6.4.2/centos64-x86_64-20140116.box | |
# CentOS 6.5 x64 https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box | |
# Update | |
sudo yum -y update | |
# Add Development tools |
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/sh | |
#### | |
# Documentation | |
# http://docs.getpelican.com/en/3.4.0/importer.html#import | |
# https://wiki.archlinux.org/index.php/Haskell#Haskell_platform | |
#### | |
# =Setup | |
pyvenv ./env |
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
# | |
# mpv configuration file | |
# | |
# See the CONFIGURATION FILES section in the man page | |
# for a detailed description of the syntax. | |
# | |
# Profiles should be placed at the bottom of the configuration file to ensure | |
# that settings wanted as defaults are not restricted to specific profiles. | |
# | |
# Note that the commented example options usually do _not_ set the default |
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 | |
# Update and upgrade packages | |
sudo apt-get update && sudo apt-get upgrade | |
# Install postgres 9.3 | |
sudo apt-get install postgresql-9.3 postgresql-server-dev-9.3 postgresql-contrib-9.3 | |
# Having Postgres 9.2 already, this will create database instance configured to run on port 5433 |
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
bower | |
coffeelint | |
csslint | |
grunt | |
gulp | |
jshint | |
npm | |
uglify-js |
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
" | |
" Minimal .vimrc for server setup | |
" | |
set nocompatible | |
set autoindent | |
set smartindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set showmatch | |
set vb t_vb= |
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 | |
### BEGIN INIT INFO | |
# Provides: unicorn | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the unicorn web server | |
# Description: starts unicorn |