Tagging is easy man. First you bold and then you link.
This file contains 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
'author' => 'Ian Landsman', // Default author, if not provided in a post | |
'sort' => '-date', | |
'path' => 'j/{filename}', | |
'linkedContent' => function($journal){ | |
$content = str_replace('<p>+++</p>', '<div class="text-center" style="margin-bottom:1rem;">●</div>', $journal->getContent()); | |
$paragraphs = explode('<p>', $content); | |
$results = ''; | |
foreach($paragraphs as $paragraph){ | |
if(!empty($paragraph)){ |
This file contains 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
"country","people" | |
"AE",9 | |
"AL",7 | |
"AM",1 | |
"AR",15 | |
"AT",36 | |
"AU",116 | |
"BA",9 | |
"BD",22 | |
"BE",49 |
This file contains 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
#!/usr/bin/env bash | |
# Upgrade Base Packages | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
# Install Web Packages | |
sudo apt-get install -y build-essential dkms re2c apache2 php5 php5-dev php-pear php5-xdebug php5-apcu php5-json php5-sqlite \ | |
php5-mysql php5-pgsql php5-gd curl php5-curl memcached php5-memcached libmcrypt4 php5-mcrypt postgresql redis-server beanstalkd \ | |
openssh-server git vim python2.7-dev |
This file contains 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
Event::fire('metric.engagement', array('set', $account, $staff, array( | |
'$first_name' => , | |
'$last_name' => , | |
'$email' => , | |
'$created' => , | |
'environment' => App::environment() | |
))); |
This file contains 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
xRequest IN (SELECT xRequest FROM HS_Stats_Responses WHERE HS_Stats_Responses.xRequest = xRequest AND HS_Stats_Responses.xResponse = ####) |
This file contains 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 composer.phar dump-autoload |
This file contains 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 can be a custom WHERE for a filter/report to limit the results to requests that have been open greater than/less than | |
// a certain amount of time | |
(HS_Request.dtGMTClosed - HS_Request.dtGMTOpened) < 259200 |
This file contains 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 strftime_win32($format, $ts = null) { | |
if (!$ts) $ts = time(); | |
$mapping = array( | |
'%C' => sprintf("%02d", date("Y", $ts) / 100), | |
'%D' => '%m/%d/%y', | |
'%e' => sprintf("%' 2d", date("j", $ts)), | |
'%h' => '%b', | |
'%n' => "\n", | |
'%r' => date("h:i:s", $ts) . " %p", |
This file contains 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
Something like this should work. Note, this will be very heavy on the DB so I wouldn't recommend enabling counts on the filter unless you know your DB server has the horsepower. | |
Also the info inside tEmailHeaders is serialized PHP, it's not really designed to be searched so double quotes are escaped. There could be some other things along those lines that might trip you up as well. | |
xRequest NOT IN (SELECT xRequest FROM HS_Request_History WHERE tEmailHeaders LIKE "%campaignmonitor.com%") |
NewerOlder