$ brew update
$ brew upgrade rbenv
$ cd ~/.rbenv/plugins/ruby-build
$ git pull
/* 6 selectors */ | |
.a, .a .b, .a .b .c { | |
color: red; | |
} | |
.a, .a .b, .a .b .c { | |
font-size: 10px; | |
} |
require 'rubygems' | |
require 'sinatra' | |
set :public_folder, File.dirname(__FILE__) + '/' | |
get('/') { open('index.html').read } | |
run Sinatra::Application |
% cd $HOME/Library/Application\ Support
% mv Sublime\ Text\ 2 $HOME/Dropbox/dotfiles/apps/Sublime\ Text\ 2/Application\ Support
% ln -s ~/Dropbox/dotfiles/apps/Sublime\ Text\ 2/Application\ Support/ Sublime\ Text\ 2
(via) https://speakerdeck.com/kentaro/sublime-text-2-for-emacsers
http://brandonmathis.com/projects/fancy-buttons/
https://github.com/imathis/fancy-buttons
gem 'compass-rails', '~> 1.0.3'
gem 'fancy-buttons', '~> 1.2.0'
group :assets do
gem 'sass', '>= 3.2.1'
"------------------------------------ | |
" vim-rails.vim | |
"------------------------------------ | |
""{{{ | |
"有効化 | |
let g:rails_some_option = 1 | |
let g:rails_level = 4 | |
let g:rails_syntax = 1 | |
let g:rails_statusline = 1 | |
let g:rails_url='http://localhost:3000' |
"---------------------------------------- | |
" vim-ref | |
"---------------------------------------- | |
"{{{ | |
let g:ref_use_vimproc = 1 | |
let g:ref_open = 'split' | |
let g:ref_cache_dir = expand('~/.Trash') | |
" PATHを設定する | |
let g:ref_refe_cmd = expand('~/.vim/ref/ruby-ref1.9.2/refe-1_9_2') |
!!! | |
/[if lt IE 7] <html class="ie6" lang="ja"> | |
/[if IE 7] <html class="ie7" lang="ja"> | |
/[if IE 8] <html class="ie8" lang="ja"> | |
<!--[if gt IE 8]><!--> | |
%html{lang: "ja"} | |
<!--<![endif]--> | |
%head | |
%meta{:charset => "utf-8"}/ | |
%meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/ |
/* | |
* HTML5 ✰ Boilerplate | |
* | |
* What follows is the result of much research on cross-browser styling. | |
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, | |
* Kroc Camen, and the H5BP dev community and team. | |
* | |
* Detailed information about this CSS: h5bp.com/css | |
* | |
* ==|== normalize ========================================================== |
!!! 5 | |
-# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ | |
/[if lt IE 7] <html class="no-js ie6 oldie" lang="en"> | |
/[if IE 7] <html class="no-js ie7 oldie" lang="en"> | |
/[if IE 8] <html class="no-js ie8 oldie" lang="en"> | |
-# Consider adding a manifest.appcache: h5bp.com/d/Offline | |
/[if gt IE 8] <!--> <html class="no-js" lang="en"> <!-- | |
%head | |
%meta{:charset => 'utf-8'} |