Travis CI badge Circle CI badge GitHub Actions badge Coverage badge LGTM badge npm badge pub.dev badge Download count badge
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
/ square root of double precision epsilon (sqrt(2^-52)) | |
E:1.4901161193847656e-8 | |
/ abs[x]: absolute value of x | |
abs::$[x>0;x;-x] | |
/ xeq[x;y]: tests if x and y are approximately equal (difference is <sqrt(epsilon)) | |
xeq::E>abs x-y | |
/ sb[q] Stern-brocot tree search, e.g. sbt[1%3] returns (1 3) | |
sbt:{[q]+/({[q;LH]~xeq[q;%/+/LH]}q;{[q;L;H]$[q>%/M:L+H;(M;H);(L;M)]}[q].)/:(0 1;1 0)} | |
/ benchmark: |
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
abstract class MyType { | |
void doStuff(); | |
} | |
mixin MyTypeHelpers { | |
void protectedUtilityMethod() => print('Protected method'); | |
} | |
abstract class MyDerivedType implements MyType { | |
factory MyDerivedType.create() => MyDerivedTypeImpl(); |
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
compress:{,/({y,$#x@y}t)'!t:=x} |
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
#!/usr/bin/env python3 | |
import collections | |
import multiprocessing | |
import multiprocessing.connection | |
import os | |
import subprocess | |
import sys | |
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
#!/usr/bin/env python3 | |
import os | |
import socket | |
import struct | |
import subprocess | |
import sys | |
def nested(fd): |
Once upon a time there was a user that wanted to install firefox.
The user tried to do pacman -S firefox
but it didn't work. The all
mighty pacman reported that firefox-3.2.4-1.i686.pkg.tar.gz
could not
be found on his mirror. So the user tried pacman -Sy firefox
. It
worked and the user rejoiced since he could once again go and troll /h/.
But all was not good. The user had made a grave error!
See, when the user told the almighty pacman to -Sy firefox
, pacman did
I hereby claim:
- I am refi64 on github.
- I am refi64 (https://keybase.io/refi64) on keybase.
- I have a public key ASC0MAUdoo0JtC9sw5EKyAwgpeBm0nFIDeLLNJj5mrH2Vwo
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
<?xml version="1.0" encoding="UTF-8"?> | |
<component type="runtime"> | |
<id>org.gtk.Gtk3theme.Bubble-Dark-Blue</id> | |
<metadata_license>CC0-1.0</metadata_license> | |
<name>Bubble Dark Blue Gtk theme</name> | |
<summary>Bubble Dark Blue Gtk theme</summary> | |
<description> | |
<p>Bubble Dark Blue is a theme for Gtk3.</p> | |
</description> | |
<url type="homepage">https://www.gnome-look.org/p/1253999/</url> |
NewerOlder