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 / SystemTemp.sh
Last active January 23, 2020 10:52
Script for use with M/Monit to monitor system temperature
#!/bin/sh -e
##
## Title: SystemTemp.sh
## Description: Script for use with M/Monit to monitor system temperature
## Author: B. van wetten
## Created date: 22-01-2020
## Updated date: 23-01-2020
## Version: 0.2
## GitHub Gist: https://gist.github.com/QNimbus/b2ead8cde75bcf9b177b1a9d951d9411
##
@QNimbus
QNimbus / CPUTemp.sh
Last active January 23, 2020 10:54
Script for use with M/Monit to monitor CPU core temperature
#!/bin/sh -e
##
## Title: CPUTemp.sh
## Description: Script for use with M/Monit to monitor CPU core temperature
## Author: B. van wetten
## Created date: 21-01-2020
## Updated date: 23-01-2020
## Version: 0.3
## GitHub Gist: https://gist.github.com/QNimbus/529ab50d7293a42f7bb2924c27b4b951
##
@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