This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { "data" : { "all" : [ { "area" : "0", | |
| "areaName" : "全国", | |
| "key" : "taylor swift", | |
| "period" : "20110101|20140311", | |
| "ratio" : { "agv_m" : "6064", | |
| "agv_w" : "7079", | |
| "qoq_m" : "-17", | |
| "qoq_w" : "32", | |
| "yoy_m" : "-44", | |
| "yoy_w" : "-30" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 108.160.166.62 dropbox.com | |
| 108.160.166.62 www.dropbox.com | |
| 108.160.166.140 client-lb.dropbox.com | |
| 107.20.134.222 dl.dropbox.com | |
| 107.20.134.222 dl-web.dropbox.com | |
| 23.21.206.219 forums.dropbox.com | |
| 108.160.165.211 notify0.dropbox.com | |
| 108.160.165.211 notify1.dropbox.com | |
| 108.160.165.211 notify2.dropbox.com | |
| 108.160.165.211 notify3.dropbox.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>Switch Input Source</name> | |
| <appendix>Use the right Option key to select the next input source</appendix> | |
| <identifier>private.switch_input_source_with_right_option</identifier> | |
| <autogen>--KeyToKey-- KeyCode::OPTION_R, KeyCode::SPACE, ModifierFlag::OPTION_L</autogen> | |
| </item> | |
| <item> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [ `builtin type -p gsed` ]; then | |
| gsed -i 's/fonts.googleapis.com/fonts.useso.com/g' templates/head.tmpl | |
| gsed -i 's/ajax.googleapis.com/ajax.useso.com/g' templates/head.tmpl | |
| gsed -i 's/fonts.googleapis.com/fonts.useso.com/g' static/third_party/flatly/bootstrap.min.css | |
| else | |
| sed -i 's/fonts.googleapis.com/fonts.useso.com/g' templates/head.tmpl | |
| sed -i 's/ajax.googleapis.com/ajax.useso.com/g' templates/head.tmpl | |
| sed -i 's/fonts.googleapis.com/fonts.useso.com/g' static/third_party/flatly/bootstrap.min.css | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var util = require('util'); | |
| var events = require('events'); | |
| var redis = require('redis'); | |
| var RedisQueueConsumer = function (port, host) { | |
| events.EventEmitter.call(this); | |
| this.port = port || 6379; | |
| this.host = host || '127.0.0.1'; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host bitbucket.org | |
| Hostname bitbucket.org | |
| Port 22 | |
| User git | |
| ProxyCommand nc -x localhost:7070 %h %p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ZSH Theme by @cpojer | |
| PROMPT='[%{$fg[red]%}%n%{$fg[black]%}: %{$fg[blue]%}%~%{$reset_color%}\ | |
| $(git_prompt_info)\ | |
| %{$fg[black]%}%(!.#.]$)%{$reset_color%} ' | |
| PROMPT2='' | |
| RPS1='' | |
| ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%} %{$fg[yellow]%}(" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # urlmonitor - print out the URLs requested system wide on the main network interface | |
| # Accept a network interface name as an optional argument | |
| iface = ARGV.first | |
| # No interface specified? Try to guess which one is king.. | |
| unless iface | |
| `ifconfig -l`.split.each do |iface| | |
| next if iface =~ /^lo/ | |
| break if `ifconfig #{iface}` =~ /inet (0|1|2)/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'net/http' | |
| require 'uri' | |
| RIAK = ['localhost', 8098] | |
| run lambda { |env| | |
| req = Rack::Request.new(env) | |
| if req.post? && req.path == '/' | |
| res = Net::HTTP.new(*RIAK).start do |http| | |
| http.post('/riak/shrt', req.params['url'], { 'Content-Type' => 'text/plain' }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git remote add --track master upstream git://github.com/upstreamname/projectname.git |
OlderNewer