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
ATTRIB +H /s /d C:\.* |
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
git rm -r --cached . | |
git add . | |
git commit -am "Remove ignored files" |
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
git config --global core.autocrlf true | |
git rm --cached -r . | |
git diff --cached --name-only -z | xargs -0 git add | |
git commit -m "Fix CRLF" |
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
write-host "checking..." | |
# check for apache | |
$apache = scoop which httpd | |
if($lastexitcode -ne 0) { 'Apache isn''t installed. run ''scoop install apache'''; return } | |
# check for php | |
$php = scoop which php | |
if($lastexitcode -ne 0) { 'PHP isn''t installed. run ''scoop install php'''; return } |
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 | |
host=$1 | |
user=$2 | |
password=$3 | |
folder=$4 | |
filter='' | |
if [ -n "$5" ]; then | |
filter=" like '$5'" |
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 | |
# Clone all github.com repositories for a specified user/organization. | |
if [ $# -eq 0 ] | |
then | |
echo "Usage: $0 <type>(me|users|orgs) <user_name>" | |
exit; | |
fi |
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 | |
folder=$1 | |
for entry in `ls $folder` | |
do | |
database=${entry/.sql/} | |
echo "$database" | |
# docker exec -i mysql57 | |
mysql -uroot -proot -e "drop database if exists $database;create database $database" |
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
// -novid -nojoy -high -tickrate 128 -language bananagaming +exec autoexec.cfg | |
// -allow_third_party_software | |
// logaddress_add 1 | |
// demo_index 1 | |
// tv_snapshotrate 128 | |
// tv_snapshotrate1 128 | |
// incrementvar cl_crosshairsize 1.5 4000 3996 | |
// voice_player_volume | |
alias "q" "quit" |
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
// -allow_third_party_software +exec autoexec.cfg | |
alias "q" "quit" | |
alias "d" "disconnect" | |
alias "rr" "retry" | |
alias "c" "clear" | |
alias "+bang" "slot7; +lookatweapon" | |
alias "-bang" "-lookatweapon" | |
bind "z" "+bang" |