Skip to content

Instantly share code, notes, and snippets.

View teamsoo's full-sized avatar
💭
Into the Wild

Phakin Cheangkrachange teamsoo

💭
Into the Wild
View GitHub Profile
@teamsoo
teamsoo / mysql-docker.sh
Created December 16, 2019 10:58 — 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
@teamsoo
teamsoo / README.md
Created March 10, 2018 02:44 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@teamsoo
teamsoo / GoogleMapDownloader.py
Created February 12, 2018 07:41 — forked from sebastianleonte/GoogleMapDownloader.py
A python script to download high resolution Google map images given a longitude, latitude and zoom level. (Works with Python 3)
#!/usr/bin/python
# GoogleMapDownloader.py
# Created by Hayden Eskriett [http://eskriett.com]
#
# A script which when given a longitude, latitude and zoom level downloads a
# high resolution google map
# Find the associated blog post at: http://blog.eskriett.com/2013/07/19/downloading-google-maps/
import urllib.request
from PIL import Image
@teamsoo
teamsoo / bash-cheatsheet.sh
Created April 30, 2017 14:26 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04