Skip to content

Instantly share code, notes, and snippets.

@jlyon
jlyon / git-bash_profile.sh
Last active Feb 1, 2020
git .bash_profile commands
View git-bash_profile.sh
gitListCommands()
{
echo ''
echo 'Git commands:'
echo ''
echo 'alias gb="git branch --sort=-committerdate"'
echo 'alias gbc="git branch {current}"'
echo 'alias gs="git status"'
echo 'alias gd="git diff"'
echo 'alias ga="git add"'
View youtube-bookmarks.html
<!DOCTYPE html>
<html>
<body>
<!--
YouTube Video bookmark selector.
A Handlebars-based selector to create quicklink breakpoints on a Youtube video
-->
<div class="row">
View algoila-product.json
{
"objectID": "444912",
"title": "Samsung MU6100 55\" 4K UHD LED LCD TV",
"primary_title": "Samsung MU6100 55\" 4K UHD LED LCD TV",
"secondary_title": null,
"category_id": 1960,
"category": "HD Televisions",
"updated_at": "2018-04-09T22:45:53.000+10:00",
"handle": "samsung-mu6100-55-4k-uhd-led-lcd-tv",
"vendor": "SAMSUNG",
@jlyon
jlyon / automated-testing.md
Last active Feb 8, 2018
Automated testing
View automated-testing.md

Goals:

  • Tracktor frontend
    • Test weird carriers
    • Test manual status
    • Test maps?
    • Test weird order lookups?
    • Test liquid email link?
  • JB
    • Quickly gather screenshots of common workflows
  • Consumer apps
View gist:dd83f2e039d20149800464cf973cb486
php7cc -o json coin | json_pp > coin.json
php7cc -o json uploadery | json_pp > uploadery.json
php7cc -o json customizery | json_pp > customizery.json
php7cc -o json bouncer | json_pp > bouncer.json
php7cc -o json kitkarts | json_pp > kitkarts.json
php7cc -o json smile | json_pp > smile.json
php7cc -o json tracktor | json_pp > tracktor.json
php7cc -o json pagestudio | json_pp > pagestudio.json
php7cc -o json blogstudio | json_pp > blogstudio.json
@jlyon
jlyon / .block
Last active Oct 12, 2017 — forked from nbremer/.block
Data based orientations in SVG Gradients - Final example - Avenger Movie Collaborations
View .block
height: 1000
@jlyon
jlyon / d3.sketchy.js
Last active Oct 12, 2017 — forked from emeeks/d3.sketchy.js
Sketchy Network II
View d3.sketchy.js
/*global d3:false */
/*jshint unused:false*/
/**
* Initiate the sketchy library
* @constructor
*/
var d3sketchy = function(){
/**
@jlyon
jlyon / .block
Last active Oct 1, 2017 — forked from mbostock/.block
Rainbow Worm
View .block
license: gpl-3.0
@jlyon
jlyon / .block
Last active Oct 1, 2017 — forked from mbostock/.block
Choropleth
View .block
license: gpl-3.0
height: 600
border: no
@jlyon
jlyon / .block
Last active Oct 1, 2017 — forked from mbostock/.block
Epicyclic Gearing
View .block
license: gpl-3.0