Hash :
51cf5ef9
Author :
Thomas de Grivel
Date :
2025-02-06T00:52:23
wip primes
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
Gtk4.Window.present(w)
Gtk4.main()
ncpu
100000000000000000000000000000000000 + 200000000000000000000000000000000
type(100000000000000000000000000000000000)
type(10)
git log | grep jeremy
9 +i 2
9 +i 2 + 3
9 +i 2 + 3 +i 5
Parse.tag("%Time{}")
Parse.tag("%Time{tv_sec: 1, tv_nsec: 2}")
is_integer?(123)
is_integer?(:a)
Metric.hit("/plop"
)
Metric.hit("/plop"
)
Metric.hit("/plop")
Metric.get("/plop")
Metric.hit("/plop")
Metric.get("/plop")
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 !")
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)