ShakeShack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var sass = require('gulp-sass'); | |
var coffee = require('gulp-coffee'); | |
var autoprefix = require('gulp-autoprefixer'); | |
var handlebars = require('gulp-handlebars'); | |
var defineModule = require('gulp-define-module'); | |
var paths = { | |
scripts: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>diamonds</title> | |
<style type="text/css"> | |
#diamonds { | |
width: 480px; | |
height: 480px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="text" placeholder="Search for your team" ng-model="team_query"> | |
<ul class="teams" ng-show="team_query.length > 2"> | |
<li ng-repeat="team in teams | filter : team_query | limitTo : 5"> | |
<img ng-src="{{ team.avatar_url }}"> | |
<h2>{{ team.name }}</h2> | |
<small>{{ team.member_count }}</small> | |
<p>{{ team.bio }}</p> | |
</li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* It's common to want to make the selector nesting the same as the dom */ | |
#content { | |
.nav { | |
ul { | |
margin: 0; | |
padding: 0; | |
li { | |
float: left; | |
margin: 0; |
- run server
- login
- stop server
- run server again
- logout
- login
💥 ActionController::InvalidAuthenticityToken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express') | |
, http = require('http') | |
, async = require('async') | |
, multer = require('multer') | |
, upload = multer({ dest: 'uploads/' }) | |
, exphbs = require('express-handlebars') | |
, easyimg = require('easyimage') | |
, _ = require('lodash') | |
, cv = require('opencv'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* mQuery, My journey into the world of js libraries | |
* Selectors, Events, DOM, Ajax and Animation | |
*/ | |
var $ = (function() { | |
/*! | |
* Sizzle CSS Selector Engine - v1.0 | |
* Copyright 2009, The Dojo Foundation | |
* Released under the MIT, BSD, and GPL Licenses. |
OlderNewer