Skip to content

Instantly share code, notes, and snippets.

Jeremy Cloutier jcloutz

Block or report user

Report or block jcloutz

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
@jcloutz
jcloutz / .golang-example-gitlab-ci.yml
Last active Aug 24, 2019
Example Gitlab CI setup for Go using the official golang docker image
View .golang-example-gitlab-ci.yml
image: golang:1.7
stages:
- build
- test
before_script:
- go get github.com/tools/godep
- cp -r /builds/user /go/src/github.com/user/
- cd /go/src/github.com/user/repo
@jcloutz
jcloutz / item.js
Created Dec 3, 2015
Ember JS Relationships Not updating
View item.js
import DS from 'ember-data';
export default DS.Model.extend({
item_no: DS.attr('string'),
name: DS.attr('string'),
notes: DS.attr('string'),
barcode: DS.attr('string'),
vendor_item_no: DS.attr('string'),
vendor_dept: DS.attr('string'),
orders: DS.hasMany('order', {async: true}),
View README.md

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
    • apache's home directory is /var/www/
You can’t perform that action at this time.