Skip to content

Instantly share code, notes, and snippets.

View tekknikk's full-sized avatar

Nicholas tekknikk

View GitHub Profile
SIGN UP
curl -H "Content-Type:application/json" -H "Accept:application/json" \
-d "{\"user\":{\"password_confirmation\":\"12345678\", \"password\":\"12345678\", \"email\":\"test5@test.com\"}}" \
http://your_server.com/users
SIGN IN
curl -H "Content-Type:application/json" -H "Accept:application/json" \
-d "{\"user\":{\"remember_me\":\"0\", \"password\":\"12345678\", \"email\":\"test5@test.com\"}}" \
http://your_server.com/users/sign_in
@tekknikk
tekknikk / KubernetesBitcoinConfigs.md
Created January 8, 2018 08:11 — forked from zquestz/KubernetesBitcoinConfigs.md
GCE Kubernetes Bitcoin Configs

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

# install openjdk
sudo apt-get install openjdk-7-jdk
# download android sdk
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
tar -xvf android-sdk_r24.2-linux.tgz
cd android-sdk-linux/tools
# install all sdk packages
@tekknikk
tekknikk / ACMMG041.json
Last active January 4, 2016 16:19
math snippet describing ACMNA026, it's concept terms and general capabilities
{
"id": "http://rdf.australiancurriculum.edu.au/elements/2012/08/a1c02171-c43f-4168-b397-9e4600a25384",
"text": "Use a calendar to identify the date and determine the number of days in each month",
"dcterms_modified": {
"literal": "2012-01-23T00:20:23+11:00"
},
"dcterms_subject": {
"uri": "http://vocabulary.curriculum.edu.au/framework/M",
"prefLabel": "Mathematics"
},
@tekknikk
tekknikk / redis_node.log snippet
Last active December 28, 2015 15:49
Redis Log Audit
[2013-11-18 08:11:56.571246] redis_node_100_0 - pid=1120 tid=24c4 fid=7ce4 WARN -- Failed to get instance ce8e2f24-ec5e-477f-ab4c-4f1511b31fa2 varz details: Error Code: 31107, Error Message: Could not connect redis instance
[2013-11-18 08:12:04.192050] redis_node_100_0 - pid=1120 tid=2952 fid=4e52 DEBUG -- RaaS-Node: Sending announcement for everyone
[2013-11-18 08:12:26.574858] redis_node_100_0 - pid=1120 tid=a721 fid=b5f6 WARN -- Failed to get instance ce8e2f24-ec5e-477f-ab4c-4f1511b31fa2 varz details: Error Code: 31107, Error Message: Could not connect redis instance
[2013-11-18 08:12:34.196544] redis_node_100_0 - pid=1120 tid=2952 fid=4e52 DEBUG -- RaaS-Node: Sending announcement for everyone
[2013-11-18 08:12:56.578844] redis_node_100_0 - pid=1120 tid=3414 fid=9a8a WARN -- Failed to get instance ce8e2f24-ec5e-477f-ab4c-4f1511b31fa2 varz details: Error Code: 31107, Error Message: Could not connect redis instance
[2013-11-18 08:13:04.200119] redis_node_100_0 - pid=1120 tid=2952 fid=4e52 DEBUG -- R
@tekknikk
tekknikk / gist:6791867
Created October 2, 2013 10:41
bosh upload release success log
ubuntu@ip-10-224-52-226:/mnt/releases/specter_iota_zeta/cf-release/releases$ bosh upload release /mnt/releases/specter_iota_zeta/cf-release/releases/cf-143.yml
Copying packages
----------------
rootfs_lucid64 (1) SKIP
saml_login (10) FOUND REMOTE
Downloading e50fec06-b9e2-442a-bfdd-34db566a1fdb...
git (1) FOUND REMOTE
Downloading rest/objects/4e4e78bca31e122204e4e9863b1b7405007172e97743...
ruby (9) FOUND REMOTE

Keybase proof

I hereby claim:

  • I am tekknikk on github.
  • I am tekknikk (https://keybase.io/tekknikk) on keybase.
  • I have a public key whose fingerprint is 2AF6 A73A FB61 09CC 263A 496A 2B67 1CED 10A2 718E

To claim this, I am signing this object: