Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
function installBrew(){
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap homebrew/cask
brew install brew-cask
}
function installChrome(){
brew cask install google-chrome
#!/usr/bin/env bash
OPENSSL_VERSION="openssl-1.1.0h"
# wget http://nginx.org/download/nginx-1.13.12.tar.gz .
NGINX_VERSION="nginx-1.13.12"
# 旧版的 nginx 路径
OLD_NGINX_PATH="${HOME}/nginx/nginx-1.2.2"
BASE_DIR="${HOME}/nginx"
#!/usr/bin/env bash
sudo apt-get update -y
sudo apt-get install libpcre3-dev libssl-dev perl make build-essential curl wget -y
OPENSSL_VERSION="openssl-1.1.0h"
OPENRESTY_VERSION="openresty-1.13.6.2"
BASE_DIR="${HOME}/nginx"
OPENRESTY_PATH=${BASE_DIR}/${OPENRESTY_VERSION}
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<!-- 控制台输出 -->
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
<Pattern>%-10(%C{40}.%M %L) [%date{yyyy-MM-dd HH:mm:ss}] [%level]: %m%ex%n</Pattern>
</layout>
</appender>
<root level="info">
<appender-ref ref="STDOUT"/>
Nginx:
aptitude -y install build-essential libc6 libpcre3 libpcre3-dev libpcrecpp0 libssl0.9.8 libssl-dev zlib1g zlib1g-dev lsb-base
@emacsist
emacsist / mac-emacs-chinese-font.md
Created December 5, 2015 16:36 — forked from liuyix/mac-emacs-chinese-font.md
mac emacs 字体设置