Skip to content

Instantly share code, notes, and snippets.

View appleshan's full-sized avatar
🏠
Working from home

Programmer Alan appleshan

🏠
Working from home
View GitHub Profile
@appleshan
appleshan / git.md
Created March 2, 2018 07:55 — forked from suziewong/git.md
github的多人协作?how to 贡献代码?

github的多人协作

  1. github上你可以用别人的现成的代码 直接 git clone 即可了

  2. 然后你也想改代码或者贡献代码咋办?

Fork

@appleshan
appleshan / gist:24f30cfeff8cccc1b26cb45c372949c2
Created February 8, 2018 02:40 — forked from baepiff/gist:3431336
Remove log file script
#!/bin/bash
LOG_DIR="/usr/local/app/*/logs"
#old log erase
find ${LOG_DIR} -type f -name "myAllipcation*" -mtime +31 | xargs rm -f
find ${LOG_DIR} -type f -name "gc.log*" -mtime +31 | xargs rm -f
@appleshan
appleshan / socks.el
Created December 22, 2017 10:09 — forked from et2010/socks.el
socks proxy settings for emacs url package.
(setq url-gateway-method 'socks)
(setq socks-server '("Default server" "127.0.0.1" 1080 5))