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
# TMUX PASTE WRAPPER | |
set -g default-command "/opt/local/bin/reattach-to-user-namespace -l zsh" | |
# TERM SETTINGS | |
set -g default-terminal "screen-256color" | |
set -g status-utf8 on | |
# Reload key | |
bind r source-file ~/.tmux.conf |
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 | |
stdClass Object | |
( | |
[filename] => Screen Shot 2012-06-26 at 9.53.12 AM.png | |
[filepath] => /tmp/Screen Shot 2012-06-26 at 9.53.12 AM_5.png | |
[filemime] => image/png | |
[source] => logo_upload | |
[destination] => /tmp/Screen Shot 2012-06-26 at 9.53.12 AM_5.png | |
[filesize] => 63814 | |
[uid] => 1 |
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
// Provide additional template suggestions. | |
if (module_exists('path')) { | |
$alias = drupal_get_path_alias(str_replace('/edit','',$_GET['q'])); | |
if ($alias != $_GET['q']) { | |
$template_filename = 'page'; | |
foreach (explode('/', $alias) as $path_part) { | |
$template_filename = $template_filename . '-' . $path_part; | |
$template_filename = $template_filename . '-' . $variables['node']->type; | |
$variables['template_files'][] = $template_filename; | |
} |
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
# Create a new drop. Multiple bookmarks can be created at once by | |
# puts 'test' | |
# passing an array of bookmark options parameters. | |
# | |
# Requires authentication. | |
# | |
# @param [Symbol] kind type of drop (can be +:bookmark+, +:bookmarks+ or +:upload+) | |
# @overload self.create(:bookmark, opts = {}) | |
# @param [Hash] opts options paramaters | |
# @option opts [String] :name Name of bookmark (only required for +:bookmark+ kind) |
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
$data = array ( | |
'amount' => $form_state['values']['donation_amounts'], | |
'name_on_card' => $form_state['values']['name_on_card'], | |
'credit_card_number' => $form_state['values']['credit_card_number'], | |
'cvv' => $form_state['values']['cvv'], | |
'expiration_month' => $form_state['values']['expiration_month'], | |
'expiration_year' => $form_state['values']['expiration_year'], | |
'first_name' => $form_state['values']['first_name'], | |
'last_name' => $form_state['values']['last_name'], | |
'organization' => $form_state['values']['organization'], |
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
function sanky_contact_us_mail($key, &$message, $params) { | |
switch ($key) { | |
case 'contact_us_notification': | |
$message['headers']['Content-Type'] = 'text/html; charset=UTF-8; format=flowed'; | |
$message['subject'] = 'Contact Form Submittal'; | |
$message['body'][] = theme('sanky_contact_us', $params); | |
break; | |
} | |
} |
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 config = { | |
testing : true, // testing? | |
parent : '#advent-calendar li', // parent selector | |
class_prefix : ' date-', // class selector | |
element : ' a', // element selector | |
punch : new Date() // date object | |
} | |
if (config.testing === true) { // testing. select all dates, enable modals | |
$(config.parent + config.element) |
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 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns:v="urn:schemas-microsoft-com:vml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>African Wildlife Foundation</title> | |
<style type="text/css"> | |
html { | |
-webkit-text-size-adjust: none; /* Prevent font scaling in landscape */ | |
-ms-text-size-adjust: none; | |
/* Force Hotmail to display emails at full width */ |
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 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns:v="urn:schemas-microsoft-com:vml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title></title> | |
</head> | |
<body> | |
<style type="text/css"> | |
html { | |
-webkit-text-size-adjust: none; /* Prevent font scaling in landscape */ |
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 Warning: require_once(/usr/share/php/www/horde/lib/Application.php): failed to open stream: No such file or directory in /usr/bin/horde-alarms on line 21 | |
PHP Fatal error: require_once(): Failed opening required '/usr/share/php/www/horde/lib/Application.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/bin/horde-alarms on line 21 |
OlderNewer