Skip to content

Instantly share code, notes, and snippets.

View benkaiser's full-sized avatar
🌴
Loving Life

Benjamin Kaiser benkaiser

🌴
Loving Life
View GitHub Profile
@benkaiser
benkaiser / CE4933D0.pnach
Created December 15, 2023 10:51
Ratchet and Clank 1 PS2 Cheat Codes
gametitle=Ratchet & Clank (NTSC-U)
comment=Good cheats
//Health
patch=1,EE,201415F8,extended,3E7
//Bolts (Money)
patch=1,EE,2015ED98,extended,F423F
@benkaiser
benkaiser / hosts
Last active June 11, 2023 12:41
Chess hosts
0.0.0.0 lichess.org
0.0.0.0 chess.com
0.0.0.0 www.lichess.org
0.0.0.0 www.chess.com
@benkaiser
benkaiser / resume.json
Last active January 28, 2026 10:50
My JSON resume
{
"basics": {
"name": "Benjamin Kaiser",
"label": "Senior Software Engineer",
"image": "",
"email": "jobs@benkaiser.dev",
"phone": "+61491677888",
"url": "https://github.com",
"summary": "Following the completion of my masters, I have worked at Microsoft for 4 years in the SharePoint and Azure teams. With over 5 years of full-time experience as a Software Engineer and over 3 years part-time, my primary skills are in full-stack web development with a focus on highly performant front-end experiences. I am very passionate about open source and the future of the web and I would love to see my work push the boundaries of what is possible with web technology.",
"location": {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benkaiser
benkaiser / privacy.md
Last active June 17, 2022 03:42
Privacy Policy

We store no information sent to us.

@benkaiser
benkaiser / script.sh
Last active May 30, 2017 04:05
Shrinking unsplash photos to watch size
# remove all exif tags (not needed)
for i in *.jpeg; do exiftool -overwrite_original -all= "./$i"; done
# resize images
for i in *.jpeg; do convert "./$i" -quality 70 -geometry 400x400^ -gravity center -crop 400x400+0+0 "./$i"; done
@benkaiser
benkaiser / index.js
Created November 9, 2016 11:50
facebook-chat-api getThreadHistory broken
// es6 code, run with `FB_EMAIL=email FB_PASSWORD=password node --harmony index.js`
let login = require('facebook-chat-api');
let util = require('util');
let async = require('async');
// Create simple echo bot
login({ email: process.env.FB_EMAIL, password: process.env.FB_PASSWORD }, (err, api) => {
if (err) return console.error(err);
api.getThreadInfo('SOME_BIG_THREAD_ID', (err, info) => {
@benkaiser
benkaiser / POLICY.md
Created October 29, 2016 07:30
Stretto Sync Privacy Policy

No Personal Data is Collected

That is all.

@benkaiser
benkaiser / find_metadata_by_fingerprint.js
Created January 4, 2016 02:27
find music brainz metadata by fingerprint and then try fetch coverart
var acoustid = require('acoustid');
var CA = require('coverart');
var ca = new CA({userAgent:'test/0.0.1 ( http://github.com/user/test )'});
acoustid(process.argv[2], { key: '8XaBELgH' }, callback);
function callback(err, results) {
if (err)
throw err;
var artist = results[0].recordings[0].artists[0].name;
@benkaiser
benkaiser / port_forward.sh
Last active December 4, 2015 02:06
SSH Port forward from kaisercraft machine to my laptop
# variables
LOCAL_PORT_AFTER_FORWARD=9000
FORWARDED_PORT=80
DOMAIN=mail.kaisercraft.com.au
USER=benkaiser
SSH_SERVER_PORT=2222
# command
ssh -p $SSH_SERVER_PORT -L $LOCAL_PORT_AFTER_FORWARD:localhost:$FORWARDED_PORT $USER@$DOMAIN