Skip to content

Instantly share code, notes, and snippets.

View Benzi's full-sized avatar
typeof benzi === 'object'

Benzi

typeof benzi === 'object'
View GitHub Profile
@Benzi
Benzi / getSoundcloudLink.js
Created September 4, 2015 15:35
You can use this to get the Soundcloud permalink from a track ID.
@Benzi
Benzi / removeDonateBanner.js
Created September 14, 2015 22:40
This is used to remove the donate banner on plug.dj (Paste this in the console)
document.getElementById('donate-box').remove();
document.querySelector('.show-donate').style.top = '47px';
document.querySelector('#chat-messages').style.height = '432px';
@Benzi
Benzi / upgradeNodeJS.sh
Last active September 17, 2015 14:18
Use this to upgrade node.js (version 4.1.0) - ubuntu
sudo npm cache clean -f && sudo npm install -g n && sudo n 4.1.0 && node -v

Keybase proof

I hereby claim:

  • I am benzi on github.
  • I am benzi (https://keybase.io/benzi) on keybase.
  • I have a public key ASB91pSJY5vUQVsDKyAjUPKh9jEdgee6LY9thOLxMKdycwo

To claim this, I am signing this object:

@Benzi
Benzi / amazon-smile-switch-banner.user.js
Last active July 18, 2021 16:30
A user script that displays a banner to suggest switching to Amazon Smile when you're browsing Amazon's main website
// ==UserScript==
// @name Amazon Smile switch banner
// @namespace benzi.io
// @version 0.3
// @description Displays a banner to suggest switching to Amazon Smile when you're browsing Amazon's main website
// @author Benzi <benzi@benzi.io>
// @match *://amazon.co.uk/*
// @match *://www.amazon.co.uk/*
// @icon https://i.imgur.com/RrKpd9P.png
// @grant GM_addStyle