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 ruby:2.4.1-alpine | |
| ENV RAILS_ROOT /opt/app | |
| RUN mkdir -p $RAILS_ROOT | |
| WORKDIR $RAILS_ROOT | |
| RUN set -x \ | |
| && apk upgrade --no-cache \ | |
| && apk add --no-cache --virtual build-dependencies \ | |
| less \ |
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
| "" CtrlP with current filename | |
| command! -nargs=0 CtrlPSwitcher call s:ctrlp_switcher() | |
| function! s:ctrlp_switcher() | |
| try | |
| let default_input_save = get(g:, 'ctrlp_default_input', '') | |
| let g:ctrlp_default_input = expand('%:t:r') | |
| call ctrlp#init(g:ctrlp_builtins) | |
| finally | |
| if exists('default_input_save') |
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 'open-uri' | |
| require 'yaml' | |
| open('https://raw.githubusercontent.com/flada-auxv/refactored-bassoon/master/config/image_urls.yml') {|f| | |
| YAML.load(f).each_with_index{|u,i| | |
| open("#{i}.jpg", 'w') {|f| | |
| f.write open(u).read | |
| } | |
| } | |
| } |
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
| [user] | |
| name = Koichi TANAKA | |
| email = [email protected] | |
| [core] | |
| excludesfile = ~/.gitignore | |
| [init] | |
| templatedir = /Users/tanaka51/.git_templates | |
| [ghq] | |
| root = /Users/tanaka51/src | |
| [alias] |
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" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>AdjustWindowForFontSizeChange</key> | |
| <true/> | |
| <key>AllowClipboardAccess</key> | |
| <true/> | |
| <key>AnimateDimming</key> | |
| <false/> |
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
| set nocompatible | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| Plugin 'altercation/vim-colors-solarized' | |
| Plugin 'bronson/vim-trailing-whitespace' | |
| Plugin 'ctrlpvim/ctrlp.vim' | |
| Plugin 'glidenote/memolist.vim' |
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
| # mode | |
| set -g mode-keys vi | |
| bind -t vi-copy 'v' begin-selection | |
| bind -t vi-copy 'y' copy-selection | |
| # default shell | |
| set -g default-shell /usr/local/bin/zsh | |
| # prefix | |
| set -g prefix C-z |
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
| export LANG=ja_JP.UTF-8 | |
| export EDITOR=vim | |
| export TERM='screen-256color' | |
| HISTFILE=$HOME/.zsh-history | |
| HISTSIZE=100000 | |
| SAVEHIST=100000 | |
| bindkey -e |
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
| gulp = require 'gulp' | |
| util = require 'gulp-util' | |
| coffee = require 'gulp-coffee' | |
| sass = require 'gulp-sass' | |
| slim = require 'gulp-slim' | |
| plumber = require 'gulp-plumber' | |
| COFFEE_FILES = './src/coffee/**/*.coffee' | |
| gulp.task 'coffee', -> |
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
| gulp = require 'gulp' | |
| util = require 'gulp-util' | |
| source = require 'vinyl-source-stream' | |
| browserify = require 'browserify' | |
| watchify = require 'watchify' | |
| gulp.task 'watch', -> | |
| bundler = watchify browserify | |
| entries: ['./src/index.coffee'] | |
| extensions: ['coffee'] |
NewerOlder