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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Single-Column Responsive Email Template</title> | |
<style> | |
@media only screen and (min-device-width: 541px) { | |
.content { |
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
<?php | |
/* | |
* Converts CSV to JSON | |
* Example uses Google Spreadsheet CSV feed | |
* csvToArray function I think I found on php.net | |
*/ | |
header('Content-type: application/json'); | |
// Set your CSV feed |
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
[email protected] [email protected] |
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
{ | |
"Items": [{ | |
"node": { | |
"nid": "3857", | |
"field_calendar_date3_value": "2015-05-18 00:00:00", | |
"field_calendar_date3_value_1": "2015-05-18 00:00:00", | |
"field_start_time_value": "2015-00-00T09:15:00", | |
"field_end_time_value": "2015-00-00T17:00:00", | |
"field_event_name_value": "MUSEUM ALERT", | |
"field_event_description_value": "Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test \r\n", |
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
<?php | |
$app = "/app_1/"; | |
$preTitle = 'a'; | |
function seoUrl($string) | |
{ | |
$string = strtolower($string); // Lower case everything | |
$string = preg_replace("/[^a-z0-9_\s-]/", "", $string); // Make alphanumeric (removes all other characters) | |
$string = preg_replace("/[\s-]+/", " ", $string); // Clean up multiple dashes or whitespaces |
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
<?php | |
/** | |
* Sends a simple email. | |
* [or] Tested on 2012-05-31 using Drupal 7.12 | |
* | |
* Usage: | |
* 1) Paste all the below code into your module or include | |
* 2) Configure the two @FIXME's. | |
* 3) Visit /_custom_simple_mail to get an email. | |
* |
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
/var/www/cforms/public_files/4dchat/node_modules/socket.io/lib/socket.js:224 | |
self.rooms.push(room); | |
^ | |
TypeError: undefined is not a function | |
at /var/www/cforms/public_files/4dchat/node_modules/socket.io/lib/socket.js:224:16 | |
at process._tickCallback (node.js:355:11) |
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
var express = require('express'), | |
multer = require('multer'), | |
app = express(), | |
http = require('http'), | |
server = http.createServer(app), | |
io = require('socket.io').listen(server); | |
server.listen(6969); | |
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
<html class="js"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Grandes Maestros | Natural History Museum of Los Angeles</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<link rel="shortcut icon" href="http://stage.nhm.org/site/sites/all/themes/zen_nhm_theme/images/favicon.ico" type="image/x-icon"> | |
<meta name="keywords" content="nhm,natural history museum,los angeles county"> | |
<meta name="dcterms.date" content="2014-06-26T00:00:00Z"> | |
<meta name="copyright" content="©2011 Natural History Museum of Los Angeles County"> | |
<link rel="canonical" href="http://stage.nhm.orghttp://stage.nhm.org/site/explore-exhibits/special-exhibits/grandes-maestros"> |
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
functionReference([ | |
{ | |
"CDSCode":"", | |
"District":"", | |
"School":"", | |
"Street":"", | |
"City":"", | |
"Zip":"", | |
"Phone":"", | |
"Charter":"", |