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
;; highlight support for multiple languages | |
(defconst mumamo-highlight-tag-start-regex | |
(rx "{%" | |
(0+ space) | |
"highlight" | |
space | |
(submatch | |
(1+ (any "a-za-z"))) | |
(0+ space) | |
"%}" |
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
--- | |
Mexico: 52 | |
Guinea-Bissau: 245 | |
Afghanistan: 93 | |
Ethiopia: 251 | |
Costa Rica: 506 | |
Bosnia and Herzegovina: 387 | |
United Kingdom: 44 | |
United Arab Emirates: 971 | |
Virgin Islands: 1 |
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
(defvar ergoemacs-keyboard-layout (getenv "ERGOEMACS_KEYBOARD_LAYOUT") | |
"It is set with the value of ERGOEMACS_KEYBOARD_LAYOUT | |
enviroment variable. The possible values are: | |
us = US English QWERTY keyboard layout | |
dv = US-Dvorak keyboard layout | |
sp = Spanish keyboard layout | |
gb = UK keyboard layout | |
it = Italian keyboard layout | |
colemak = Ergonomic Colemak keyboard layout") |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'thor' | |
class Integrate < Thor | |
desc "request [merge_request_number]", "Integrate this merge request into the repository" | |
method_option :src, :type => :string, :default => "" | |
def request(merge_request_number) | |
integrate_request(merge_request_number, options) |
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
Index: ergoemacs/ergoemacs-keybindings/ergoemacs-layout-gb.el | |
=================================================================== | |
--- ergoemacs/ergoemacs-keybindings/ergoemacs-layout-gb.el (revision 378) | |
+++ ergoemacs/ergoemacs-keybindings/ergoemacs-layout-gb.el (working copy) | |
@@ -77,6 +77,9 @@ | |
;;; EMACS'S SPECIAL COMMANDS | |
+; Cancel | |
+(defconst ergoemacs-keyboard-quit-key (kbd "M-n")) |
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
if ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm') | |
begin | |
rvm_path = File.dirname(File.dirname(ENV['MY_RUBY_HOME'])) | |
rvm_lib_path = File.join(rvm_path, 'lib') | |
$LOAD_PATH.unshift rvm_lib_path | |
require 'rvm' | |
RVM.use_from_path! File.dirname(File.dirname(__FILE__)) | |
rescue LoadError | |
# RVM is unavailable at this point. | |
raise "RVM ruby lib is currently unavailable." |
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 --create @rails235 |
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
LoadModule passenger_module /home/boston/.rvm/gems/ree-1.8.7-2010.02@global/gems/passenger-3.0.0/ext/apache2/mod_passenger.so | |
PassengerRoot /home/boston/.rvm/gems/ree-1.8.7-2010.02@global/gems/passenger-3.0.0 | |
PassengerRuby /home/boston/.rvm/wrappers/ree-1.8.7-2010.02@global/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
Backtrace: | |
# File Line Location | |
0 /home/boston/.rvm/lib/rvm/environment/utility.rb 168 in `use_env_from_result!' | |
1 /home/boston/.rvm/lib/rvm/environment/rubies.rb 30 in `use' | |
2 /home/boston/.rvm/lib/rvm/environment/rubies.rb 36 in `use!' | |
3 /home/boston/.rvm/lib/rvm/environment/rubies.rb 44 in `use_from_path!' | |
4 /home/boston/.rvm/lib/rvm.rb 150 in `__send__' | |
5 /home/boston/.rvm/lib/rvm.rb 150 in `method_missing' | |
6 /home/boston/development/justlanded/src/config/setup_load_paths.rb 7 | |
7 /home/boston/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require' |
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 :deploy do | |
task :check_changes do | |
if current_revision == real_revision | |
Capistrano::CLI.ui.say("You don't have any changes to deploy") | |
agree = Capistrano::CLI.ui.agree("Continue (Yes, [No]) ") do |q| | |
q.default = 'n' | |
end | |
exit unless agree |