I hereby claim:
- I am johnpeele on github.
- I am johnpeele (https://keybase.io/johnpeele) on keybase.
- I have a public key ASBJNlXDrv6BNs0hUVjylOi0JM5qOPWYOZ-iGdqbJBfHWgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
<title>Stripe Sample Form</title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js"></script> | |
<script type="text/javascript" src="https://js.stripe.com/v1/"></script> | |
<script type="text/javascript"> |
#### Purpose: | |
#### Notes to reviewer: | |
#### Screenshots: | |
![Screenshot]() | |
#### To do (if needed) | |
- [ ] [add a todo... or a few] |
/ A simplistic way of loading and rendering HAML partials (header.haml, footer.haml, nav.haml... you name it) without Rails | |
/ Useful when using tools like LiveReload http://livereload.com/ | |
/ but don't want to configure a web server just to use PHP include/require constructs (discussion http://help.livereload.com/discussions/questions/22-haml-partials) | |
/ It could be improved/simplified using a helper http://stackoverflow.com/questions/5436769/partial-haml-templating-in-ruby-without-rails/5436973#5436973 | |
/ Check out the Jade version https://gist.github.com/2593727 | |
%html | |
%body | |
%header | |
= Haml::Engine.new(File.read('/path/to/your/partial.haml')).render |
server { | |
listen 80; | |
listen [::]:80; | |
root /usr/share/nginx/html/livevictorious.com/html; | |
index index.php index.html index.htm; | |
# Make site accessible from http://localhost/ | |
#server_name localhost; | |
server_name livevictorious.com www.livevictorious.com; |
This is a tiny content strategy framework focused on goals, messages, and branding. This is not a checklist. Use what you need and scrap the rest. Rewrite it or add to it. These topics should help you get to the bottom of things with clients and other people you work with.
There’s more to come, and I’d love to hear what you think. Give me feedback on Twitter (@nicoleslaw) or by email (nicole@nicolefenton.com). We all benefit from sharing our ideas and creating standards. Onward.
var gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var cp = require('child_process'); | |
var harp = require('harp') | |
gulp.task('serve', function (done) { | |
harp.server('.', { | |
port: 9000 | |
}); |
var gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
var deploy = require('gulp-gh-pages'); | |
var cp = require('child_process'); | |
var harp = require('harp') | |
/** | |
* Serve the Harp Site | |
*/ |
var gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
var harp = require('harp'); | |
/** | |
* Serve the Harp Site from the src directory | |
*/ | |
gulp.task('serve', function () { | |
harp.server(__dirname + '/src', { |
// | |
// I should probably have turned this into a theme… | |
// but who has time for that? | |
// | |
// Installation: | |
// 1. Choose "Solarized Dark" as your theme. | |
// 2. Install Input from http://input.fontbureau.com/ | |
// (It's free for personal use.) | |
// 3. Stick the contents of this file into your Atom stylesheet. |