Skip to content

Instantly share code, notes, and snippets.

View gustavderdrache's full-sized avatar
🤔
...

gustavderdrache

🤔
...
View GitHub Profile
@gustavderdrache
gustavderdrache / 0_reuse_code.js
Created January 27, 2014 15:51
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
if (is_array($value) ? in_array(strval($key), $value) : (strval($key) == strval($value))) {
/* stuff */
}
  • Mac OS X 10.7.4
  • PHP 5.3.8 (system-supplied)
WHERE
email_schedule_subscription.id IS NULL
AND email_schedule.deleted_at IS NULL
AND field_user.deleted_at IS NULL
AND (
( field_user.timezone_identifier = 'US/Eastern'
AND email_schedule_log.created_at > '2011-07-28 00:00:00'
)
OR ( field_user.timezone_identifier = 'US/Central'
AND email_schedule_log.created_at > '2011-07-27 11:00:00'