<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
module.exports = function( grunt ) { | |
'use strict'; | |
// | |
// Grunt configuration: | |
// | |
// https://github.com/cowboy/grunt/blob/master/docs/getting_started.md | |
// | |
grunt.initConfig({ | |
// Project configuration |
var tabbableElements = 'a[href], area[href], input:not([disabled]),' + | |
'select:not([disabled]), textarea:not([disabled]),' + | |
'button:not([disabled]), iframe, object, embed, *[tabindex],' + | |
'*[contenteditable]'; | |
var keepFocus = function (context) { | |
var allTabbableElements = context.querySelectorAll(tabbableElements); | |
var firstTabbableElement = allTabbableElements[0]; | |
var lastTabbableElement = allTabbableElements[allTabbableElements.length - 1]; |
#!/bin/sh | |
# | |
# This hooks is placed in a Bare repository | |
# It makes sure that working tree doesn't contain any local changes | |
# And if it contains - submits a commit and returns false | |
# So if false returned - client should PULL and then PUSH again | |
# | |
# Assuming following file structure: | |
# . | |
# |-- myproject |
#!/bin/bash | |
# (Re)spawn the application | |
function spawn () { | |
local ps_name=$1 | |
local spawn_cmd=$2 | |
local pids=`ps -C $ps_name -o pid=` | |
if [ ${#pids} -ne 0 ] | |
then | |
echo "Sending TERM to $pids..." |
haiku = -> | |
adjs = [ | |
"autumn", "hidden", "bitter", "misty", "silent", "empty", "dry", "dark", | |
"summer", "icy", "delicate", "quiet", "white", "cool", "spring", "winter", | |
"patient", "twilight", "dawn", "crimson", "wispy", "weathered", "blue", | |
"billowing", "broken", "cold", "damp", "falling", "frosty", "green", | |
"long", "late", "lingering", "bold", "little", "morning", "muddy", "old", | |
"red", "rough", "still", "small", "sparkling", "throbbing", "shy", | |
"wandering", "withered", "wild", "black", "young", "holy", "solitary", | |
"fragrant", "aged", "snowy", "proud", "floral", "restless", "divine", |
###################################################################### | |
# joe's zshrc file, based upon: mako's zshrc file, v0.1 | |
# http://stuff.mit.edu/~jdong/misc/zshrc-osx-blackonwhite | |
# | |
# Options overview: http://zsh.sourceforge.net/Doc/Release/Options.html | |
###################################################################### | |
unsetopt BG_NICE # do NOT nice bg commands | |
setopt CORRECT # command correction | |
setopt INTERACTIVE_COMMENTS # allow comments on line |
/* Lets not rely on paths in the database, they can be very wrong when moving between dev/stage/live environments */ | |
/* The following two variables are backward to my thinking, but hey, what ya gonna do? */ | |
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . ''); // This is NOT the 'wordpress admin area' home, but the site's home | |
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/SECRETDIRECTORY'); // This isn't the site's URL but the WordPress admin area URL | |
/* MySQL settings */ | |
switch($_SERVER['SERVER_NAME']){ | |
// Your local machine's settings | |
case 'mysite.local': | |
define('DB_NAME', 'dev_mysite'); |
App.module("Dashboard", function(Dashboard, App, Backbone, Marionette, $, _){ | |
"use strict"; | |
var Comp = {}; | |
// Grid Table Structure | |
// -------------------- | |
Comp.GridRow = Marionette.ItemView.extend({ | |
tagName: "tr" |
web1: | |
shared_writable_dirs: | |
- app/cache | |
- app/logs | |
- app/sessions | |
document_root: web | |
default_gateway: app.php | |
index_list: [app.php] | |
php_version: 5.3.10 | |
php_extensions: |