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
Show hidden characters
| { | |
| "cmd": ["/Users/ecerulm/bin/sublime_rvm.rb", "$file"], | |
| "file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
| "selector": "source.ruby" | |
| } |
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
| import sublime, sublime_plugin | |
| import os | |
| class AutoSwitchViewTabSizeCommand(sublime_plugin.EventListener): | |
| """ Auto switch tab_size with syntax""" | |
| # def on_activated(self, view): | |
| def on_load(self, view): | |
| syntax = view.settings().get('syntax') |
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 'zeus/rails' | |
| class CustomPlan < Zeus::Rails | |
| def spec(argv=ARGV) | |
| # disable autorun in case the user left it in spec_helper.rb | |
| RSpec::Core::Runner.disable_autorun! | |
| exit RSpec::Core::Runner.run(argv) | |
| end | |
| 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
| class Event < ActiveRecord::Base | |
| has_many :groups | |
| 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
| = link_to "参加", join_group_event_path(@group, @event, join_type: Event::JOIN) |
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
| # gems | |
| gem 'slim-rails' | |
| gem 'bootstrap-sass' | |
| gem 'thin' | |
| gem_group :development, :test do | |
| gem 'rspec-rails' | |
| gem 'launchy' | |
| 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
| # キーを押すのままをキーリピットに変更 | |
| defaults write -g ApplePressAndHoldEnabled -bool false |