Skip to content

Instantly share code, notes, and snippets.

View mountainash's full-sized avatar
💭
Coding for pay. Coding for pleasure.

Mountain/\Ash mountainash

💭
Coding for pay. Coding for pleasure.
View GitHub Profile
@mountainash
mountainash / smtp-nodejs.mjs
Created February 24, 2023 11:00
A Node.JS script that can be run from the command line
#!/usr/bin/env node
/* eslint-disable no-console */
import { createTransport } from 'nodemailer';
/* Usage:
1. Copy this file to a directory of your choice
2. Edit the config object below to match your SMTP server
3. `npm install nodemailer`
4. Run the script with `node smtp-test.mjs`
*/
@mountainash
mountainash / Github Issue Labels.md
Last active January 8, 2024 16:40
A starting point for some good Github/Gitlab issue labels/tags with emojis
Label Name Description Color
🐜 bug Unexpected problem or unintended behaviour #FF8787
💎 feature Feature request or enhancement #86E5FF
🧹 refactor Cleanup or improvement #D7D3F5
📦 dependencies Update a dependency files #EEE3CB
🔨 wip Work In Progress - not finished working on it #FFB26B
📝 docs Improvements or additions to documentation #FFE15D
🕳️ wontfix This request won't be fixed #FFFFFF
@mountainash
mountainash / Website-Checklist.md
Created November 1, 2022 12:53
A checklist of tasks to do when building a website
  • Output valid code:
    • HTML
    • CSS
    • JS
  • SEO
    • sitemap.xml
    • robots.txt
    • Google Search Console (verification)
  • Extending the Browser
  • favicon.ico
@mountainash
mountainash / uninstall-blackpixel-versions.app.md
Created July 23, 2020 07:44
Uninstall Black Pixel SVN Subversion Versions App from Apple MacOS

Files to delete:

  • /Applications/Versions.app
  • ~/Library/Application Support/Versions
  • ~/Library/Application Support/com.blackpixel.versions
  • ~/Library/Caches/com.blackpixel.versions
  • ~/Library/Caches/io.fabric.sdk.mac.data/com.blackpixel.versions
  • ~/Library/Preferences/com.blackpixel.versions.plist
  • ~/Library/Preferences/com.blackpixel.versions.plist.lockfile
  • ~/Library/Preferences/com.madebysofa.Versions.plist
@mountainash
mountainash / Logitech-SPOLTLIGHT-Media-Remote-Control-double_tap_volume.json
Created July 5, 2020 20:39
Karabiner Logitech SPOLTLIGHT Media Remote Control
{
"title": "Logitech Spotlight as Media Remote Control",
"rules": [
{
"description": "Play/Pause (double press to increase volume) 12",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_arrow"
@mountainash
mountainash / OhDear-IP-pattern.txt
Created February 13, 2020 10:07
OhDear.app Google Analytics Filter Patten (as at 13/02/2020)
45\.32\.146\.84|165\.227\.38\.220|139\.59\.75\.39|45\.76\.59\.200|45\.32\.189\.194|45\.76\.46\.251|165\.22\.95\.234|95\.179\.211\.184|94\.176\.99\.159