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
"indentRainbow.colors": [
"rgba(28, 40, 51, 0.05)",
"rgba(33, 47, 60, 0.05)",
"rgba(81, 90, 90, 0.05)",
"rgba(95, 106, 106, 0.05)",
"rgba(121, 125, 127,0.05)",
"rgba(151, 154, 154,0.05)"
],
@mountainash
mountainash / search-mailplane.txt
Last active June 17, 2019 08:31
Alfred Custom Search for Gmail inside of Mailplane (replace [USERNAME] in string)
alfred://customsearch/Search%20Mailplane%20for%20%7Bquery%7D/gmail/utf8/nospace/mailplane%3A%2F%2F[USERNAME]%2540gmail.com%2F%23search%2F%7Bquery%7D
@mountainash
mountainash / mooresholiday-deboarah.php
Created January 17, 2018 13:00
Deborah in lights
#!/usr/bin/php
<?php
/**
* Deborah
* black lights indicate the remaining days until she gets here
* white lights mark them off
* so more lights are lit up when she arrives!
*/
include 'class.holiday.secretapi.php'; // from https://github.com/Djelibeybi/PHP-Holiday-SecretAPI
@mountainash
mountainash / html-datefield.html
Created June 19, 2017 21:18
HTML5 Date Field
<input type="date" name="date" id="date" pattern="(?:(?:0[1-9]|1[0-2])[\/\\-. ]?(?:0[1-9]|[12][0-9])|(?:(?:0[13-9]|1[0-2])[\/\\-. ]?30)|(?:(?:0[13578]|1[02])[\/\\-. ]?31))[\/\\-. ]?(?:19|20)[0-9]{2}" placeholder="MM/DD/YYYY" required>
{
// http://eslint.org/docs/rules/
"ecmaFeatures": {
"arrowFunctions": false, // enable arrow functions
"binaryLiterals": false, // enable binary literals
"blockBindings": false, // enable let and const (aka block bindings)
"classes": false, // enable classes
"defaultParams": false, // enable default function parameters
"destructuring": false, // enable destructuring