- Twitter: @leifg
- Website or Blog: http://leifg.ghost.io
- Propertybase GmbH. http://propertybase.com
This file contains hidden or 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
arr = [] | |
# You probably know this one: | |
#http://ruby-doc.org/core-2.0.0/Array.html#method-i-empty-3F | |
if arr.empty? | |
# do something | |
end | |
# But do you also know the opposite? |
I hereby claim:
- I am leifg on github.
- I am leifg (https://keybase.io/leifg) on keybase.
- I have a public key whose fingerprint is 9598 366D C247 B2A3 1769 B664 FF97 E8EA DFBA A7C0
To claim this, I am signing this object:
This file contains hidden or 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
{ | |
"builders": [ | |
{ | |
"type": "digitalocean", | |
"client_id": "...", | |
"api_key": "..." | |
} | |
] | |
} |
This file contains hidden or 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
test |
I hereby claim:
- I am leifg on github.
- I am leifg (https://keybase.io/leifg) on keybase.
- I have a public key ASBtVKBPqalH0Nfq2683WNaQJB7fgOb0abYl9aoiTsWKggo
To claim this, I am signing this object:
This file contains hidden or 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
Wed Jun 8 14:29:54 UTC 2016 |
This file contains hidden or 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
Verifying that +leifio is my blockchain ID. https://onename.com/leifio |
This file contains hidden or 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
list = Enum.to_list(1..100_000) | |
Benchee.run(%{ | |
"List.last" => fn -> list |> List.last end, | |
"Enum.reverse |> hd" => fn -> list |> Enum.reverse |> hd end | |
}, time: 20) |
This file contains hidden or 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
{ | |
"status": "complete", | |
"session_key": "9ca35955414f431ba1ce655b6e0faf29_rrsqbjcb_06a13f0a788e803fcc56e78802891a26", | |
"segments": { | |
"0": { | |
"OriginStation": 14385, | |
"OperatingCarrier": 1175, | |
"JourneyMode": "Flight", | |
"FlightNumber": "7620", | |
"Duration": 115, |