I hereby claim:
- I am elektronaut on github.
- I am inge (https://keybase.io/inge) on keybase.
- I have a public key whose fingerprint is 4EFE DC55 D0A4 D15C 74A1 5C8B A9F5 7E26 968D 6B8E
To claim this, I am signing this object:
Bigrams | |
======= | |
<% 36660 | |
%> 36660 | |
", 32607 | |
-- 28212 | |
</ 27362 | |
## 23585 | |
=" 20999 | |
== 20323 |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> | |
<script> | |
$(function () { | |
$(".crash-button").on("click", function () { | |
prompt("This is a prompt"); | |
}); | |
}); | |
</script> |
def superclass_instance(obj) | |
parent_obj = obj.class.superclass.new | |
obj.instance_variables.map(&:to_s).each do |name| | |
parent_obj.instance_variable_set(name, obj.instance_variable_get(name)) | |
end | |
parent_obj | |
end |
whitelist = [:email, :password, :and_so_on] | |
user_params = params | |
.keep_if { |k, v| whitelist.include?(k) && !v.nil? } | |
.merge(uuid: @user.uuid) |
15/04/15 15:03:03,948 Paparazzi![5544]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.3 instead of 10.10.3. Use NSProcessInfo's operatingSystemVersion property to get correct system version number. | |
Call location: | |
15/04/15 15:03:03,950 Paparazzi![5544]: 0 CarbonCore 0x00007fff862ce2b7 ___Gestalt_SystemVersion_block_invoke + 113 | |
15/04/15 15:03:03,950 Paparazzi![5544]: 1 libdispatch.dylib 0x00007fff8e3b8c13 _dispatch_client_callout + 8 | |
15/04/15 15:03:03,950 Paparazzi![5544]: 2 libdispatch.dylib 0x00007fff8e3b8b26 dispatch_once_f + 117 | |
15/04/15 15:03:03,950 Paparazzi![5544]: 3 CarbonCore 0x00007fff86257456 _Gestalt_SystemVersion + 987 | |
15/04/15 15:03:03,950 Paparazzi![5544]: 4 CarbonCore 0x00007fff862566e3 Gestalt + 144 | |
15/04/15 15:03:03,950 Paparazzi![5544]: 5 Growl 0x00000001000af267 GrowlGetSystemVersion + 39 | |
15/04/15 15:03:03,950 Paparaz |
Verifying that +inge is my openname (Bitcoin username). https://onename.io/inge |
# What I intended | |
def foo | |
@foo ||= begin | |
expensive_operation | |
end | |
end | |
# What emacs thinks it should look like | |
def foo | |
@foo ||= begin |
I hereby claim:
To claim this, I am signing this object:
.spoiler, .spoiler *, .spoiler:after { | |
-webkit-transition: all 0.2s ease-in-out; | |
-moz-transition: all 0.2s ease-in-out; | |
-o-transition: all 0.2s ease-in-out; | |
-ms-transition: all 0.2s ease-in-out; | |
transition: all 0.2s ease-in-out; | |
} | |
.spoiler { | |
border: 1px solid transparent; |
class MyModel < ActiveRecord::Base | |
def foo=(foo) | |
if foo == "thing" | |
self.bar = "a thing was found" | |
end | |
end | |
end |