Skip to content

Instantly share code, notes, and snippets.

View andrewweaver's full-sized avatar

Andrew Weaver andrewweaver

  • Sentz Consulting LLC.
  • Pennsylvania
View GitHub Profile
@andrewweaver
andrewweaver / kryl.cfg
Created February 19, 2021 02:51
CSGO Config
unbindall
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "a" "+moveleft"
bind "b" "buymenu"
bind "c" "slot8"
bind "d" "+moveright"
@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE