Skip to content

Instantly share code, notes, and snippets.

Avatar
👀
Open to new opportunities

Glenn 'devalias' Grant 0xdevalias

👀
Open to new opportunities
View GitHub Profile
@0xdevalias
0xdevalias / unofficial-viome-api-endpoints-data-export-backup.md
Last active Sep 25, 2020
(unofficial) Guide to Viome API Endpoints, Data Export and Backup
View unofficial-viome-api-endpoints-data-export-backup.md

(unofficial) Guide to Viome API Endpoints, Data Export and Backup

Since Viome doesn't appear to offer us a way to export our data aside from as a PDF, I was inspired to have a look if I could see it any other way.


The CEO says that they don't release the raw data:

@0xdevalias
0xdevalias / README.md
Last active Mar 10, 2019
Implementing Redux style reducers/actions/middleware with React Hooks
View README.md

I wanted to play around with React hooks, and I like patterns from Redux, so I figured.. why not combine them?

This implementes a Proof of Concept (PoC) 'local state' using hooks/reducers, but also has the ability to use Redux middleware (eg. thunks, sagas, etc)

@0xdevalias
0xdevalias / Gopkg.toml
Created Jul 17, 2018
Golang application state pattern boilerplate/reference code
View Gopkg.toml
[prune]
go-tests = true
unused-packages = true
[[constraint]]
name = "github.com/sirupsen/logrus"
version = "1.0.5"
[[constraint]]
name = "github.com/pkg/errors"
View gist:1dc29eae8faa566175a7632182e57520
Verifying my Blockstack ID is secured with the address 1HdsXwLpYZXGGzerkoDSacA5Dinj7MSeAR https://explorer.blockstack.org/address/1HdsXwLpYZXGGzerkoDSacA5Dinj7MSeAR
View keybase.md

Keybase proof

I hereby claim:

  • I am 0xdevalias on github.
  • I am devalias (https://keybase.io/devalias) on keybase.
  • I have a public key whose fingerprint is 4064 5864 7390 BD36 E415 7974 482E 543A 4FE7 484B

To claim this, I am signing this object:

View jquery-release-notes.md
@0xdevalias
0xdevalias / nyaan.md
Last active Dec 3, 2015
Nyaan cat js console hacks for dogedraw.com
View nyaan.md

Dogedraw, now with more Nyaan!

Paste these functions into the js console on https://dogedraw.firebaseapp.com and run them to nyaan nyaan nyaan..

Developed at http://hs.hact.io 2015!!

function clearScreen(w, h, color) {
  var pixelDataRef = new Firebase('https://dogedraw.firebaseio.com/pixels');
  for (var i = 0; i < h; i++) {
@0xdevalias
0xdevalias / hshact.md
Last active Aug 29, 2015
Snippets for HS.HACT 2015
@0xdevalias
0xdevalias / places-to-work.md
Last active Sep 25, 2018
Places it would be cool to work
View places-to-work.md
@0xdevalias
0xdevalias / un-xecryption.py
Created Jan 12, 2015
Somewhat manual, pretty hacky 'toolkit' for breaking XECryption
View un-xecryption.py
# Somewhat manual, pretty hacky 'toolkit' for breaking XECryption
with open ("enc.txt", "r") as encfile:
encdata=encfile.read().replace('\n', '')
encsplit = encdata.split(".")
#print encsplit
encsplitlen = len(encsplit)
print "Total numbers: {}".format(encsplitlen)