I hereby claim:
- I am boboldehampsink on github.
- I am boboldehampsink (https://keybase.io/boboldehampsink) on keybase.
- I have a public key ASCRtpA9X58lqau34xxjdiOm8y6GtjPB3Wn5Z4zBP4v29wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
namespace Craft; | |
/** | |
* The class name is the UTC timestamp in the format of mYYMMDD_HHMMSS_pluginHandle_migrationName. | |
*/ | |
class m150904_071603_inspections_DistanceText extends BaseMigration | |
{ | |
/** |
<?php | |
namespace Craft; | |
class UploadsController extends BaseController { | |
/** | |
* Process uploaded files | |
* | |
* @author Bob Olde Hampsink | |
*/ |
<?php | |
namespace Craft; | |
/** | |
* Matrix Collapse Plugin. | |
*/ | |
class MatrixCollapsePlugin extends BasePlugin | |
{ | |
/** |
#!/usr/bin/env node | |
var GCC_PREPROCESSOR_DEFINITIONS = '"$(inherited) DISABLE_PUSH_NOTIFICATIONS=1"'; | |
var fs = require("fs"); | |
var path = require("path"); | |
var xcode = require('xcode'); | |
var projectRoot = process.argv[2]; | |
function getProjectName(protoPath) { |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<?php | |
namespace Craft; | |
class SampleVariable | |
{ | |
public function newUserModel() | |
{ | |
// Create a new empty user model |
// Register special hook for Markdown processing | |
function registerImportOperation(&$data, $handle) { | |
// Get field info | |
$field = craft()->fields->getFieldByHandle($handle); | |
// If it's a field ofcourse | |
if(!is_null($field)) { | |
// For some fieldtypes the're special rules |
<?php | |
return array( | |
"Analytics" => "Analytics", | |
"Plugin installed" => "Plugin geïnstalleerd", | |
"Couldn't install plugin." => "Kon plugin niet installeren", | |
"Analytics Settings" => "Analytics instellingen", | |
"Configure Analytics plugin in order to get started" => "Stel de Analytics plugin in om te beginnen", | |
"More Data" => "Meer gegevens", | |
"Less" => "Minder", |
<?php | |
namespace Craft; | |
class SlugifyPlugin extends BasePlugin | |
{ | |
public function getName() | |
{ | |
return Craft::t('Slugify Twig Extension'); | |
} | |