Skip to content

Instantly share code, notes, and snippets.

@abhionlyone
abhionlyone / Capfile
Last active April 20, 2022 19:53
create-react-app with capistrano for automated deployments
require "capistrano/setup"
require "capistrano/deploy"
require "capistrano/scm/git"
require 'capistrano/npm'
install_plugin Capistrano::SCM::Git
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
@bcjordan
bcjordan / chrome34Workaround.js
Created May 15, 2014 18:09
chrome34Workaround.js
/**
* Blockly-dev-test-page-only temporary workaround for Chrome 34 SVG bug #349701
*
* - Loads jQuery from googleapis.com
* - Workaround mostly copied from Dashboard
* - Assumes 2 seconds is long enough for jQuery load
*
* Bug details: https://code.google.com/p/chromium/issues/detail?id=349701
* tl;dr: only the first clippath in a given svg element renders
*