Skip to content

Instantly share code, notes, and snippets.

View pckilgore's full-sized avatar

Patrick Kilgore pckilgore

View GitHub Profile
@pckilgore
pckilgore / perfectelementary.bash
Last active July 4, 2017 13:09
eOS-dev-setup.md
# Download Elementary OS from here:
http://sourceforge.net/projects/elementaryos/files/stable/
# First you update your system
sudo apt-get update && sudo apt-get dist-upgrade
#Clean-up System
sudo apt-get purge scratch-text-editor
sudo apt-get autoremove
sudo apt-get autoclean
@pckilgore
pckilgore / keybase.md
Created April 24, 2018 17:37
My Keybase Proof

Keybase proof

I hereby claim:

To claim this, I am signing this object:

{
"editor.fontFamily": "Hack, 'Ubuntu Mono','Droid Sans Mono', monospace",
"editor.fontSize": 12.5,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 100,
"editor.minimap.enabled": false,
"emmet.syntaxProfiles": {
"javascript": "jsx"
@pckilgore
pckilgore / .travis.yml
Last active September 11, 2018 18:04
Auto deploy and alias your node_js app to production domain with travis-ci.com and now.sh, but only build/test master and PRs.
language: node_js
node_js:
- node
dist: trusty
branches:
only:
- master
cache:
directories:
- $HOME/.npm
@pckilgore
pckilgore / .travis.yml
Last active September 11, 2018 18:12
Only build PRs and master on travis-ci.com
# language: ...
branches:
only: # Creates a whitelist. Any branch not in this list will not build.
- master
# - canary
# - develop
# - etc..
# Do other stuff here.
@pckilgore
pckilgore / validation.js
Last active May 8, 2019 21:31
AppSync `AWSDate` scalar validation regex (JavaScript / ECMAScript)
/**
* LICENSE: MIT
*
* References / attribution:
* date portion:
* - https://www.myintervals.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
* timezone portion:
* - https://www.oreilly.com/library/view/regular-expressions-cookbook/9781449327453/ch04s07.html
*/
@pckilgore
pckilgore / machine.js
Last active January 14, 2020 21:49
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@pckilgore
pckilgore / machine.js
Last active January 16, 2020 20:46
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@pckilgore
pckilgore / machine.js
Created March 5, 2020 00:22
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
@pckilgore
pckilgore / machine.js
Last active May 12, 2020 18:39
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions