Skip to content

Instantly share code, notes, and snippets.

View aaronallport's full-sized avatar
🏠
Working from home

Aaron Allport aaronallport

🏠
Working from home
View GitHub Profile
@aaronallport
aaronallport / SF_GenerateMetadata.sh
Last active February 4, 2020 14:26
Salesforce bash script stubs to do common or mundane tasks
#!/bin/bash
# Stub shell script to spin up metadata files. Modify it to suit your needs :-)
# ./SF_GenerateMetadata.sh <input_csv_file>.csv
# example format of CSV: label,fieldapiname__c,value
INPUT=$1
OLDIFS=$IFS
IFS=','
[ ! -f $INPUT ] && {echo "$INPUT not found"; exit 99; }
@aaronallport
aaronallport / Gulpfile.js
Last active January 3, 2016 23:49
My first stab at a Gulp.js Gulpfile, based largely on http://markgoodyear.com/2014/01/getting-started-with-gulp/ but added some variables for a bit of configuration goodness
var gulp = require("gulp");
var sass = require("gulp-ruby-sass");
var autoprefixer = require("gulp-autoprefixer");
var minifycss = require("gulp-minify-css");
var jshint = require("gulp-jshint");
var uglify = require("gulp-uglify");
var imagemin = require("gulp-imagemin");
var rename = require("gulp-rename");
var clean = require("gulp-clean");
var concat = require("gulp-concat");
@aaronallport
aaronallport / Contract Killer 3.md
Last active December 11, 2015 01:38 — forked from malarkey/Contract Killer 3.md
My fork of Andy Clarke's ‘killer contract’ for web designers and developers, with my own edits.

Contract

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.