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 | |
/** | |
* @file | |
* Repairs the date mode dates. | |
* | |
* Requires the fundraiser_recurring table to be populated | |
* and the uc_orders table to have at least order_id and created columns. | |
* | |
* Run with something like "drush php-script save_the_day.php > results.txt" | |
*/ |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("1") do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "ubuntu1204-64" |
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
api = 2 | |
core = 7.x | |
projects[drupal][version] = "7.22" | |
; The Panopoly Foundation | |
projects[panopoly_core][version] = 1.0-rc4 | |
projects[panopoly_core][subdir] = panopoly |
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
{ | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme", | |
"default_line_ending": "unix", | |
"draw_minimum_border": true, | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, | |
"font_size": 22, |
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
# This file has been modified by Eli Dickinson to update detection rules and to | |
# send a Vary header downstream. It has also been updated to | |
# work with newer versions of Varnish. | |
# | |
# A simple mobile device detection implementation in VCL | |
# http://fangel.github.com/mobile-detection-varnish-drupal | |
# | |
# The file is based upon initial work done by Audun Ytterdal, which can be |
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
{ | |
"auto_complete_commit_on_tab": true, | |
"color_scheme": "Packages/Color Scheme - Default/Cobalt.tmTheme", | |
"default_line_ending": "unix", | |
"draw_minimap_border": true, | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, | |
"font_size": 26.0, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, |
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 | |
$json = <<<EOF | |
[ | |
{"url":"http://www.fiercewireless.com/story/lowensteins-view-first-mobile-olympics-bronze-medal/2012-07-25?utm_campaign=linkedin-Share-Web#at_pco=cfd-1.0","title":"Lowenstein's View: The first 'mobile' Olympics: bronze medal - FierceWireless"},{"url":"http://www.fiercewireless.com/story/clearwire-sprints-iden-shutdown-affect-small-number-co-located-wimax-sites/2012-07-31?utm_campaign=linkedin-Share-Web#at_pco=cfd-1.0","title":"Clearwire: Sprint's iDEN shutdown to affect 'small number' of co-located WiMAX sites - FierceWireless"}, | |
{"url":"http://www.fiercewireless.com/story/furchtgott-roth-how-restore-growth-america-and-wireless-industry/2012-07-30?utm_campaign=linkedin-Share-Web#at_pco=cfd-1.0","title":"Furchtgott-Roth: How to restore growth in America and in the wireless industry - FierceWireless"}, | |
{"url":"http://www.fiercewireless.com/story/mvno-freedompop-launch-wimax-ipod-touch-case-details-pricing/2012-07-31?utm_campaign=facebook-Share-NL#at_pco=cfd-1.0","title":"MVNO Fr |
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
$apiurl = 'the url'; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $apiurl); | |
curl_setopt($ch, CURLOPT_HEADER, 0); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
$json = curl_exec($ch); | |
curl_close($ch); |
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
<div align="center"> | |
<iframe width="620" height="450" src="/sample_issue.html"> | |
</iframe> | |
</div> |