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 / 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 / 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 / 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 / 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 / you-to-google-link.js
Last active October 18, 2023 14:01
Arc Boost: You.com to Google.com Search Link
@mountainash
mountainash / pipeline-emojies.md
Last active October 16, 2023 10:35
Emojis for Pipelines

Emojis good for Developer Use

Notifications

  • ⚠️ ❗️
  • ⛔ 🚫 🛑
  • ❌ ❎
  • 💀
@mountainash
mountainash / init7-console-log.js
Created August 1, 2023 09:32
Init7 Console Log - Get A Job
(function() {
if (window.console && window.console.log && !DEBUG) {
const data = {
logo: {
ascii: " _ _ _\n | | _ __ (_) _/ |_ _____\n | || '_ \\| ||_ _||___ |\n | || | | || | | |_ / /\n |_||_| |_||_| \\__| / /\n /_/",
binary: '01001001 01101110 01101001 01110100 00110111'
},
desc: {
de: 'Hallo Coder-Kollege! Bist du Nerdisch by nature und Intuitiv?\nCool - dann besuch doch {cta} und finde deinen Traumjob.\nWir freuen uns mit dir zu coden. ;-)',
fr: 'Salut ami codeur! Es-tu intuitif et nerd par nature?\nAlors visite {cta} et trouve l’emploi de tes rêves!\nAu plaisir de coder avec toi! ;-)',
@mountainash
mountainash / aptabase-zaraz.js
Last active October 24, 2023 19:00
Aptabase website tracking using Cloudflare Zaraz
/**
*
> This Cloudfare Workers script takes a request from Zaraz
Use the Zaraz **HTTP Request Tool** with an endpoint set to the Worker URL running this script, with a trigger of **Pageview**, using the **POST JSON** method, with **Send all System and Client data** checked for each **pageView** and sends it to Aptabase's **HTTP API**.
Notes:
- Create an Environment Variable called `APATABASE_KEY` and set it to your API Key
- The endpoint is set to Europe, change to USA or self-hosted as needed
- toggle `isDebug` to `false` when you're ready to go live