$ svn log --xml | grep author | sort -u | perl -pe 's/.>(.?)<./$1 = /'手动设置对应关系 users.txt
| #!/bin/bash | |
| # install homebrew's official php tap | |
| brew tap josegonzalez/homebrew-php | |
| # install homebrew-dupes (required to install zlib, php54's dependency) | |
| brew tap homebrew/dupes | |
| # install nginx + mysql + php 5.4 + php-fpm + apc + xdebug | |
| brew install nginx mysql |
| /** | |
| * Copyright 2012 Akseli Palén. | |
| * Created 2012-07-15. | |
| * Licensed under the MIT license. | |
| * | |
| * <license> | |
| * Permission is hereby granted, free of charge, to any person obtaining | |
| * a copy of this software and associated documentation files | |
| * (the "Software"), to deal in the Software without restriction, | |
| * including without limitation the rights to use, copy, modify, merge, |
| require 'rubygems' | |
| require 'chinese_pinyin' | |
| name = [] | |
| cp = false | |
| def p(z) | |
| pinyin = Pinyin.t(z, '') | |
| pinyin[0] = pinyin[0].upcase | |
| pinyin |
| /* | |
| * A white-list based PAC without regexp, by @janlay | |
| * It's just simple and fast. | |
| * Last update: Oct 20, 2015 | |
| * Special thanks to @Paveo | |
| */ | |
| function FindProxyForURL(url, host) { | |
| // REPLACE PROXY WITH YOUR OWN'S | |
| var PROXY = "SOCKS 127.0.0.1:8801;SOCKS5 127.0.0.1:8801;PROXY 127.0.0.1:8800"; | |
| var BLACKHOLE = "127.0.0.2"; |
| net.core.wmem_max = 12582912 | |
| net.core.rmem_max = 12582912 | |
| net.ipv4.tcp_rmem = 10240 87380 12582912 | |
| net.ipv4.tcp_wmem = 10240 87380 12582912 | |
| net.ipv4.ip_local_port_range = 18000 65535 | |
| net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait = 1 | |
| net.ipv4.tcp_window_scaling = 1 | |
| net.ipv4.tcp_max_syn_backlog = 3240000 | |
| net.core.somaxconn = 3240000 | |
| net.ipv4.tcp_max_tw_buckets = 1440000 |
| var gulp = require('gulp'); | |
| var browserify = require('gulp-browserify'); | |
| var concat = require('gulp-concat'); | |
| var less = require('gulp-less'); | |
| var refresh = require('gulp-livereload'); | |
| var lr = require('tiny-lr'); | |
| var server = lr(); | |
| var minifyCSS = require('gulp-minify-css'); | |
| var embedlr = require('gulp-embedlr'); |
| #!/bin/bash | |
| # find all supermicro Java iKVM Viewer windows and resize | |
| # them to display all the content | |
| # | |
| # for reasons that are beyond sanity, this shitty closed source program | |
| # sets the min and max window sizes to the same values, making it unresizable | |
| # through dragging. | |
| # this wouldn't be so bad if it actually resized the window to display all | |
| # the content. it constantly resizes based on the resolution of the |