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 | |
set nobackup | |
set hidden | |
set history=100 | |
filetype plugin indent on | |
scriptencoding utf-8 | |
autocmd! | |
set backspace=indent,eol,start | |
" indent |
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
escape ^Tt | |
startup_message off | |
vbell off | |
autodetach on | |
defencoding utf-8 | |
encoding utf-8 utf-8 | |
hardstatus alwayslastline "%{= wk} %-w%{=bu dg}%n %t%{-}%+w %= %{=b wb}%y/%m/%d %{=b wb}%c" | |
shelltitle "$ |bash" | |
bind r eval 'echo "Resize window"' 'command -c resize' |
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 | |
set hidden | |
set nobackup | |
set history=100 | |
filetype plugin indent on | |
scriptencoding utf-8 | |
autocmd! | |
set tabstop=4 softtabstop=4 shiftwidth=4 | |
autocmd FileType ruby setlocal tabstop=2 softtabstop=2 shiftwidth=2 |
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
var NameSpace = (function(){ | |
var private_method = function(){ | |
alert("private"); | |
} | |
var public_method = function(){ | |
private_method(); | |
} | |
return { | |
public_method: public_method | |
} |
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
var APP = {}; | |
APP.data = (function(){ | |
var data = {}; | |
var exports = {}; | |
var getData = function(key) { | |
return data[key]; | |
}; | |
exports.getData = getData; |
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 'singleton' | |
require 'yaml' | |
require 'rubygems' | |
require 'active_support/core_ext' | |
module SomeModule | |
module Config | |
def self.included(klass) | |
klass.extend ClassMethods | |
end |
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
# rvm use xxx するたびきりかわってよくない | |
current_gems_sym_path="${HOME}/.current_gems" | |
current_gems_path="${rvm_path}/gems/${rvm_ruby_string}/gems" | |
if [[ -L $current_gems_sym_path ]] ; then | |
rm $current_gems_sym_path | |
elif [[ -f "${current_gems_sym_path}" ]] ; then | |
echo "${current_gems_sym_path} exist!" | |
return |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix("http://ameblo.jp/oshima-y/entry"), | |
url-prefix("http://ameblo.jp/oshima-y/page"), | |
url-prefix("http://ameblo.jp/oshima-y/theme"), | |
url("http://ameblo.jp/oshima-y"), | |
url("http://ameblo.jp/oshima-y/") { | |
#amebaBar, | |
#profile, | |
#calendar, |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix("http://blog.oricon.co.jp/no3b/") { | |
#links-left, | |
#links, | |
.adView, | |
table[background$="blog_header_bg.jpg"], | |
div[style] { | |
display: none !important; | |
} |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix("http://ameblo.jp/atsuko-maeda") { | |
#amebaBar, | |
#message, | |
#advertising3, | |
#footer_ad_official, | |
#sub_a, | |
#themeBox, | |
#exLinkBtn, |
OlderNewer