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 April 3, 2023 04:05
My JSON resume
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Benjamin Kaiser",
"label": "Senior Software Engineer at Microsoft",
"image": "",
"email": "[email protected]",
"phone": "",
"url": "https://github.com/benkaiser",
"summary": "As a software engineer with expertise in front-end and full-stack development, I have a proven track record of creating end-to-end solutions for complex web-based systems. With experience working on OneDrive and SharePoint for Microsoft, I have developed proficiency in JavaScript, TypeScript, React, and other modern web technologies. My accomplishments include contributing to the offline support for Microsoft Lists, building progressive web applications for OneDrive, and improving the commenting experience in SharePoint. In 2013, I was recognized by Google Code-In as one of 20 grand prize winners to spend time with Googlers in San Francisco. As a strong collaborator and agile team member, I t
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