test of http-proxy-middleware
View Dockerfile
This file contains 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
FROM busybox | |
ENTRYPOINT ["/bin/cat"] | |
CMD ["/etc/passwd"] |
View settings.json
This file contains 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
{ | |
"editor.fontFamily": "Dank Mono, Menlo, 'Source Code Pro'", | |
"editor.fontSize": 13, | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
"comment", | |
], | |
"settings": { |
View log.md
> node-sass@1.1.0 install /jenkins/workspace/Tutor Client (deploy to edge)/node_modules/sass-brunch/node_modules/node-sass
> node build.js
`linux-x64-v8-3.14` exists; testing
make: Entering directory `/jenkins/workspace/Tutor Client (deploy to edge)/node_modules/sass-brunch/node_modules/node-sass/build'
CXX(target) Release/obj.target/binding/binding.o
cc1plus: error: unrecognized command line option ‘-std=c++11’
cc1plus: error: unrecognized command line option ‘-std=c++11’
make: *** [Release/obj.target/binding/binding.o] Error 1
View react-overview.md
React Overview
Why did we build React?
- React isn't an MVC framework.
- React doesn't use templates.
It's used by
View Gemfile
This file contains 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
source 'https://rubygems.org' | |
gem 'multi_json' | |
gem 'yajl-ruby' | |
gem 'json' | |
gem 'oj' |
View papertrail-settings-for-rails4.rb
This file contains 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
# config/environments/production.rb | |
# Be sure to add remote_syslog_logger to Gemfile | |
config.after_initialize do | |
if ENV["SYSLOG_URL"] | |
require "remote_syslog_logger" | |
require "uri" | |
url = URI.parse(ENV["SYSLOG_URL"]) | |
logger = RemoteSyslogLogger.new(url.host, url.port, program: "#{url.path[1..-1]}-#{Rails.env}") |
View post-commit
This file contains 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
systemsetup -getusingnetworktime | grep On >/dev/null 2>&1 | |
if [ $? -ne 0 ]; then | |
systemsetup -setusingnetworktime on | |
echo "Hi, bring back to now from a future." | |
sleep 1 | |
git commit -C HEAD --amend --date="`LANG=en date`" | |
fi |
View update-irc-hooks-events.rb
This file contains 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
#!/usr/bin/env ruby | |
require 'pit' | |
require 'octokit' | |
slug = ARGV[0] | |
unless slug | |
abort "Usage #{$0} slug" | |
end |
View gist:6778539
This file contains 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
basic_201310, 993485 | |
basic_201310, 328750 | |
basic_201310, 546413 | |
basic_201310, 704981 | |
basic_201310, 167810 | |
basic_201310, 303238 | |
basic_201310, 797833 | |
basic_201310, 121456 | |
basic_201310, 092737 | |
basic_201310, 490033 |
NewerOlder