Hash :
f20a8909
Author :
Thomas de Grivel
Date :
2025-02-24T01:17:30
op / ops
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
10 + 1
Metric.get("/plop")
Metric.get("/plop") + 1
Metric.get("/plop")
Metric.hit("/plop")
s = Serialize.new()
Serialize.tag(s, 123)
Serialize.to_str(s)
s = Serialize.new()
Serialize.tag(s, 123)
Serialize.to_str(s)
s = Serialize.new()
s = Serialize.tag_to_str(12)
Deserialize.str_to_tag(s)
s = Serialize.tag_to_str(12)
Deserialize.str_to_tag(s)
s = Serialize.tag_to_str(12)
Deserialize.str_to_tag(s)
sysctl([:hw, :ncpu])
sysctl([:hw])
sysctl([:hw, :ncpu, :a])
SMTP.open
s = SMTP.open("localhost", "25", :plop, :debug, "")
s = SMTP.open("localhost", "25", :none, :none, "")
SMTP.close(s)
1 || 2
false || 2
false || false
false || 0
true && 1
true && 10
SMTP.sendmail("dx@kmx.io", "Thomas de Grivel", "root@kmx.io", "Charlie Root", "test", "Test test !")
inspect((Sw) 3)
inspect((Sw) -3)
inspect((Sw) -3000)
inspect((Sw) -300000000)
inspect((Sw) -30000000000000)
inspect((Sw) -300000000000000000000000000000000000000000)
inspect({1, 2})
inspect({"a', 2})
inspect({"a", 2})
"#{inspect({"a", 2})}"
"#{inspect({:a, 2})}"
x = "123"; "#{inspect({x, 2})}"
"#{inspect({x, %HTTP.Upload{}})}"
"#{inspect(%HTTP.Upload{})}"
quit
q
"#{inspect(%HTTP.Upload{})}"
git diff
Math.pow(2, 3)
Math.greatest_divisor(4)
Math.greatest_divisor(5)
Math.greatest_divisor(6)
Math.greatest_divisor(4)
Math.greatest_divisor(1)
Math.greatest_divisor(2)
Math.greatest_divisor(3)
Math.greatest_divisor(4)
Math.greatest_divisor(5)
Math.nth_mersenne_prime(2, 1)
Math.nth_mersenne_prime(2, 2)
Math.nth_mersenne_prime(2, 3)
Math.nth_mersenne_prime(2, 1)
Math.nth_mersenne_prime(2, 2)
Math.nth_mersenne_prime(2, 3)
Math.nth_mersenne_prime(2, 4)
Math.nth_mersenne_prime((Integer) 2, 4)
Math.nth_mersenne_prime(2, 4)
Math.nth_mersenne_prime(2, 1)
Math.nth_mersenne_prime(2, 2)
Math.nth_mersenne_prime(2, 3)
Math.nth_mersenne_prime(2, 4)
Math.nth_mersenne_prime(2, 5)
type(Math.nth_mersenne_prime(2, 5))
Math.mersenne_prime(1)
Math.mersenne_prime_test(5)
Math.mersenne_prime_test(6)
Math.next_greatest_divisor(1)
Math.next_greatest_divisor(2)
Math.next_greatest_divisor(3)
Math.next_greatest_divisor(4)
Math.next_greatest_divisor(1)
Math.next_greatest_divisor(2)
Math.next_greatest_divisor(3)
Math.next_greatest_divisor(4)
Math.next_greatest_divisor(1)
Math.next_greatest_divisor(2)
Math.next_greatest_divisor(3)
Math.next_greatest_divisor(4)
Math.next_greatest_divisor(5)
Math.next_greatest_divisor(4)
Math.next_prime(1024)
Math.next_prime(10240)
Math.next_prime(102400)
123
__DIR__
Ratio.pow(2/3, 3/1)
1 + 1