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
<!-- div.row --> | |
<div class="row"></div> | |
<!-- div.row.myFirstRow --> | |
<div class="row myFirstRow"></div> | |
<!-- div#myId --> | |
<div id="myId"></div> | |
<!-- div#myId.row.anotherClass --> |
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
web: vendor/bin/heroku-php-apache2 web/ |
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
import Ember from 'ember'; | |
export default Ember.Route.extend({ | |
model() { | |
return $.ajax({ | |
url: "https://trailapi-trailapi.p.mashape.com/?limit=25&q[activities_activity_type_name_eq]=hiking&q[city_cont]=Portland&q[state_cont]=Oregon&radius=100", | |
dataType: 'json', | |
headers: { | |
"X-Mashape-Key": "B5k9wMYIN1mshGQskDNQxcHnPhJmp1LoDvsjsn8IuL3NSxR6ic", | |
"Accept": "application/json" |
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
echo "Switch to gh-pages branch" | |
git checkout gh-pages | |
git merge master | |
echo "Clean up" | |
rm -rf dist | |
echo "Create new production build" | |
ember build --environment production |
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
// Include gulp | |
var gulp = require('gulp'); | |
// Plugins for gulp | |
var browserify = require('browserify'); | |
var concat = require('gulp-concat'); | |
var del = require('del'); | |
var jshint = require('gulp-jshint'); | |
var sass = require('gulp-sass'); | |
var source = require('vinyl-source-stream'); |
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
#!/bin/sh | |
echo "project name:" | |
read PROJECT_NAME | |
echo "port to use:" | |
read PORT | |
mkdir ~/${PROJECT_NAME} | |
cd ~/${PROJECT_NAME} | |
mkdir app web src views | |
echo vendor/ > .gitignore | |
echo "<?php \n\t\$website = require_once __DIR__.'/../app/app.php'; \n\t\$website->run(); ?>" > web/index.php |
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
<h1>Using <a href="http://emmet.io">Emmet</a></h1> | |
<!-- .template>h1.title+.body>p*3 --> | |
<div class="template"> | |
<h1 class="title"></h1> | |
<div class="body"> | |
<p></p> | |
<p></p> | |
<p></p> | |
</div> |
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 class="no-js" lang="en"> | |
<head> | |
<title></title> | |
<meta name="description" content=""> | |
<!-- Mobile viewport optimized: j.mp/bplateviewport --> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<!-- Bootstrap: Latest compiled and minified CSS --> |