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
# taken from http://coalgirls.wakku.to/faq/playback/compiling-mpv-on-mac-os-x | |
# install homebrew | |
# setup | |
sudo easy_install docutils | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
# install python3 |
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
--- php.ini.default 2016-09-07 01:39:57.000000000 +0200 | |
+++ php.ini 2016-10-27 09:37:27.000000000 +0200 | |
@@ -446,7 +446,7 @@ | |
; Development Value: E_ALL | |
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT | |
; http://php.net/error-reporting | |
-error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT | |
+error_reporting = E_ALL | |
; This directive controls whether or not and where PHP will output errors, |
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 | |
# =============================================== | |
# FreeBSD-10.2 server setup | |
# =============================================== | |
# Update | |
freebsd-update fetch | |
freebsd-update install |
pyenv global
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
[beets] | |
directory: /Volumes/Music/ | |
library: ~/Music/MusicLibrary.blb | |
path_format: $artist/$year $album/$track $title | |
import_copy: yes | |
import_write: yes | |
import_delete: no | |
import_resume: ask | |
import_art: yes | |
import_quiet_fallback: skip |
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 |