Skip to content

Instantly share code, notes, and snippets.

Question 1: Do you prefer the term:
Adjustment: 92.48%
Manipulation: 1.50%
I do not have a preference: 6.02%
Question 2: Do you think there is a significant difference between an adjustment and a manipulation?
Yes, for sure: 79.65%
No, not at all: 11.50%
@jeremymcminn
jeremymcminn / 0_reuse_code.js
Created February 24, 2014 10:00
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<?php
$begin = new DateTime('now');
$beginformat = $begin->format("Y-m-d");
$beginfinal = strtotime($beginformat);
$end = $begin->modify("+90 day");
$endformat = $end->format("Y-m-d");
$endfinal = strtotime($endformat);
$dates = array();
<?php
$begin = new DateTime('now');
$beginformat = $begin->format("Y-m-d");
$beginfinal = strtotime($beginformat);
$end = $begin->modify("+90 day");
$endformat = $end->format("Y-m-d");
$endfinal = strtotime($endformat);
$dates = array();
<?php
$begin = new DateTime('now');
$beginformat = $begin->format("Y-m-d");
$beginfinal = strtotime($beginformat);
$end = $begin->modify("+90 day");
$endformat = $end->format("Y-m-d");
$endfinal = strtotime($endformat);
for ($i=$beginfinal; $i<=$endfinal; $i+=86400) {
echo date("Y-m-d", $i).'<br />';