Rob Gruhl - How to Buy a New Car
From 2007, but a great video full of advice, and a fantastic example of pechakucha 20x20 presentation style.
From 2007, but a great video full of advice, and a fantastic example of pechakucha 20x20 presentation style.
The ad policy is what is costing publishers millions of dollars - the ad blockers are what keep the readership from leaving the site!
Steve Gibson pointed me to a guide to setting your desired privacy level in Windows 10. This version of Microsoft's operating system follows the 'always socially connected' footsteps of smartphones and therefore makes privacy assumptions. Using this guide you can check if they match your expectations.
This morning I integrated our PowerShell processes into FogBugz by writing a small module that submits occurrences of all errors to BugzScout. You might want to do something similar so I did this write-up.
Broadly it works similar to BugzScoutLogWriter that I developed previously for integration with SilverStripe CMS. In this case however, we need to do the following things:
I've published the code in a Gist for you a have a look. I include the function in every script I use.
If your blog is more of a reference than a diary, why do you organise your posts in a timeline? Instead group them by category.
My entry for the <em>Danny Darko - Hurricane ft Julien Kelland</em> remix contest is now available on SoundCloud: https://soundcloud.com/freefalling/hurricane-freefall-remix Feedback welcome!
Hide Trackbacks is a WordPress plugin that hides pingbacks and trackbacks from your website comments.
I've updated the plugin to indicate it works correctly with WordPress 4.2.
Let's all turn off on-site commenting, and allow replies via moderated trackback. Anyone can start a blog and participate with increased civility and ownership. DONE.
In your datamodel you might have a Enum field such as this date-based dropdown:
public static $db = array(
"Year" => "Enum('2013, 2014, 2015')"
}
Internally, SilverStripe stores the index, so that when you retrieve the value in methods such as onBeforeWrite, instead of 2013 you will receive 1. Use the function below to retrieve the label of the Enum:
public function EnumLabel($field_name) {
$enumValues = $this->dbObject($field_name)->enumValues();
$label = $enumValues[$this->$field_name];
return $label;
}
// $year = $this->EnumLabel('Year');
When adding a filter on a DataList sometimes you need to do a <= rather than a <. Unfortunately the LessThanOrEqual and GreatherThanOrEqual search filters do not exist in SilverStripe 3.0.x, they were added in 3.1.
Therefore we have to write our own where clause like the following example:
// Return all the sessions on or before the $date
$sessions = new DataList('AcademicSession');
$sessions = $sessions->where('"SessionStartDate" <= \'' . $date . '\'');