Skip to content

Instantly share code, notes, and snippets.

View mermop's full-sized avatar
💛

Merrin Macleod mermop

💛
View GitHub Profile
@mermop
mermop / export-devices.js
Last active January 13, 2021 04:35
Export all active devices
// View by: device
// Device +
// Scroll to bottom to load everything
// This downloads a file with no defined name - you'll need to rename it to something.csv
// Could break at any time
var deviceTable = document.querySelector('.popup-wrapper ess-table')
var tableRows = deviceTable.querySelectorAll('.particle-table-row')
var firstRow = tableRows.item(1)
@mermop
mermop / index.html
Created July 14, 2019 23:17
Respect do not track when loading Google Analytics
<!-- borrowing from https://stackoverflow.com/questions/950087/how-do-i-include-a-javascript-file-in-another-javascript-file -->
<script>
var ga_id = "UA-your-id-here"
function DNT () {
if ('msDoNotTrack' in navigator) return navigator.msDoNotTrack;
if ('doNotTrack' in window) return window.doNotTrack;
if ('doNotTrack' in navigator) return navigator.doNotTrack;
return 0;
};
function dynamicallyLoadScript(url, callback) {
@mermop
mermop / metal.rb
Created August 21, 2017 10:51
metal bands
speed_metal =[
"Accept",
"Agent Steel",
"Anthrax",
"Annihilator",
"Anvil",
"Atomkraft",
"Avenger",
"Black Death (American band)",
"Blind Guardian",
@mermop
mermop / wellrailed-notes.md
Last active October 26, 2016 21:37
WellRailed 26 October

Wellrailed

2016/10/26

↩ (Free, as in sponsored) drinks in the fridge!

Sponsor love

@mermop
mermop / emoji.md
Last active June 22, 2016 02:02
For seeing what a pull request, story, or commit is about at a glance ✨

Emoji-based development classification scheme

For seeing what a pull request, story, or commit is about at a glance ✨

  • 🚩 - feature
  • 🐛 - bug
  • 🔥 - hotfix
  • 🐂 - yak shave
  • 🎨 - visual design change
  • 🛠 - chore

Keybase proof

I hereby claim:

  • I am mermop on github.
  • I am merrin (https://keybase.io/merrin) on keybase.
  • I have a public key whose fingerprint is 57C7 2916 EF8B CE5D 1590 D8BF 1C1E 90FD 434B 506A

To claim this, I am signing this object: