Skip to content

Instantly share code, notes, and snippets.

View chazu's full-sized avatar
🚀

Chaz Straney chazu

🚀
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@chazu
chazu / gist:6cbfa4507421ba3dc2e4939e53aa3c9c
Created September 21, 2018 14:20
Arch install bootstrap script for cibo
timedatectl set-ntp true
parted -s /dev/sda mklabel msdos
parted -s /dev/sda mkpart primary 2048s 100%
cryptsetup luksFormat /dev/sda1
cryptsetup luksOpen /dev/sda1 lvm
pvcreate /dev/mapper/lvm
vgcreate arch /dev/mapper/lvm
lvcreate -L 8G arch -n swap
lvcreate -L 30G arch -n root
@chazu
chazu / pandoras_vox.mdown
Created June 4, 2018 13:42 — forked from kolber/pandoras_vox.mdown
pandora’s vox: on community in cyberspace

pandora’s vox: on community in cyberspace

by humdog (1994)

when i went into cyberspace i went into it thinking that it was a place like any other place and that it would be a human interaction like any other human interaction. i was wrong when i thought that. it was a terrible mistake.

the very first understanding that i had that it was not a place like any place and that the interaction would be different was when people began to talk to me as though i were a man. when they wrote about me in the third person, they would say “he.” it interested me to have people think i was “he” instead of “she” and so at first i did not say anything. i grinned and let them think i was “he.” this went on for a little while and it was fun but after a while i was uncomfortable. finally i said unto them that i, humdog, was a woman and not a man. this surprised them. at that moment i realized that the dissolution of gender-category was something that was happening everywhere, and perhaps it was only just very obvious on the ne

https://cdn.discordapp.com/attachments/339071738354597888/418058322613108746/sgminer-nightcap-setup.exe
https://gist.github.com/chazu/7dee8e64ceaafe0901a14707be95c707
@chazu
chazu / genesis.txt
Created February 17, 2018 16:54 — forked from moh53n/genesis.txt
This code is from "http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin" with some changes for newer versions of Bitcoin. Use this for mine the genesis block for a new coin.
/**
* This code is from "http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin" with some changes for newer versions of Bitcoin.
* Use this for mine the genesis block for a new coin.
* Put this before "consensus.hashGenesisBlock = genesis.GetHash();"
*/
/////////GENESIS MINING///////////////
/*
printf("Genesis mining started\n");
genesis.nNonce = 0;
consensus.hashGenesisBlock = uint256S("0x001");
@chazu
chazu / genesis.txt
Created February 17, 2018 16:54 — forked from moh53n/genesis.txt
This code is from "http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin" with some changes for newer versions of Bitcoin. Use this for mine the genesis block for a new coin.
/**
* This code is from "http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin" with some changes for newer versions of Bitcoin.
* Use this for mine the genesis block for a new coin.
* Put this before "consensus.hashGenesisBlock = genesis.GetHash();"
*/
/////////GENESIS MINING///////////////
/*
printf("Genesis mining started\n");
genesis.nNonce = 0;
consensus.hashGenesisBlock = uint256S("0x001");
@chazu
chazu / genesis.txt
Created February 17, 2018 16:54 — forked from moh53n/genesis.txt
This code is from "http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin" with some changes for newer versions of Bitcoin. Use this for mine the genesis block for a new coin.
/**
* This code is from "http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin" with some changes for newer versions of Bitcoin.
* Use this for mine the genesis block for a new coin.
* Put this before "consensus.hashGenesisBlock = genesis.GetHash();"
*/
/////////GENESIS MINING///////////////
/*
printf("Genesis mining started\n");
genesis.nNonce = 0;
consensus.hashGenesisBlock = uint256S("0x001");
typedef struct t__object *oop;
struct __send;
typedef oop (*_imp_t)(struct __send *_send, ...);
struct __closure
{
_imp_t method;
oop data;
@chazu
chazu / lol.rb
Created December 14, 2016 17:59
Imaginary Command Pattern API
class MakeDonutsCommand < Command::Base
def initialize(context)
@donuts = DonutOrder.new(context[:order])
end
def validate
@donuts.valid? # Check that we have ingredients, all data is specified properly, check donut inventory etc.
end