Skip to content

Instantly share code, notes, and snippets.

@gaia
gaia / balance-at-cycle.sh
Last active Mar 21, 2019
Tezos; query balance at end of cycle
View balance-at-cycle.sh
#!/bin/bash
# USAGE: script.sh cyclenumber
# EXAMPLE: balance-at-cycle.sh 80
# REQUIRES: bc
# Note that rewards and bond are released on the last block of a cycle.
# For this reason, the amount you get here is the amount at the end of the cycle entered.
# So if you want to find out the balance at the beggining of cycle 80, you'd enter 79 in this script
# See this answer for more info:
@gaia
gaia / ChromeAppDownloader.py
Created Feb 13, 2019 — forked from arulrajnet/ChromeAppDownloader.py
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store.
View ChromeAppDownloader.py
# -*- coding: utf-8 -*-
"""
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store.
Referred from http://chrome-extension-downloader.com/how-does-it-work.php
"""
from __future__ import division
import argparse
import requests
View genesis_public_key
047ad5f2a62779643cd64e5d4217daaae51903f2f0e654c18c0ac5f47591d02f6956a5dc2d29a5fd0cc5ceff86df5ce23f89e532a8b1743c0f59ff4ab8eec40ad8
View raspberry-pi-vpn-router.md

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to:

View keybase.md

Keybase proof

I hereby claim:

  • I am gaia on github.
  • I am eddieb (https://keybase.io/eddieb) on keybase.
  • I have a public key whose fingerprint is 1E9D A50C C5DB F7BD 0AC5 67D5 6357 5EE3 F0F9 FAFC

To claim this, I am signing this object:

You can’t perform that action at this time.