Skip to content

Instantly share code, notes, and snippets.

View REPTILEHAUS's full-sized avatar

Paddy REPTILEHAUS

View GitHub Profile
@REPTILEHAUS
REPTILEHAUS / introrx.md
Created December 23, 2016 19:16 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@REPTILEHAUS
REPTILEHAUS / chat.js
Created March 15, 2018 09:58 — forked from bas-vk/chat.js
whisper chat demo
var chat = {
username: "<not set>",
topic: "0xfeedbabe",
key: "",
identity: "",
pollInterval: null,
filter: null,
setUsername: function(name) {
this.username = name;
// This file is an automatically generated Go binding. Do not modify as any
// change will likely be lost upon the next re-generation!
package main
import (
"math/big"
"strings"
"github.com/ethereum/go-ethereum/accounts/abi"
package main
import (
"fmt"
"io"
"os"
)
var path = "/Users/novalagung/Documents/temp/test.txt"
@REPTILEHAUS
REPTILEHAUS / bitfi_to_brainflayer.py
Created July 30, 2018 07:48 — forked from ryancdotorg/bitfi_to_brainflayer.py
Python script to output Bitfi key material compatible with `brainflayer -x -t priv`.
#!/usr/bin/env python
# This script accepts salt,passphrases pairs on STDIN seperated by a tab.
# Specify the coin symbol and indexes to generate via command line args.
#
# Appears to work fine with Bitcoin, Litecoin and Ethereum, probably works
# with many other coins as well.
#
# Don't participate in Bitfi's pay-to-play Bounty - it's a sham.
package main
/*
*
* This is just a Go implementation of https://github.com/monoxgas/sRDI/
* Useful if you're trying to generate shellcode for reflective DLL
* injection in Go, otherwise probably not much use :)
*
* The project, shellcode, most comments within this project
* are all from the original project by @SilentBreakSec's Nick Landers (@monoxgas)
@REPTILEHAUS
REPTILEHAUS / sysctl.conf
Created March 4, 2019 19:46 — forked from techgaun/sysctl.conf
Sysctl configuration for high performance
### KERNEL TUNING ###
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2