Skip to content

Instantly share code, notes, and snippets.

View gbraad's full-sized avatar
👨‍👩‍👦‍👦
Working from home

Gerard Braad gbraad

👨‍👩‍👦‍👦
Working from home
View GitHub Profile
@gbraad
gbraad / README.md
Last active August 30, 2017 08:09
Example of how to use BugzillaClient

Example of how to use BugzillaClient

@gbraad
gbraad / README.md
Last active March 30, 2022 12:07 — forked from dchest/post-update
Git post-update hook

Git post-update hook

Checkout working copy and publish it. Put into .git/hooks and chmod +x post-update

For use with bare and non-bare repositories.

@gbraad
gbraad / README.md
Last active September 7, 2023 11:57
The core algorithm/TOTP implementation used by GAuth: http://github.com/gbraad/gauth/, https://gauth.apps.gbraad.nl
@gbraad
gbraad / README.md
Last active August 30, 2017 14:55
Deferred JavaScript

Deferred

Don't ever use $.get or $.post. Instead use $.ajax and provide both a success-handler and an error-handler.

A deferred objects has two properties, it is a state object, and it takes care of callback management.

Upon creation of Deferred the state is 'pending'

	var def = $.Deferred();
@gbraad
gbraad / README.md
Last active May 16, 2022 17:42
Import SSH-keys from GitHub

Import SSH-keys from GitHub

vagrant up
vagrant ssh -c "curl -L https://github.com/{your-username}.keys >> /home/vagrant/.ssh/authorized_keys"
@gbraad
gbraad / README.md
Last active August 30, 2017 08:22
Testfile for HTML rendering of ePUB

Testfile for HTML rendering of ePUB

@gbraad
gbraad / Eldrazi Awakens G.dck
Last active August 29, 2015 14:19
CardForge custom user decks
[metadata]
Name=Eldrazi Awakens [G]
[Main]
2 All Is Dust|ROE
2 Artisan of Kozilek|ROE
2 Awakening Zone|PC2
2 Broodwarden|ROE
2 Eldrazi Conscription|ROE
4 Eldrazi Temple|ROE
1 Emrakul, the Aeons Torn|ROE
@gbraad
gbraad / README.md
Last active August 30, 2017 08:03
Fling website to MatchStick or flingd

Fling website to MatchStick or flingd

@gbraad
gbraad / README.md
Last active November 16, 2015 20:39
On-device deployment of system-server

On-device deployment of system-server

Some issues still exist on device;

  • cp -r in local-file.js is not performed
  • application path becomes /data/local/haibu/apps/user/clock/app.js/[application]

Development environment at https://ide.c9.io/gbraad/makermade-systemserver does not suffer from these issues.