Skip to content

Instantly share code, notes, and snippets.

View misterbrownlee's full-sized avatar
🤔
living large

Aaron misterbrownlee

🤔
living large
View GitHub Profile
@misterbrownlee
misterbrownlee / jenkins-notes.md
Created September 12, 2012 18:10
Jenkins setup

I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):

Detailed Instructions

For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.

Install Jenkins Plugins

# Guide
# Configure the essential configurations below and do the following:
#
# Repository Creation:
# cap deploy:repository:create
# git add .
# git commit -am "initial commit"
# git push origin master
#
# Initial Deployment:
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@misterbrownlee
misterbrownlee / copyglobs.js
Created February 3, 2017 01:29
How to copy using fs-promise and globby
require('any-promise/register/bluebird');
var globby = require('globby');
var path = require('path');
var fsx = require('fs-promise');
var Promise = require('any-promise');
var outputRoot = path.resolve('copy', 'here');
var globbyPaths = [
@misterbrownlee
misterbrownlee / changelog.sh
Created June 2, 2018 03:00
OHAI CHANGLOG
#!/usr/bin/env bash
# this is used to make the git log command less blorky
GH_URL_BASE='http://github.com/misterbrownlee/stupidstuff/'
# tell folks wassup
echo -e "Let's make a changelog!\n"
# get the current end of the commit range
MEOW=`git describe --abbrev=0 | cut -c 2-`