Skip to content

Instantly share code, notes, and snippets.


Rob Garrison Mottie

Block or report user

Report or block Mottie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mottie on github.
  • I am regarr ( on keybase.
  • I have a public key ASAWyWLYRvPE3Wqv-L_9Su6zF5ZuqlJZVyS4vePezJ2ZBAo

To claim this, I am signing this object:

Mottie / stylus-error.json
Last active Nov 20, 2018
Stylus update error test
View stylus-error.json
"enabled": true,
"updateUrl": "",
"md5Url": null,
"originalMd5": null,
"installDate": 1542676678468,
"sourceCode": "/* ==UserStyle==\n@name _test\n@namespace\n@version 0.1.0\n@description A new userstyle\n@author Me\n@var color bg \"background\" #000\"\n@updateURL\n==/UserStyle== */\n@-moz-document domain(\"\") {\n body {\n background: var(--bg) !important;\n }\n}",
"sections": [
Mottie / demo.css
Created Oct 23, 2018
View demo.css
/* Use the css below to change the password input symbol */
@font-face {
font-family: 'fontello';
src: url('./font/fontello.eot?0000');
src: url('./font/fontello.eot?0000#iefix') format('embedded-opentype'),
url('./font/fontello.woff2?0000') format('woff2'),
url('./font/fontello.woff?0000') format('woff'),
url('./font/fontello.ttf?0000') format('truetype'),
url('./font/fontello.svg?0000#fontello') format('svg');
font-weight: normal;
Mottie / convert-date-in-md.js
Created Jan 18, 2018
Convert M/D/YYYY format to YYYY-MM-DD in all markdown files in current folder
View convert-date-in-md.js
#!/usr/bin/env node
"use strict";
/* Convert date formats in markdown
* This script converts a "(M/D/YYYY)" date format to "(YYYY-MM-DD)" in *all*
* markdown files within the folder it is placed
* Use `node convert-date-in-md.js` to execute
const fs = require("fs");
Mottie / test.css
Last active Dec 25, 2017
For testing Stylus' CSSLint
View test.css
@-moz-document url("") {
/* */
:focus {
outline: 1px none;
:focus {
outline: 0 red;
:focus {
outline: 1px solid transparent;
Mottie / github-selected-tab-color-uso.user.css
Last active Dec 13, 2017
Selected Tab Color UserStyle
View github-selected-tab-color-uso.user.css
/* ==UserStyle==
@name GitHub Selected Tab Color (uso)
@version v1.0.10
@description Add a custom selected tab color to GitHub
@author StylishThemes (
@license CC-BY-SA-4.0
View test.js
// white space testing
// ok
// test 2
// test
function test( ) {
console.log('ok' ); // 123
View Stylus.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Mottie / diacritics.json
Last active Nov 23, 2016
Spanish Diacritic definition
View diacritics.json
"de": {
"de": {
"metadata": {
"alphabet": "Latn",
"continent": "EU",
"language": "German",
"native": "Deutsch",
"sources": [
View jquery.nval.js
/* jQuery nVal() - A jQuery plugin that return numeric values from form elements
* this plugin uses jQuery .val() so it only uses the first element in the set of matched elements
* Examples:
<input value="1234.567">
$('input').val() // returns '1234.567' (string)
$('input').nVal() // returns 1234.567 (numeric)
$('input').nVal( 10 ) // returns 1234 (number; parseInt base 10 radix)
You can’t perform that action at this time.