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
#! /bin/sh | |
npm install --save-dev extract-text-webpack-plugin node-libs-browser file-loader sass-loader style-loader webpack copy-webpack-plugin babel-core babel-loader babel-preset-es2015 babel-preset-react react-autocomplete | |
npm install --save-dev [email protected] postcss-flexbugs-fixes autoprefixer react react-dom | |
npm install --save node-sass |
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
const webpack = require('webpack'); | |
const config = { | |
entry: './source/javascripts/app.js', | |
output: { | |
filename: 'bundle.js', | |
path: './source/javascripts' | |
}, |
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
MERGE (station:Station {name: '海岸1'}); | |
MERGE (station:Station {name: '海岸2'}); | |
MERGE (station:Station {name: '海岸3'}); | |
MERGE (station:Station {name: '山b'}); | |
MERGE (station:Station {name: '山c'}); | |
MERGE (station:Station {name: '山d'}); | |
MERGE (station:Station {name: '町C'}); | |
MERGE (station:Station {name: '海岸1'}); | |
MERGE (station:Station {name: '町A'}); | |
MERGE (station:Station {name: '町B'}); |
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
--- | |
swagger: "2.0" | |
info: | |
version: "2016-03-01T14:43:03Z" | |
title: "ifconfig" | |
host: "IFCONFIGEXAMPLE.execute-api.ap-northeast-1.amazonaws.com" | |
basePath: "/prod" | |
schemes: | |
- "https" | |
paths: |
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
#! /bin/sh | |
############################### | |
# setup script for CentOS7 | |
# - Run as root | |
# - Don't forget to set $USER | |
# export USER=hoge | |
############################### | |
if [ "${ADMINUSER-undefined}" = "undefined" ]; then |
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
#----------------------------------------------- | |
# 普通の設定 | |
#----------------------------------------------- | |
# 表示をUTF-8に変更 | |
#set-window-option -g utf8 on | |
setw -g utf8 on | |
set -g status-utf8 on | |
# ESCキーのdelayを0にする(vim用) | |
set -s escape-time 0 | |
# window内の選ばれたプロセスにリネームするのを無効にする |
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
NSString *FBTokenInformationExpirationDateKey = @""; | |
NSString *FBTokenInformationTokenKey = @""; | |
NSString *FBTokenInformationUserFBIDKey = @""; | |
@interface FBAppCall:NSObject | |
@end | |
@implementation FBAppCall | |
@end | |
@interface FBRequest:NSObject | |
@end | |
@implementation FBRequest |
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
Dir.glob(["**/*.h", "**/*.m"]) do |f| | |
cmd = "expand -t4 #{f} > #{f}.tmp && mv #{f}.tmp #{f}" | |
#p cmd | |
`#{cmd}` | |
end |
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
gem 'ripple', "~>1.0.0.beta2" |
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
:%S/clearfix/control-group/gc | |
:%S/class="input"/class="controls"/gc | |
:%S/(f.label.*)\s%>/\1, :class => 'control-label' %>/gc |