Skip to content

Instantly share code, notes, and snippets.

View typester's full-sized avatar
😇

Daisuke Murase typester

😇
View GitHub Profile
diff --git a/lib/UV.pm b/lib/UV.pm
index f69c916..38e8e3a 100644
--- a/lib/UV.pm
+++ b/lib/UV.pm
@@ -6,6 +6,9 @@ our $VERSION = '0.1';
XSLoader::load __PACKAGE__, $VERSION;
+use constant READABLE => 1;
+use constant WRITABLE => 2;
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>github-growler</string>
<key>ProgramArguments</key>
<array>
<string>tcsh</string>
<string>-c</string>
(require 'url)
(require 'url-util)
(require 'json)
(defun dan-perl (word)
"Run dan's perl"
(interactive
(let* ((cur (or (thing-at-point 'word) ""))
(val (read-string (if (not (equal cur ""))
(format "dan the perl (default %s): " cur)
#!ruby -Ku
class << (_ = × = 来週も見てくださいね! = 'ひだまりスケッチ×365 ')
def / x=/_/x
sub! /(.*)/, ''; print $1
self
end
def < x=/_/x
print open(caller.first.split(':').first).read.split(/\s/)[-2..-1].join(' ')
end