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
{% extends "layouts/default.html" %} | |
{% set title = "Twig.js templating test" %} | |
{% set pageTitle = "Use Twig from the start!" %} | |
{% set benefits = ["Fast!", "Easy!", "Efficient!"] %} | |
{% block content %} | |
{% include "includes/header.html" %} | |
<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
<h3>{{ pageTitle }}</h3> |
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
{% extends "layouts/default.html" %} | |
{% set title = "Twig.js templating test" %} | |
{% set pageTitle = "Use Twig from the start!" %} | |
{% set benefits = ["Fast!", "Easy!", "Efficient!"] %} | |
{% block content %} | |
<h3>{{ pageTitle }}</h3> | |
<ul> | |
{% for value in benefits %} |
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>{{ title }}</title> | |
</head> | |
<body> | |
{% block content %}{% endblock %} | |
<p>Content from our default layout</p> | |
</body> |
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
{% set title = "Twig.js templating test" %} | |
{% set pageTitle = "Use Twig from the start!" %} | |
{% set benefits = ["Fast!", "Easy!", "Efficient!"] %} | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>{{ title }}</title> | |
</head> | |
<body> | |
<h3>{{ pageTitle }}</h3> |
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 | |
# | |
# This is a shell script for exporting a remote database and | |
# saving it to a local directory. | |
# | |
# EDIT THESE ON A PER-PROJECT BASIS | |
PROJECT="some_project" |
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 | |
# | |
# This is a shell script for exporting a local database and saving | |
# it to a gzip file | |
# | |
# EDIT THESE ON A PER-PROJECT BASIS | |
PROJECT="some_project" |
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 | |
# | |
# This is a shell script for keeping sandbox and local EE | |
# environments in sync. It automates the following: | |
# 1. Export staging database | |
# 2. Export local database (optional) | |
# 3. Clear local database | |
# 4. Import staging database to local |
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 uglify = require('gulp-uglify'); | |
var sass = require('gulp-sass'); | |
var watch = require('gulp-watch'); | |
var clean = require('gulp-clean'); | |
var zip = require('gulp-zip'); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
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
defaults write com.apple.finder CreateDesktop -bool false | |
killall Finder |
NewerOlder