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:
| #!/bin/bash | |
| if [ $? -eq 0 ]; then | |
| echo "Travis Branch: $TRAVIS_BRANCH" | |
| DEPLOY_BRANCH="develop" | |
| if [ "$TRAVIS_BRANCH" == "$DEPLOY_BRANCH" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then | |
| # Hot swap need to know what is the current version | |
| echo " :: Edeliver: Build" | |
| #mix edeliver build upgrade | |
| mix edeliver build release --branch=$DEPLOY_BRANCH |
| /* | |
| 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 |
| 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. |
| 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 |
| 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 |
| # Structure | |
| # schema "restaurant_schedule" do | |
| # field(:from_weekday, :integer) | |
| # field(:to_weekday, :integer) | |
| # | |
| # field(:open_time, :time) | |
| # field(:close_time, :time) | |
| # timestamps() |
| # | |
| # 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") |
I hereby claim:
To claim this, I am signing this object:
| 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" |
| 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 |