Skip to content

Instantly share code, notes, and snippets.

View keithlayne's full-sized avatar
🚎

Keith Layne keithlayne

🚎
View GitHub Profile
@keithlayne
keithlayne / output.json
Created February 2, 2023 18:27
xml2js output from svg using namespaces
{
"svg": {
"$": {
"xmlns:rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"xmlns": "http://www.w3.org/2000/svg",
"version": "1.0",
"xmlns:cc": "http://creativecommons.org/ns#",
"xmlns:dc": "http://purl.org/dc/elements/1.1/",
"viewBox": "0 0 266 312"
},
@keithlayne
keithlayne / machine.js
Created December 7, 2020 22:16
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@keithlayne
keithlayne / .yarnrc.yml
Created May 4, 2020 14:08
(Post)graphile package extensions for yarn 2 (works in strict mode)
packageExtensions:
"@apollo/react-hooks@*":
peerDependencies:
apollo-utilities: "*"
"@apollo/react-ssr@*":
peerDependencies:
"@types/react": "*"
apollo-client: "*"
apollo-utilities: "*"
graphql: "*"

Keybase proof

I hereby claim:

  • I am keithlayne on github.
  • I am keithlayne (https://keybase.io/keithlayne) on keybase.
  • I have a public key ASA8FsdSpLSws2Ok82GQhYYFbCLljFj5u6G_00yDu8stQQo

To claim this, I am signing this object:

diff --git a/config/deploy.rb b/config/deploy.rb
index d433aad..c222728 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -45,6 +45,7 @@ set :resque_service_name, ->{ "#{fetch :application}_#{fetch :rails_env}-resque"
set :unicorn_service_name, ->{ "#{fetch :application}_#{fetch :rails_env}-unicorn" }
namespace :deploy do
+ desc 'Load db/schema.rb'
task :load_schema do
@keithlayne
keithlayne / SassMeister-input-HTML.jade
Last active August 29, 2015 14:22
Generated by SassMeister.com.
.body
.table-wrapper
.table.tilt-right
.table-row.top-level
.table-cell
.table
.table-row
.table.leaf
.table-cell.leaf: .tilt-left 1
.table-row