Skip to content

Instantly share code, notes, and snippets.

View dotku's full-sized avatar
🧐
I'm busy... I may be slow to respond.

Weijing Jay Lin dotku

🧐
I'm busy... I may be slow to respond.
  • Meta
  • San Francisco, CA, USA
  • 12:15 (UTC -12:00)
View GitHub Profile

Common Docker Commands

  1. Create Docker Container from image

    docker run -it -d --rm --name CONTAINER_NAME IMAGE_NAME

  2. Check container running status

    docker ps

@dotku
dotku / mac-httpd.md
Last active July 19, 2019 22:01
A note for mac http setup

Common Used Command

// check module status
httpd -M 

// test apache config
apachectl configtest

// restart apache service
@dotku
dotku / ubuntu-php.md
Last active June 26, 2019 03:57
ubuntu common used command

# Ubuntu 默认下无法支持 mysql 升级到最高版本,需要通过 ppa 库(据说是 Debian 的)来升级程序

sudo add-apt-repository ppa:nijel/phpmyadmin
sudo apt-get update

sudo apt-get install php5-mysqlnd

  1. You need restart your system after install a foreign input method.
# Bookmarks
## Freedies
- glitch.com
- github.com