Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

jerry lau Jerry-Lau

🎯
Focusing
View GitHub Profile
@Jerry-Lau
Jerry-Lau / .bash_profile
Created Feb 10, 2020 — forked from jonsuh/.bash_profile
Bash echo in color
View .bash_profile
# ----------------------------------
# Colors
# ----------------------------------
NOCOLOR='\033[0m'
RED='\033[0;31m'
GREEN='\033[0;32m'
ORANGE='\033[0;33m'
BLUE='\033[0;34m'
PURPLE='\033[0;35m'
CYAN='\033[0;36m'
@Jerry-Lau
Jerry-Lau / curl.md
Created Jan 28, 2018 — forked from subfuzion/curl.md
curl POST examples
View curl.md

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@Jerry-Lau
Jerry-Lau / centos6.5_nginx
Created Nov 23, 2015 — forked from ifels/centos6.5_nginx
centos 6.5 nginx安装与配置
View centos6.5_nginx
第一步,在/etc/yum.repos.d/目录下创建一个源配置文件nginx.repo:
cd /etc/yum.repos.d/
vim nginx.repo
填写如下内容:
[nginx]
name=nginx repo
@Jerry-Lau
Jerry-Lau / README.md
Created Nov 11, 2015 — forked from agnoster/README.md
My ZSH Theme
View README.md

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

You can’t perform that action at this time.