Skip to content

Instantly share code, notes, and snippets.

Josh Ellithorpe zquestz

Block or report user

Report or block zquestz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .profile
# Setup Go.
export GOPATH=~/go
export GOBIN=~/go/bin
# Include key binary paths.
export PATH=~/go/bin:$PATH:$HOME/.rvm/bin
# Enable QT package config.
export QT_PKG_CONFIG=true
View .zshrc
# Common shell setup is in .profile.
source ~/.profile
# Path to your oh-my-zsh installation.
ZSH=/usr/share/oh-my-zsh/
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
View .vimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Sets how many lines of history VIM has to remember
set history=5000
" Enable filetype plugins
filetype plugin on
filetype indent on
@zquestz
zquestz / abc.md
Last active Jun 13, 2018
Bitcoin ABC Nodes - 7/31/2017
View abc.md

List was generated using https://github.com/zquestz/pickynode

This will connect your Bitcoin ABC node to all published ABC nodes on 7/31/2017

bitcoin-cli addnode "13.114.133.224:8333" "onetry"
bitcoin-cli addnode "37.221.198.57:28333" "onetry"
bitcoin-cli addnode "188.68.38.210:8333" "onetry"
bitcoin-cli addnode "[2a01:4f8:201:3e3::2]:8433" "onetry"
bitcoin-cli addnode "[2601:246:c701:5ec0:9551:4554:b18d:88ca]:8333" "onetry"
View keybase.md

Keybase proof

I hereby claim:

  • I am zquestz on github.
  • I am zquestz (https://keybase.io/zquestz) on keybase.
  • I have a public key ASDRkDKb7OFOZv4n1__n19QkfCnlljPn1fPkOQBHI_PMrQo

To claim this, I am signing this object:

@zquestz
zquestz / KubernetesBitcoinConfigs.md
Last active Jun 22, 2019
GCE Kubernetes Bitcoin Configs
View KubernetesBitcoinConfigs.md

Bitcoin Kubernetes Configs

The following guide will walk you through creating a bitcoin full node within GKE (Google Container Engine).

By default Bitcoin ABC is used, however this can be swapped for any other node quite easily.

If you wish to run another version of bitcoind, just change the image reference in bitcoin-deployment.yml. There are tons of images available on the Docker Hub. Better yet, build your own. =)

The source for the included image is available at: https://github.com/zquestz/docker-bitcoin

View gist:f4354fa48973e48f06864902692cba84
Verifying that "zquestz.id" is my Blockstack ID. https://onename.com/zquestz
View visago_sample.json
{
"all": {
"assets": [
{
"name": "http://digital-photography-school.com/wp-content/uploads/flickr/2746960560_8711acfc60_o.jpg",
"tags": {
"ancient": [
{
"name": "ancient",
"score": 0.07079402788556059,
View thread_pool.rb
require 'thread'
class ThreadPool
attr_reader :queue, :threads
def initialize(size = 10)
@queue = Queue.new
@threads = []
size.times do
View php_file_search.php
<?php
function check_terms($line, $search_terms) {
$retval = true;
$matrix = array();
foreach ($search_terms as $term) {
if (strpos(strtolower($line), strtolower($term)) > 0) {
array_push($matrix, true);
} else {
array_push($matrix, false);
}
You can’t perform that action at this time.