test of http-proxy-middleware
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
{ | |
"editor.fontFamily": "Dank Mono, Menlo, 'Source Code Pro'", | |
"editor.fontSize": 13, | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
"comment", | |
], | |
"settings": { |
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
FROM busybox | |
ENTRYPOINT ["/bin/cat"] | |
CMD ["/etc/passwd"] |
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
source 'https://rubygems.org' | |
gem 'multi_json' | |
gem 'yajl-ruby' | |
gem 'json' | |
gem 'oj' |
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
// ==UserScript== | |
// @name Last.fm Download Helper | |
// @namespace http://d.hatena.ne.jp/bannyan/ | |
// @description It helps you Last.fm free download easily. | |
// @include http://*last.fm/* | |
// @include http://www.lastfm.jp/* | |
// ==/UserScript== | |
// Configure |
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
<?php | |
/** | |
* @dependency Zend/Json.php - http://framework.zend.com/ | |
* | |
* This file is modifying JSON-RPC PHP which depends on `Zend/Json.php`. | |
* The original file - http://jsonrpcphp.org/ | |
*/ | |
require_once('Zend/Json.php'); |
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
# Worked under these envelopment | |
# | |
# AMI: amzn-ami-pv-2012.09.0.x86_64-ebs (ami-4e6cd34f) | |
# Zone: ap-northeast-1b | |
# Type: m1.large | |
# | |
# CentOS phpenv (https://github.com/CHH/phpenv) system wide installation script | |
# Execute as root user. | |
# Set group to use phpenv: |
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
/** | |
* jquery.disableDoubleSubmit | |
* | |
* @description When submit, the element will be disabled and show loading image. | |
* @author http://d.hatena.ne.jp/bannyan/ | |
* @license The MIT License | |
* @version 1.0 | |
* @link http://gist.github.com/473424 | |
* | |
* @usage |
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
# 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}") |
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
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 |
NewerOlder