Skip to content

Instantly share code, notes, and snippets.

Avatar
🅱️
come work with us @basementdev :)

Nick Vernij Nickforall

🅱️
come work with us @basementdev :)
View GitHub Profile
View gist:42a76b642bbbd02c1dd1
traceroute to bad.horse (162.252.205.157), 30 hops max, 60 byte packets
1 bad.horse [162.252.205.130]
2 bad.horse [162.252.205.131]
3 bad.horse [162.252.205.132]
4 bad.horse [162.252.205.133]
5 he.rides.across.the.nation [162.252.205.134]
6 the.thoroughbred.of.sin [162.252.205.135]
7 he.got.the.application [162.252.205.136]
8 that.you.just.sent.in [162.252.205.137]
View discordEmojis.md
Name Shortcuts
angry >:(, >:-(, >=(, >=-(
blush :"), :-"), ="), =-")
broken_heart </3, <\3
confused :-, :-/, =-\, =-/
cry :'(, :'-(, :,(, :,-(, ='(, ='-(, =,(, =,-(
frowning :(, :-(, =(, =-(
heart <3, ♡
imp ]:(, ]:-(, ]=(, ]=-(
@Nickforall
Nickforall / Howtodothisshit.md
Last active April 1, 2016 18:32
Robin grow counter
View Howtodothisshit.md

Console method

  1. Open your browser's development tools.
  • ctrl+ shift + i for chrome
  1. Copy-Paste the code from the robin.js file (below) into your console
  2. Smash enter
View LCDSerialHandler.ino
#include <LiquidCrystal.h>
LiquidCrystal lcd(10, 11, 2, 3, 4, 5);
String inputString = "";
boolean stringComplete = false;
void setup() {
Serial.begin(9600);
lcd.begin(16, 2);
inputString.reserve(128); //allocate 128 bytes RAM geheugen voor de string
@Nickforall
Nickforall / # php70-mongodb - 2016-11-22_12-52-03.txt
Created November 22, 2016 11:54
php70-mongodb (homebrew/php/php70-mongodb) on macOS 10.11.6 - Homebrew build logs
View # php70-mongodb - 2016-11-22_12-52-03.txt
Homebrew build logs for homebrew/php/php70-mongodb on macOS 10.11.6
Build date: 2016-11-22 12:52:03
@Nickforall
Nickforall / config.json
Created July 13, 2017 12:06
This is a demo plugin for what squadbot **could** look like
View config.json
{
"name": "squadbot-demo",
"commands": {
"demo": "replies \"Yoooo\""
},
"protocols": [
"*"
]
}
View phoenix.yml
name: Elixir CI
on: push
jobs:
build:
runs-on: ubuntu-latest
container:
View keybase.md

Keybase proof

I hereby claim:

  • I am nickforall on github.
  • I am nickforall (https://keybase.io/nickforall) on keybase.
  • I have a public key whose fingerprint is 421D 6900 A5FF 2F6F 59CC 3549 03D5 2213 0900 BDF2

To claim this, I am signing this object:

@Nickforall
Nickforall / boot.asm
Created March 20, 2017 15:41
Simple kernel entry point
View boot.asm
global start
section .multiboot_header
header_start:
dd 0xe85250d6 ; magic number (multiboot 2 spec)
dd 0 ; architecture 0
dd header_end - header_start ; header length
; checksum
dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start))
@Nickforall
Nickforall / ex_abi_multicall.ex
Created January 8, 2022 11:30
Call multicall contract with ExAbi in Elixir
View ex_abi_multicall.ex
defmodule MyProject.Ethereum.Multicall do
@multicall_addr "0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441"
@doc """
Takes a list of {address, call} tuples, returns an ok tuple with block number and data in same order as list of calls
iex> MyProject.Ethereum.Multicall.multicall({"0x000", ABI.encode("tokenURI(uint256)", [token_id])})
{:ok, 0x000}
"""
def multicall(list) do