Skip to content

Instantly share code, notes, and snippets.

{"version":1,"resource":"file:///Users/jonyardley/Dev/Intrada/test-server/Cargo.toml","entries":[{"id":"8L7U.toml","source":"Undo Create Diff","timestamp":1750939241383},{"id":"GjhM.toml","source":"Undo Chain Diff","timestamp":1750939264946},{"id":"Bdyw.toml","timestamp":1750939343720},{"id":"uYDW.toml","timestamp":1750939367524},{"id":"tuIl.toml","timestamp":1750939399520},{"id":"6aAZ.toml","timestamp":1750939441193},{"id":"kwse.toml","source":"Undo Create Diff","timestamp":1750939475881},{"id":"1hkb.toml","source":"Undo Accept Diff","timestamp":1750939517474},{"id":"9bn4.toml","timestamp":1750939530158}]}

Keybase proof

I hereby claim:

  • I am jonyardley on github.
  • I am jonyardley (https://keybase.io/jonyardley) on keybase.
  • I have a public key ASCB9HLy0Iconf7_ZUjhKUTa-zyPGH4hthXdZ1_nutWSHwo

To claim this, I am signing this object:

@jonyardley
jonyardley / Dockerfile
Last active March 3, 2023 21:12
Precompile Ruby on Rails assets with Docker
ARG ASSET_HOST
RUN bundle exec rake ASSET_HOST=${ASSET_HOST} RAILS_ENV=production assets:precompile
@jonyardley
jonyardley / docker-cheat.sh
Created August 3, 2015 11:39
Docker Cheatsheet
###
# Docker CheatSheet
###
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
@jonyardley
jonyardley / queue.js
Created March 6, 2014 10:13
JS Non-bocking Loop / Queue
define(['app'], function(App){
//script inspired by: http://debuggable.com/posts/run-intense-js-without-freezing-the-browser:480f4dd6-f864-4f72-ae16-41cccbdd56cb
App.queue = function(){
var queue = {
_timer: null,
_queue: [],
add: function(queueName, fn, context, time) {