Skip to content

Instantly share code, notes, and snippets.

View QNimbus's full-sized avatar
🎯
Focusing

Bas QNimbus

🎯
Focusing
  • The Netherlands
View GitHub Profile
@QNimbus
QNimbus / stadia-fullscreen.user.js
Last active January 22, 2020 16:37
TamperMonkey script to enable double-click of mousebutton to switch Stadia to fullscreen mode
// ==UserScript==
// @name Stadia Fullscreen
// @namespace Stadia
// @version 0.3
// @description Will force fullscreen on any Stadia launch URL for the first click.
// @author EricLowry
// @include /^https:\/\/stadia\.google\.com\/(u\/[0-9]+\/)?player\/.+/
// @grant none
// @downloadURL https://gist.github.com/QNimbus/09f036615ced9f873a5b3d16849b6a91
// ==/UserScript==
@QNimbus
QNimbus / gist:2c1d029137bce325ef493f9f62d64435
Created March 30, 2019 10:18
Delete a file/folder from your entire git history
git filter-branch --tree-filter 'rm -rf dist' --prune-empty HEAD
git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d
cat <<EOT > .gitignore
node_modules/
dist/
EOT
git add .gitignore
git commit -m 'Removing dist from git history'
git gc