Skip to content

Instantly share code, notes, and snippets.

View ychubachi's full-sized avatar

Yoshihide Chubachi ychubachi

View GitHub Profile
@ychubachi
ychubachi / table.org
Last active December 19, 2015 13:39
table.org
料金クレジット月合計
61517193440148279
74718247246710
194989
dot -Tpng zu01.dot -o zu01.png
digraph zu01 {
hoge -> piyo -> hoge -> hoge;
hoge -> 大学;
piyo -> 大学;
}
@ychubachi
ychubachi / xx-package-install.el.template
Last active December 19, 2015 10:09
packageをインストールするためのgistです.packageの初期化が終わっていることが前提です.
;; パッケージのインストール
(setq package-list '(PACKAGE1 PACKAGE1))
(dolist (package package-list)
(when (not (package-installed-p package))
(package-install package)))
@ychubachi
ychubachi / index.html
Last active December 19, 2015 07:09
サンプルのindex.htmlです.
<html>
<head>
<title>タイトル</title>
</head>
<body>
<h1>あいさつ</h1>
<p>こんにちは</p>
<p>さようなら</p>
</body>
</html>
@ychubachi
ychubachi / dot-gemrc
Created June 23, 2013 13:08
~/.gemrcの設定例です.
---
:update_sources: true
:sources:
- http://gems.rubyforge.org/
- http://gems.github.com
:benchmark: false
:bulk_threshold: 1000
:backtrace: false
:verbose: true
gem: --no-ri --no-rdoc
@ychubachi
ychubachi / dot_bundle_config
Last active December 18, 2015 20:58
.bundle/configの設定例です.
---
BUNDLE_PATH: vendor/bundle
BUNDLE_DISABLE_SHARED_GEMS: '1'
BUNDLE_CACHE_ALL: true
@ychubachi
ychubachi / Gemfile
Last active December 12, 2015 09:48
Gemfile: middleman, livereload, sass, bootstrap
source :rubygems
gem "middleman"
gem 'middleman-livereload'
gem 'bootstrap-sass'
@ychubachi
ychubachi / rails32init.md
Last active December 11, 2015 15:28 — forked from samnang/rails31init.md
Rails 3.2 with Haml, Simple Form, Bootstrap, Rspec, Cucumber, Factory Girl, Database Cleaner, Spork, and Guard

Install Rails 3.2.11 and Bundler (2013-01-24)

gem install rails bundler

Generate new app, skipping Test::Unit file generation

rails new my_app -T --skip-bundle

Set up Gemfile