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
# batch install missing packages reported by `bundle package` | |
# When `bundle package', it might complain: "Could not find charlock_holmes-0.6.9.1.gem for installation", | |
# You have to run `gem install charlock_holmes -v 0.6.9.1' and run `bundle package` again | |
# And it might complain another package missing, then you have to run `gem install foobar -v xxxxx` | |
# Again, and again. Thus I have this little script | |
# Note: it would fail on packages like 'libv8-3.11.8.13-x86_64-linux.gem', which you can handle it manually | |
while true; do |
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
key.setGlobalKey(['C-x', '0'], function (ev, arg) { | |
SplitBrowser.activeBrowserCloseWindow(); | |
}, '現在のフレームを閉じる'); | |
key.setGlobalKey(['C-x', '1'], function (ev, arg) { | |
var url = SplitBrowser.activeBrowser != gBrowser ? SplitBrowser.activeSubBrowser.src : null; | |
var browsers = SplitBrowser.browsers; | |
for (var i = 0; i < browsers.length; ++i) | |
browsers[i].close(); |