Skip to content

Instantly share code, notes, and snippets.

View colbyfayock's full-sized avatar
👨‍🚀

Colby Fayock colbyfayock

👨‍🚀
View GitHub Profile
@colbyfayock
colbyfayock / invalidate-cache.js
Created June 10, 2018 19:50
Invalidate Cloudfront Cache from aws_s3 output in Grunt
// Pulls in the changed files from aws_s3 at run time and pass them
// into cloudfront invalidation
grunt.registerTask('invalidate_cache', 'Invalidate Cloudfront from aws_s3 output', function (subtask) {
var aws_changed = grunt.config.get('aws_s3_changed'),
task = 'cloudfront',
changed_files;
if ( !Array.isArray(aws_changed) ) {
@colbyfayock
colbyfayock / CLI
Created December 4, 2013 19:32
Links and stuffs to read or eventually get to.
http://explainshell.com/
http://www.cyberciti.biz/faq/linux-unix-bsd-xargs-construct-argument-lists-utility/
@colbyfayock
colbyfayock / _Bookmarklets
Created June 14, 2012 12:51 — forked from jacquescrocker/gist:2001302
Misc handy bookmarklets
_