Skip to content

Instantly share code, notes, and snippets.

Learning me some Golang

Colin O'Dell colinodell

Learning me some Golang
Block or report user

Report or block colinodell

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
kvnxiao /
Last active Jan 21, 2020

Awesome Go

Build Status Awesome Slack Widget Netlify Status

patreon avelino financial support to Awesome Go

A curated list of awesome Go frameworks, libraries and software. Inspired by awesome-python.


florentdestremau / NewPasswordType.php
Last active Jan 26, 2020
A simple User authentication setup to copy & paste into your Symfony 3.4 install
View NewPasswordType.php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\PasswordType;
use Symfony\Component\Form\Extension\Core\Type\RepeatedType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\FormBuilderInterface;
pavlov99 /
Created Mar 27, 2017
Find your role's id in ansible-galaxy
$ ansible-galaxy info YourUser.RoleName | grep -E 'id: [0-9]' | awk {'print $2'}
gwillem / magento-nginx.conf
Last active Jan 12, 2020
Battle-tested Nginx configuration for Magento (source:
View magento-nginx.conf
# This is an annotated subset of the Nginx configuration from our Magento production platform @
# See
# !!!! If you are a Hypernode customer, do not use this config as it will result in duplicate statements. !!!!!
user app;
worker_processes 4;
pid /var/run/;
events {
kamermans /
Last active Oct 21, 2019
Change the IP subnet of Docker's docker0 interface
#!/bin/sh -e
# NOTE: Since Docker 1.10 (February 4, 2016), it has been possible to configure the
# Docker daemon using a JSON config file. On Linux, this file is normally located at
# /etc/docker/daemon.json. You should use this JSON config method if you are running
# a version of Docker that is at least 1.10!
# Here is an example configuration that sets the docker0 bridge IP to
# {
# "bip": ""
# }
vimishor / pre-commit
Created Apr 14, 2015
Prevents debug traces and sensitive data to be commited.
View pre-commit
# Prevents debug traces and sensitive data to be commited.
# What to search for
# Prevent the commit if something is found.
# default: true

git fix

Combines python-inquirer and git-amend-old to make git fix.

This gives you the possibility to amend a specific commit very easily.

Thanks to @magmax and @colinodell

jmikola / transcript.txt
Created Oct 10, 2014
Symfony Live NYC ReactPHP chat server
View transcript.txt
$ telnet 8888
Connected to
Escape character is '^]'.
hello hi hello YOLO hello Hello Jeremy
laracasts / Gulpfile.js
Created Aug 20, 2014
PHPSpec auto-testing Gulpfile
View Gulpfile.js
var gulp = require('gulp');
var phpspec = require('gulp-phpspec');
var run = require('gulp-run');
var notify = require('gulp-notify');
gulp.task('test', function() {
.pipe(phpspec('', { notify: true }))
.on('error', notify.onError({
ianunruh /
Last active Jul 13, 2018
Install single instance of Redis on Ubuntu 14.04
if [ "$#" -ne "2" ]; then
echo "Usage: ./ NAME PORT"
exit 1
if [ ! -x /usr/local/bin/redis-server ]; then
apt-get install -y build-essential
curl -O -L
You can’t perform that action at this time.