Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
rds-modify-db-parameter-group orca --parameters="name=query_cache_size, value=1073741824, method=immediate" |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Harbormaster</title> | |
<link href="/css/bootstrap.css" rel="stylesheet"> | |
<link href="/css/bootstrap-responsive.css" rel="stylesheet"> | |
</head> | |
<body> |
1) Create a smart playlist | |
2) Set the settings on the smart playlist to be "date added greater than or equal to" and choose a ridiculously early date, like 1/1/1995 | |
3) Click the cloud download button on the playlist | |
4) Wait |
#!/bin/bash | |
for i in $(git branch | grep "OFR-"); do | |
xml="`wget -qO- http://jira.office.vertive.com/si/jira.issueviews:issue-xml/$i/$i.xml`" | |
closed=`echo $xml | grep ">Closed</status"` | |
strlen=${#closed} | |
if [ ! $strlen == "0" ] | |
then | |
echo "Deleting $i" | |
git branch -D $i | |
fi |
for i in $(git branch -a | grep "rc-"); do git push origin :${i#remotes/origin/}; done |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
<?php | |
class Genoa_Controller_Plugin_SwitchLayout extends Zend_Controller_Plugin_Abstract | |
{ | |
public function dispatchLoopStartup(Zend_Controller_Request_Abstract $request) | |
{ | |
$module = $request->getModuleName(); | |
$layoutName = $module; | |
$layoutPath = APPLICATION_PATH . "/modules/$module/views/layouts"; | |
Zend_Layout::startMvc(); | |
$layout = Zend_Layout::getMvcInstance(); |
PS1='[\u@\h \w\[\033[32m\]$(__git_ps1)\[\033[0m\]]$ ' |
[production] | |
phpSettings.display_startup_errors = 0 | |
phpSettings.display_errors = 0 | |
includePaths.library = APPLICATION_PATH "/../library" |
---doctrine.php--- | |
<?php | |
define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application')); | |
define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production')); | |
// Ensure library/ is on include_path | |
set_include_path(implode(PATH_SEPARATOR, array( | |
realpath(APPLICATION_PATH . '/../library'), | |
get_include_path(), |