At the moment I am using the yeoman angular generator
In development During development I have two servers running, one using grunt for the front end and another in Go for the API
In production Will use nginx to server all the front end
| // ---- | |
| // Sass (v3.3.0.rc.1) | |
| // Compass (v0.13.alpha.7) | |
| // ---- | |
| $color: #123; | |
| @mixin foo { | |
| color: $color; | |
| } |
| // ---- | |
| // Sass (v3.3.0.rc.1) | |
| // Compass (v0.13.alpha.7) | |
| // ---- | |
| // SASS, wtf 1 | |
| // notice how .alert is in the wrong place | |
| // for .bar | |
| .foo{ |
| export PATH=~/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/usr/local/git/bin:/usr/local/mysql/bin:$PATH | |
| export PATH=/usr/local/share/npm/bin:$PATH | |
| export PATH=/usr/local/sbin:$PATH | |
| export PATH=~/GoDev/bin:$PATH | |
| ######################### | |
| # Other Paths | |
| export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH | |
| export GOPATH=~/GoDev | |
| export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH |
I hereby claim:
To claim this, I am signing this object:
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/vundle/ | |
| call vundle#rc() | |
| " alternatively, pass a path where Vundle should install bundles | |
| "let path = '~/some/path/here' | |
| "call vundle#rc(path) |
| // car.js | |
| var Car = Vehicle.extend({...}) | |
| // vehicle.js | |
| var Vehicle = AmazingMVCModel.extend({...}) | |
| // as car is loader before vehicle (alphabetic order) this doesn't work |
| target = [email protected] | |
| file = $(shell basename $(shell pwd)) | |
| all: build copy run | |
| build: | |
| GOARCH=arm GOOS=linux GOARM=5 go build | |
| copy: | |
| # scp test1 $(target):~/programs/$(file) |
I would like to ask the user to write a program that sets some variables e.g. animal and cat Then In my verification I will like to run a series of tests on those variables and give feedback based on that.
| var exercise = require('workshopper-exercise')(); | |
| var filecheck = require('workshopper-exercise/filecheck'); | |
| var execute = require('workshopper-exercise/execute'); | |
| var comparestdout = require('workshopper-exercise/comparestdout'); | |
| var wrappedexec = require('workshopper-wrappedexec'); | |
| // checks that the submission file actually exists | |
| exercise = filecheck(exercise); | |
| // execute the solution and submission in parallel with spawn() |