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
Plugin 'ctrlpvim/ctrlp.vim.git' | |
let g:ctrlp_show_hidden = 1 | |
let g:ctrlp_custom_ignore = { 'dir': '\v[\/](\.git|node_modules|rubygems|\.sass-cache|\.vagrant|bower_components|build|tmp|vendor|public.built)$' } | |
set wildignore+=.DS_Store | |
set wildignore+=*/node_modules/* | |
set wildignore+=*/bower_components/* |
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
winrm i LCWipe http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSystem+CreationClassName=DCIM_LCService+SystemName=DCIM:ComputerSystem+Name=DCIM:LCService -u:root -p:calvin -r:https://192.168.41.101/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic |
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
# create tmux session w/ a socket file | |
tmux -S /tmp/pairing new-session -s pairing | |
# open up permissions on the socket file | |
chmod 777 /tmp/pairing | |
# all users connect to tmux session using the socket | |
tmux -S /tmp/pairing attach-session -t pairing |
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
var _foo = 0; | |
async function foo() { | |
return new Promise(function (resolve) { | |
setTimeout(function () { | |
_foo++; | |
console.log(_foo); | |
resolve(_foo); | |
}, 1000); | |
}); | |
} |
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
{{- $markdown := .Inner | markdownify -}} | |
{{ if not ( findRE "<[h|p][^>]*>" $markdown ) }} | |
<p>{{ $markdown }}</p> | |
{{ else }} | |
{{ $markdown }} | |
{{ end }} |
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
smtp | |
authentication | |
TLS 1.2 encryption |
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
(log) { | |
log { | |
output stdout | |
format console | |
} | |
} |
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
(reverse_proxy_insecure) { | |
reverse_proxy * { | |
to {args.0} | |
transport http { | |
tls | |
tls_insecure_skip_verify | |
read_buffer 8192 | |
} | |
} | |
} |
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
# https://serverfault.com/a/575946/203448 | |
emergency_restart_threshold = 3 | |
emergency_restart_interval = 20s | |
process_control_timeout = 5s |
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
# /etc/mysql/mysql.conf.d/mysql.cnf | |
[mysqld] | |
sql_mode = ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |