This file contains 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
--- site-packages/linkcheck/i18n.py.org 2007-03-22 04:29:01.000000000 +0900 | |
+++ site-packages/linkcheck/i18n.py 2009-06-30 08:52:04.000000000 +0900 | |
@@ -26,7 +26,7 @@ | |
# more supported languages are added in init() | |
supported_languages = ['en'] | |
default_language = 'en' | |
-default_encoding = locale.getpreferredencoding() | |
+default_encoding = 'utf_8' | |
# It can happen that the preferrec encoding is not determinable, which | |
# means the function returned None. Fall back to ASCII in this case. |
This file contains 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
jQuery(document).ready(function($) { | |
.. | |
}); |
This file contains 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
# | |
# for gem's bin/script | |
# | |
unless ( ENV['PATH'].split( File::PATH_SEPARATOR ).include?( File.dirname( __FILE__ ) ) ) | |
$LOAD_PATH << File.expand_path( "../lib", File.dirname( __FILE__ ) ) | |
end |
This file contains 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 | |
def which( cmd, *additional ) | |
paths = ENV['PATH'].split( File::PATH_SEPARATOR ) | |
paths += additional if additional | |
path = paths.map { |d| | |
file = File.join( d, cmd ) | |
( File.exist?( file ) ) ? file : nil | |
}.compact.first |
This file contains 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 'ruby-growl' | |
module God | |
module Contacts | |
class GodGrowl < Contact | |
def notify( message, time, priority, category, host ) | |
priority = 0 if ( !priority ) | |
if ( !@growl ) | |
@growl = Growl.new( 'localhost', 'God', ['test'] ) | |
end |
This file contains 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
diff --git a/simple.god b/simple.god | |
index 407e34b..3ca0518 100644 | |
--- a/simple.god | |
+++ b/simple.god | |
@@ -1,4 +1,12 @@ | |
+# -*- mode: ruby -*- | |
+ | |
+require File.dirname( __FILE__ ) + '/../god_extension/god_growl' | |
+ | |
#The simplest possible watch |
This file contains 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
javascript:(function(){w=window.open(location.href,'nifty_clip','scrollbars=yes,width=550,height=600');setTimeout(function(){var%20s=w.document.createElement('script');s.charset='utf-8';s.src='http://clip.nifty.com/toolbar/addclip/bookmarklet.js';w.document.body.appendChild(s)},2000)})(); |
This file contains 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
@-moz-document url-prefix("http://clip.nifty.com/create?url=") { | |
#headLogo { | |
display: none !important; | |
} | |
#headBanner { | |
display: none !important; | |
} | |
#subContents { | |
display: none !important; | |
} |
This file contains 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
javascript:(function(){window.open('http://clip.livedoor.com/clip/add?link='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'livedoor_clip','width=550,height=600')})(); |
This file contains 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
@-moz-document url-prefix("http://clip.livedoor.com/clip/add?link=") { | |
#addclipttl { | |
margin: 5px !important; | |
} | |
form[name="clip"] { | |
width: 500px !important; | |
margin-left: 10px !important; | |
} | |
div#AddClipsBox { | |
width: 500px !important; |