Skip to content

Instantly share code, notes, and snippets.

View renakim's full-sized avatar
🐱

YI Kim renakim

🐱
View GitHub Profile
@renakim
renakim / WiFiCheck
Created June 30, 2022 01:28 — forked from mharizanov/WiFiCheck
Script to check and re-connect WiFi on Raspberry Pi
#!/bin/bash
##################################################################
# A Project of TNET Services, Inc
#
# Title: WiFi_Check
# Author: Kevin Reed (Dweeber)
# [email protected]
# Project: Raspberry Pi Stuff
#
# Copyright: Copyright (c) 2012 Kevin Reed <[email protected]>
@renakim
renakim / mysql-docker.sh
Created March 5, 2019 00:39 — forked from spalladino/mysql-docker.sh
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