- ブラウザで簡単暗号ファイル/テキスト送信
- Githubの特定の拡張子のみレビュー
- staging用SSO
- Github tagからChange logを自動生成するサービス
- ブランチ切替時にRails再起動してくれるツール
- 提案資料まとめサイト
- togglとgit hook, chrome extentionの連携
- Google Document + Git(hub)
- Git(hub)を使えない人でもコラボレーションできる仕組み
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
# Install libraries | |
sudo yum update | |
sudo yum install git nginx | |
sudo service nginx start | |
# Install letsencrypt script | |
git clone https://github.com/letsencrypt/letsencrypt | |
cd letsencrypt | |
# Make request to Let's encrypt server |
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
r = Nginx::Request.new | |
Nginx.echo "Nginx::Var#http_host : #{r.var.http_host}" | |
Nginx.echo "Nginx::Var#http_user_agent : #{r.var.http_user_agent}" | |
Nginx.echo "Nginx::Var#http_referer : #{r.var.http_referer}" | |
Nginx.echo "Nginx::Var#http_via : #{r.var.http_via}" | |
Nginx.echo "Nginx::Var#http_x_forwarded_for : #{r.var.http_x_forwarded_for}" | |
Nginx.echo "Nginx::Var#http_cookie : #{r.var.http_cookie}" | |
Nginx.echo "Nginx::Var#content_length : #{r.var.content_length}" | |
Nginx.echo "Nginx::Var#content_type : #{r.var.content_type}" |
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
# Description: | |
# Example scripts for you to examine and try out. | |
# | |
# Notes: | |
# They are commented out by default, because most of them are pretty silly and | |
# wouldn't be useful and amusing enough for day to day huboting. | |
# Uncomment the ones you want to try and experiment with. | |
# | |
# These are from the scripting documentation: https://github.com/github/hubot/blob/master/docs/scripting.md |
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> | |
<devicevendordef> | |
<vendorname>FILCO_Bluetooth_Keyboard_VendorID</vendorname> | |
<vendorid>0x0a5c</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>FILCO_Bluetooth_Keyboard_ProductID</productname> | |
<productid>0x8502</productid> | |
</deviceproductdef> |
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
let res = Alamofire.request(.POST, "http://localhost:9200/twitter/tweet/_search?q=user:\(self.username)", parameters: nil, encoding: .JSON) | |
.responseJSON { (_, _, json, _) -> Void in | |
let sjson = JSON(json!) | |
if let hits = sjson["hits"]["hits"].array { | |
var tweets = [] as [String] | |
for subJson: JSON in hits { | |
println(subJson["_source"]["message"].string!) | |
tweets.append(subJson["_source"]["message"].string!) | |
} | |
block(tweets) |
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
... | |
alias ssh='~/bin/iterm2-set-background' | |
... |
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 "google-api-client", git: '[email protected]:google/google-api-ruby-client.git' |
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
# tady theme inspired by mh | |
# features: | |
# path is autoshortened to ~30 characters | |
# displays git status (if applicable in current folder) | |
# turns username green if superuser, otherwise it is white | |
# if superuser make the username green | |
if [ $UID -eq 0 ]; then NCOLOR="green"; else NCOLOR="white"; 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
<div class="header"> | |
<p class="logo"><a href="/">ロゴ</a></p> | |
<ul class="header_nav"> | |
<li><span class=""><i class=""></i>メニュー</span></li> | |
</ul> | |
<div class="menu"> | |
<ul> | |
<li><a class="menu_list_btn">メッセージ</a> | |
<ul class="menu_list"> | |
<li><%= link_to "AAAAA", aaaaa_path %></li> |