I hereby claim:
- I am andeemarks on github.
- I am vampwillow (https://keybase.io/vampwillow) on keybase.
- I have a public key ASCoX_CgrBl3fDwhR82QCYVvNmEcp-JvILoBsFsXos1nwAo
To claim this, I am signing this object:
import Html exposing (Html, text, div) | |
import Mouse exposing (..) | |
main = Html.program { init = init, | |
view = view, update = update, subscriptions = subscriptions } | |
-- Model | |
type alias Model = { count: Int } |
import Html exposing (Html, text, div) | |
import Mouse exposing (..) | |
main = Html.program { init = init, | |
view = view, update = update, subscriptions = subscriptions } | |
-- Model | |
type alias Model = { count: Int } |
import Html exposing (Html, text, div) | |
-- import Html.App as App | |
import Mouse exposing (..) | |
main = Html.program { init = init, | |
view = view, update = update, subscriptions = subscriptions } | |
-- Model | |
type alias Model = { x: Int, y: Int } |
3 3 * 4 4 * + . | |
3 sq 4 sq sqrt . | |
[ dup ] dip | |
"Hello, " swap append >upper | |
{ 1 4 17 9 11 } 0 [ + ] reduce . | |
100 [1,b] 0 [ + ] reduce . | |
10 [1,b] [ sq ] map . | |
42 [ 10 /i ] [ 10 mod ] bi . | |
1234 number>string [ 1string string>number ] each |
function retry(count, body) | |
for i = 1, count do | |
coro = coroutine.create(body) | |
coroutine.resume(coro) | |
if (coroutine.status(coro) == "dead") then | |
print(i) | |
return | |
end | |
end |
function ends_in_3(num) | |
return string.sub(string.reverse(num), 1, 1) == "3" | |
end | |
print("Checking ends_in_3...") | |
print(ends_in_3(3)) | |
print(ends_in_3(2)) | |
print(ends_in_3(0)) | |
function is_prime(num) |
I hereby claim:
To claim this, I am signing this object:
package main | |
import "net/http" | |
import "log" | |
import "os" | |
import "io/ioutil" | |
import "encoding/json" | |
// import "time" |
config.vm.provision "shell" do |s| | |
s.inline = "sudo ln -sf /usr/share/zoneinfo/Australia/Sydney /etc/localtime; echo $?" | |
end |
(ping@127.0.0.1)7> tut17:start_ping('pong@127.0.0.1'). | |
<0.51.0> | |
Ping received pong | |
Ping received pong | |
Ping received pong | |
ping finished | |
(ping@127.0.0.1)8> |