Skip to content

Instantly share code, notes, and snippets.

Avatar

Yves-Eric Martin yemartin

  • MediWeb, Inc.
  • Tokyo, Japan
View GitHub Profile
@aelesbao
aelesbao / gem-list-native.rb
Created May 27, 2014
List gems with native extensions
View gem-list-native.rb
require 'rubygems'
specs_with_extensions = Gem::Specification.each.select { |spec| spec.extensions.any? }
specs_with_extensions.each do |spec|
puts "#{spec.name} (extensions: #{spec.extensions.inspect})"
end
@jasonlong
jasonlong / Default (OSX).sublime-keymap
Created Apr 16, 2013
A simple way to toggle between dark and light themes in Sublime Text 2.
View Default (OSX).sublime-keymap
// Copy this to your keybindings (Preferences > Key Bindings - User)
// Change the keybinding, color schemes, and themes to your preferences
{ "keys": ["ctrl+1"], "command": "toggle_color_scheme",
"args": {
"light_color_scheme": "Packages/User/Espresso Soda.tmTheme",
"dark_color_scheme": "Packages/User/Monokai Soda.tmTheme",
"light_theme": "Soda Light.sublime-theme",
"dark_theme": "Soda Dark.sublime-theme"
}
You can’t perform that action at this time.