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
Zotero 2.1.6 is failing to capture a web page, | |
whose URI has the final component which can't be | |
decoded with decodeURIComponent(). | |
(e.g. URI has the final component in non UTF-8 encoded string) | |
This patch is a workaround for this against /extension/branches/2.1 . | |
When failed to decode the final component with decodeURIComponent(), | |
try base64 of SHA-1 of the final component as an alternate file name. | |
--- |
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
# Google URL Shortener for earthquake.gem | |
require 'googl' | |
Earthquake.init do | |
_ = config[:googl] ||= {} | |
_[:username] ||= '' | |
_[:password] ||= '' | |
_[:only_long_tweet] ||= false |
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
module Earthquake::Input | |
def drafts | |
@drafts ||= [] | |
end | |
end | |
Earthquake.init do | |
d = drafts | |
subcommands = { | |
apply: ->(index){Readline::HISTORY.push(d.at(Integer(index)))}, |
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
This HOWTO is about... | |
* You already installed Apache HTTPd 2.2 with SSL (mod_ssl or mod_gnutls) | |
* and want to setup "Calendar and Contacts Server" behind it | |
1. You can install "Calendar and Contacts Server" | |
(http://trac.calendarserver.org/) under Debian, as follows: | |
$ apt-get install calendarserver |
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
; | |
; Solarized [1] for TeraTerm [2] | |
; | |
; [1] <http://ethanschoonover.com/solarized> | |
; [2] <http://ttssh2.sourceforge.jp/> | |
; | |
; * Add this to your TERATERM.ini | |
; * ANSIColor setting is the same between Solarized Light and Dark, | |
; but you need to choose VTColor and VTReverseColor settings | |
; depending on your flavour (Light or Dark). |
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
$ ./executable-with-subcommands-using-thor.rb | |
Tasks: | |
executable-with-subcommands-using-thor.rb help [TASK] # Describe available tasks or one specific task | |
executable-with-subcommands-using-thor.rb subA [TASK] # Execute a task in namespace subA | |
executable-with-subcommands-using-thor.rb subB [TASK] # Execute a task in namespace subB | |
executable-with-subcommands-using-thor.rb test # test in CLI | |
$ ./executable-with-subcommands-using-thor.rb help | |
Tasks: | |
executable-with-subcommands-using-thor.rb help [TASK] # Describe available tasks or one specific task |
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
[hooks.tex.gitinfo] | |
prefix = . | |
prefix = ./test | |
prefix = ./docs |
OlderNewer