I hereby claim:
- I am phluid61 on github.
- I am phluid61 (https://keybase.io/phluid61) on keybase.
- I have a public key whose fingerprint is B99C 2E7E 1FD9 EABB A0CE C529 62B4 8913 E7EC 5EF9
To claim this, I am signing this object:
diff --git a/range.c b/range.c | |
index ebd0811..8cb4da8 100644 | |
--- a/range.c | |
+++ b/range.c | |
@@ -419,11 +419,21 @@ range_step(int argc, VALUE *argv, VALUE range) | |
if (!rb_obj_is_kind_of(step, rb_cNumeric)) { | |
step = rb_to_int(step); | |
} | |
- if (rb_funcall(step, '<', 1, INT2FIX(0))) { | |
- rb_raise(rb_eArgError, "step can't be negative"); |
AddType text/html .html_gz | |
AddType text/javascript .js_gz | |
AddType text/css .css_gz | |
AddEncoding gzip .html_gz .css_gz .js_gz | |
IndexIgnore *_gz | |
RewriteCond %{HTTP:Accept-Encoding} gzip | |
RewriteCond %{REQUEST_FILENAME}_gz -f |
<?php | |
function curl_get_contents($url) { | |
$ch = curl_init($url); | |
# curl options | |
curl_setopt($ch, CURLOPT_HEADER, FALSE); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); | |
# socket options | |
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); | |
curl_setopt($ch, CURLOPT_TIMEOUT, 20); |
puts RUBY_DESCRIPTION | |
if $VERBOSE | |
# Works: | |
prc = proc{|a,b,c| [a,b,c] } | |
p prc.curry.call() | |
p prc.curry.call(1) | |
p prc.curry.call(1,2) | |
p prc.curry.call(1,2,3) |
"use strict"; | |
(function(globals,$){ | |
/* scoped, safe, happy code goes here */ | |
$(function(){ | |
/* example jQuery onload function */ | |
}); | |
})((1,eval)('this'),jQuery); |
#!/bin/env ruby | |
if ARGV.length == 0 | |
puts "Usage: #$0 *.css" | |
exit 1 | |
end | |
$dict = {} | |
ARGV.each do |f| |
/* | |
* URL: "https://tools.ietf.org/html/*" | |
*/ | |
body{font-size:1em!important;background:#fff;color:#000} | |
div.content{font-family:monospace;width:72ch!important; padding:0; margin:0 auto} | |
hr{width:100%!important;margin:0.5em 0} | |
small small{font-family:sans-serif;font-style:italic} | |
/* pure decoration: */ |
I hereby claim:
To claim this, I am signing this object:
$ ruby -v re.rb | |
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] | |
non-word: | |
/\W/ => [] | |
/\W/i => [] | |
/[\W]/ => [] | |
/[\W]/i => ["fF", "Ss"] | |
not word/leading word: | |
/^\w/ => ["f"] |
require_relative 'b' | |
Foo.new.foo | |
p ['Main in a.rb', $global, bar, Baz.qux] |