Skip to content

Instantly share code, notes, and snippets.

View jsmayo's full-sized avatar
👨‍💻

Jesse jsmayo

👨‍💻
View GitHub Profile
@jsmayo
jsmayo / index.html
Created April 20, 2023 22:26
Pure CSS cat animation
<div class="cat">
<div class="ear ear--left"></div>
<div class="ear ear--right"></div>
<div class="face">
<div class="eye eye--left">
<div class="eye-pupil"></div>
</div>
<div class="eye eye--right">
<div class="eye-pupil"></div>
</div>
@jsmayo
jsmayo / always-display-scrollbar-in-mac-os.markdown
Created September 1, 2022 15:15
Always display scrollbar in Mac OS
@jsmayo
jsmayo / css-rock-paper-scissors.markdown
Created July 21, 2022 21:08
CSS Rock-Paper-Scissors

CSS Rock-Paper-Scissors

A Rock-Paper-Scissor game developed in HTML+CSS without any JavaScript.

A Pen by Steven on CodePen.

License.

@jsmayo
jsmayo / snkeepalive.sh
Created January 25, 2020 05:37 — forked from assertivist/snkeepalive.sh
keeps a ServiceNow developer instance awake, at least until the nightly snooze-all
#!/bin/bash
# put your instance id here
instance="dev######"
# make sure your password doesn't have shell operators in it
credentials="admin:password"
while true; do
entropy=`rand`
outdata="{\"short_description\":\"Automated incident $entropy\"}"
@jsmayo
jsmayo / css-filter-generator-to-convert-from-black-to-target-hex-color.markdown
Created November 1, 2019 04:51
CSS filter generator to convert from black to target hex color
@jsmayo
jsmayo / gist:6c1af46efae7c500ac2671b3837d8416
Created October 9, 2019 17:40 — forked from JT5D/gist:a2fdfefa80124a06f5a9
Google translate language codes
Eg. URL translating en page to es
http://translate.google.com/translate?hl=en&sl=en&tl=es&u=http://about.com
Define the web interface language to be English by adding
hl=en to the end of the URL and after the change the URL will look
like this:
http://www.google.com/search?hl=en
When you use more than one setting code in the URL, you need to use
@jsmayo
jsmayo / JournalRedactor.js
Created September 12, 2019 23:31 — forked from thisnameissoclever/JournalRedactor.js
Redact or delete a given journal entry in ServiceNow. Usage documentation: http://redactor.snc.guru/
/*
Script Include
Name: JournalRedactor
Client Callable: false
Accessible from: All scopes
Usage documentation: http://redactor.snc.guru/
*/
var JournalRedactor = Class.create();
JournalRedactor.prototype = {
@jsmayo
jsmayo / angularjs-form-validation.markdown
Created June 19, 2019 01:48
AngularJS Form Validation
@jsmayo
jsmayo / 90-s-cursor-fairy-dust.markdown
Created April 1, 2019 07:01
90's cursor fairy dust

90's cursor fairy dust

1/x of a series of cursor effects, because they're awesome. Thats why.

A Pen by Steven on CodePen.

License.

@jsmayo
jsmayo / pandoc-build.js
Created November 26, 2018 16:41 — forked from jacebenson/pandoc-build.js
Output pandoc command
// just run node pandoc-build.js > output.txt
// that will write the contents of this there
// and then just copy paste that command and
// you should get a good epub.
// I always had to cd to the root of the posts
// directory to run the command.
var fs = require('fs');
var path = require('path');
var output = [
"pandoc -o _book.epub \\\n",