I hereby claim:
- I am scudelletti on github.
- I am scudelletti (https://keybase.io/scudelletti) on keybase.
- I have a public key whose fingerprint is F681 9317 C065 EB25 BA91 A367 7865 D635 E654 5942
To claim this, I am signing this object:
#box { | |
background-color: #cccccc; | |
left: 50%; | |
line-height: 3em; | |
height: 50px; | |
margin: -25px 0 0 -25px; | |
position: absolute; | |
text-align: center; | |
top: 50%; | |
width: 50px; |
def initialize(opts) | |
opts.each do |opt,val| | |
instance_variable_set("@#{opt}", val.to_s) if respond_to? opt | |
end | |
end |
module XptoModule | |
class << self | |
attr_accessor :classes_with_xpto_module | |
end | |
self.classes_with_xpto_module = [] | |
def self.included(base) | |
self.classes_with_xpto_module << base | |
end |
$VAR1=BlaBlaBla | |
$VAR1=PqPqPqPq | |
function export_ambient_variable_for() { | |
if [[ $1 = 'prod' ]]; then | |
echo 'Exporting ambient variables for Prod environment' | |
export ZZZZ=$VAR1 | |
else | |
echo 'Exporting ambient variables for Dev environment' | |
export ZZZZ=$VAR2 |
class Model | |
def method(&block) | |
puts "START" | |
block.call | |
puts "END" | |
end | |
def second(&block) | |
puts "SECOND - START" | |
method(&block) |
puts "Getting the Exception 1" | |
begin | |
eval("1+") | |
rescue Exception => e | |
puts "Exception Class => #{e.class} - Message: #{e}" | |
end | |
puts "Getting the Exception 2" | |
begin | |
eval("1+") |
// Source => http://www.adafruit.com/forums/viewtopic.php?f=25&t=34567 | |
//code https://gist.github.com/1804108 20121125 @ 1339 | |
//led for visualization (use 13 for built-in led) | |
int ledPin = 13; | |
//speaker connected to one of the pwm ports | |
int speakerPin = 9; | |
//tone frequencies http://home.mit.bme.hu/~bako/tonecalc/tonecalc.htm |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2.0.22 (Darwin) | |
mQENBFNoKrcBCADP2CDBD7n+bMTPmwQ7V1TLPJGshhG4nJDUCCsuEPfDxRb3hBB8 | |
LlYYtaz/VJFvX2UY1T6yRKSZ05N89ohsc/Prb8rc3jChc/zY/wccVWeYbVWJ6vg5 | |
YAQeG9Xg0Fkl1lW0drGl1kKaKTt0j/MHjJj/3RMQcjAq7lNhDwP1ZqOGX415wqbz | |
1SqlV5Vxz93NtspzmrhS6MobHdQdZuPNetS5DKFmLTjm44QrbdbCKLVX1QvXeF4W | |
rVff5tZbA782Bazgc5+phkDFizgbLPR3l8N757iEQqiYBqgcx7MLJMXT8bXDnWfa | |
TgEaMvaikg7YaYzwevB73/pZCbTTOkZaTG0PABEBAAG0KURpb2dvIFNjdWRlbGxl | |
dHRpIDxkaW9nb0BzY3VkZWxsZXR0aS5jb20+iQE5BBMBAgAjBQJTaCq3AhsDBwsJ |
I hereby claim:
To claim this, I am signing this object:
def first_function(something, &block) | |
puts "First - Do I have a Block? #{block_given?}" | |
end | |
def second_function(&block) | |
puts "Second - Do I have a Block? #{block_given?}" | |
end | |
puts "USING: {}" | |
first_function second_function { 'YEAP' } |