Skip to content

Instantly share code, notes, and snippets.

CSI NEW YORK SEASON 4 - EP 401 - CAN YOU HEAR ME NOW?/ EP 402 -THE DEEP/ EP 403 - YOU ONLY DIE ONCE/ EP 404 - TIME'S UP/ EP 405 - DOWN THE RABBIT HOLE/ EP 406 - BOO/ EP 407 - COMMUTED SENTENCES/ EP 408 - BUZZKILL/ EP 409 - ONE WEDDING AND A FUNERAL/ EP 410 - THE THING ABOUT HEROES/ EP 411 - CHILD'S PLAY/ EP 412 - HAPPILY NEVER AFTER/ EP 413 - ALL IN THE FAMILY/ EP 414 - PLAYING WITH MATCHES/ EP 415 - DOA FOR THE DAY/ ART IMITATES SECOND LIFE/ EP 416 - RIGHT NEXT DOOR/ EP 417 - LIKE WATER FOR MURDER/ EP 418 - ADMISSIONS/ ART ATTACK/ EP 419 - PERSONAL FOUL/ EP 420 - TAXI/ EP 421 - HOSTAGE/ CUTTING TO THE CORE: SEASON 4 IN THE BIG APPLE/ DANTE'S INFERNAL EPISODE
STAR WARS THE CLONE WARS VOLUME 3 & 4 - DOOKU CAPTURED/ THE GUNGAN GENERAL/ JEDI CRASH/ DEFENDERS OF PEACE/ TRESPASS/ THE HIDDEN ENEMY/ BLUE SHADOW VIRUS/ MYSTERY OF A THOUSAND MOONS/ STORM OVER RYLOTH/ INNOCENTS OF RYLOTH / LIBERTY OF RYLOTH/ HOSTAGE CRISIS
FRIDAY NIGHT LIGHTS SEASON 1 - THE PILOT / EYES WIDE OPEN / WIND SPIRITS / WHO'S YOUR DADDY /
var fruits = new Array('apple', 'banana'); // This will make the fruits variable an array that contains; apple, banana.
/*
console.log(fruits);
["apple", "banana"]
console.log(fruits.length);
2
*/
var newLength = fruits.push('pear'); // .push will return the length of the array with the new value added.
id: demo_resource
plugin_id: demo_resource
granularity: method
configuration:
GET:
supported_formats:
- json
supported_auth:
- basic_auth
POST:
{#
/**
* @file
* Theme override for a form element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - errors: (optional) Any errors for this form element, may not be set.
* - prefix: (optional) The form element prefix, may not be set.
* - suffix: (optional) The form element suffix, may not be set.
@steveworley
steveworley / cluster.google.js
Last active June 13, 2017 13:33
Map Snippets
// Requires https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js
var markers = [];
markers[] = new google.maps.Marker({ position: { lat, lon }});
new MarkerClusterer(map, markers, { /* opts */ });
diff --git a/docroot/profiles/heaven/modules/contrib/rules/rules.module b/docroot/profiles/heaven/modules/contrib/rules/rules.module
index 719852c..f9e6991 100644
--- a/docroot/profiles/heaven/modules/contrib/rules/rules.module
+++ b/docroot/profiles/heaven/modules/contrib/rules/rules.module
@@ -365,10 +365,10 @@ function &rules_get_cache($cid = 'data') {
else {
// Prevent stampeding by ensuring the cache is rebuilt just once at the
// same time.
- while (!lock_acquire(__FUNCTION__ . $cid . $cid_suffix, 60)) {
+ while (!lock_acquire(__FUNCTION__ . $cid . $cid_suffix)) {
**** top   0.0 macro def varnishd=varnishd
**** top   0.0 macro def pwd=/Users/steven.worley/repos/cucumber-varnishtest
**** top   0.0 macro def topbuild=/Users/steven.worley/repos/cucumber-varnishtest/../..
**** top   0.0 macro def bad_ip=10.255.255.255
**** top   0.0 macro def tmpdir=/tmp/vtc.67256.58502028
*    top   0.0 TEST generated.varnishtest starting
***  top   0.0 varnishtest
*    top   0.0 TEST This is my first test
***  top   0.0 server
<?php
function myfunc() {
echo 'this is a test';
}