Skip to content

Instantly share code, notes, and snippets.


Neil Millard neilmillard

View GitHub Profile
neilmillard /
Last active Jun 13, 2018 — forked from paulrobello/
Docker registry v2 cleanup script
### your registry must have the following environment var set
### replace YOUR_SERVER with corect info
### host registry volume folder
### container to execute garbage-collect
neilmillard / gist:b7439875ff45c0a12586b29b03239921
Created May 15, 2016 — forked from fernandoaleman/gist:5083680
How to update VirtualBox Guest Additions with vagrant
View gist:b7439875ff45c0a12586b29b03239921
# Start the old vagrant
$ vagrant init centos-6.3
$ vagrant up
# You should see a message like:
# [default] The guest additions on this VM do not match the install version of
# VirtualBox! This may cause things such as forwarded ports, shared
# folders, and more to not work properly. If any of those things fail on
# this machine, please update the guest additions and repackage the
# box.
neilmillard /
Last active Jan 6, 2016 — forked from dfox/
A script to update DNS on Route 53
# Make sure only root can run our script
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
# Defaults
neilmillard /
Created Jan 6, 2016 — forked from diegopacheco/
AWS Route53 Fun with DNS: dig & cli53

How to Install on CentOs?

sudo yum install -y bind-utils
pip install cli53

Figureout the box name?

neilmillard /
Created Oct 19, 2015 — forked from codeinthehole/
Get the value of an EC2 instance's tag
#!/usr/bin/env bash
# Get the value of a tag for a running EC2 instance.
# This can be useful within bootstrapping scripts ("user-data").
# Note the EC3 instance needs to have an IAM role that lets it read tags. The policy
# JSON for this looks like:
# {
neilmillard /
Last active Aug 29, 2015 — forked from doole/
Ruby/Rails setup on CentOS 6.x with Vagrant
# Vagrant CentOS6 boxes
# CentOS 6.4 x64
# CentOS 6.5 x64
# Update
sudo yum -y update
# Add Development tools
View RadarChart.js
//Practically all this code comes from
//I only made some additions and aesthetic adjustments to make the chart look better
//(of course, that is only my point of view)
//Such as a better placement of the titles at each line end,
//adding numbers that reflect what each circular level stands for
//Not placing the last level and slight differences in color
//For a bit of extra information check the blog about it:
View Manager.php
namespace Acme\Validation\Capsule;
use Illuminate\Validation\Factory;
use Illuminate\Validation\DatabasePresenceVerifier;
use Illuminate\Container\Container;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\Translation\TranslatorInterface;
use Illuminate\Translation\Translator;
ember build
cp dist/index.html app/views/app.php
cp -r dist/assets public/assets