Skip to content

Instantly share code, notes, and snippets.

Chase Adams chaseadamsio

Block or report user

Report or block chaseadamsio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Introduction to Docker

Self-Paced Training Url: Docker Self-Paced Training

📝 denotes an exercise


  • Agenda [1:50]
  • What Is Docker / Background / History? [2:25]
chaseadamsio / moveFilesToNameWithDate.js
Last active Mar 20, 2019
script for mass moving files to <date-published>-<filename>
View moveFilesToNameWithDate.js
* utility I used to rename all of my files based on the date
* so that I can use netlify+dropbox to "schedule" posts
* Example...
* original filepath: Apps/
* frontmatter contains "date: "2019-01-01"
* new filepath: Apps/
const fs = require("fs");
const path = require("path");
View .gitignore
# Logs
# Runtime data
# Directory for instrumented libs generated by jscoverage/JSCover

Selecting a Task Manager

Selecting a task management system has been a difficult task. I have a few options but I know what I like and none of the options I’ve found fit the bill.

  • What I’m looking for
  • A list of task managers
  • What I like/dislike about them all

What I’m looking for

chaseadamsio / .bowerrc
Last active Oct 2, 2017
Gist for example bower project blog post.
View .bowerrc
"directory": "src/_lib",
"json": "bower.json"

Keybase proof

I hereby claim:

  • I am chaseadamsio on github.
  • I am chaseadamsio ( on keybase.
  • I have a public key ASBErgIAqNdt9en7YSOmVMQqdXP4uZQdCSXLrdZAh9uH0go

To claim this, I am signing this object:

chaseadamsio /
Last active Jul 6, 2016
The post-receive hook that I use for deploying my Wordpress theme on a `git push`.
DEPLOYDIR=$DEPLOYDIR # The place to deploy to.
echo -e "[log] Received push request at $( date +%F)" >> $LOGFILE
echo "[log] - Old SHA: $oldrev New SHA: $newrev Branch Name: $refname" >> $LOGFILE
echo "[log] Starting Deploy..." >> $LOGFILE
chaseadamsio / Gruntfile.js
Last active Mar 19, 2016
Grunt Up & Running from Using Grunt For A Better Workflow.
View Gruntfile.js
'use strict';
var packagejson = require('./package.json');
module.exports = function (grunt) {
// Configuration
pkg: packagejson,
watch: {
scripts: {
chaseadamsio / anchor-image-code.html
Last active Jan 1, 2016
A code example of how to nest an image in an anchor link with Markdown.
View anchor-image-code.html
<!-- The link we want our bower bird to point to -->
<!-- The image url we want to use for our img tag source -->
This will compile to two html nodes:
Anchor: [linked item][1]: <a href="1">linked item</a>
Image: ![alt text][2]: <img src="2" alt="alt text" />
View sample-grunt.js
grunt.event.on('watch', function (action, path, target) {
if (target === 'html' || target === 'css' /* and on and on for your target types in watch */) {
grunt.config(['clean', 'any'], []);
// Making an assumption your using sftp and have a current working directory setup
cwd = grunt.config.get(['sftp', 'cwd']) + '/';
path = path.replace(cwd, '');
grunt.config(['sftp', 'options', 'path'], path);
You can’t perform that action at this time.