This file contains hidden or 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
# flightplan.js | |
Flightplan = require("flightplan") | |
plan = new Flightplan() | |
release_number = new Date().getTime() | |
application = 'backbone_stage' | |
deploy_to = "/var/www/#{application}/current" | |
releases_dir = "/var/www/#{application}/releases" |
This file contains hidden or 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
// Server to foreward ajax requests | |
// http://stackoverflow.com/questions/7559862/proxy-with-nodejs-and-express/20539239#20539239 | |
// http://stackoverflow.com/questions/10435407/proxy-with-express-js | |
var express = require('express'), | |
request = require('request'), | |
path = require('path'), | |
app = express(), | |
cson = require('cson'), | |
modRewrite = require('connect-modrewrite'), |
This file contains hidden or 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/bash | |
# FORK: | |
# this version is modified to work with git flow: | |
# develop$ git flow release start 3.5.6 | |
# release/3.5.6$ ./bump-version.sh | |
# release/3.5.6$ git flow release finish 3.5.6 -m "finish up release 3.5.6" | |
# Thanks goes to @pete-otaqui for the initial gist: | |
# https://gist.github.com/pete-otaqui/4188238 |
This file contains hidden or 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 lang="en"> | |
<head> | |
<title>PLUGINS</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
</head> | |
<body> | |
<h1 id="hello-world">HELLO WORLD!</h1> | |
<button id="change-it">greet</button> |
This file contains hidden or 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
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
OlderNewer