I hereby claim:
- I am augustmiller on github.
- I am awmiller (https://keybase.io/awmiller) on keybase.
- I have a public key ASBgbxeFHc-8kvRHREGvnJy2bEqD5s8caibq0ohbwJnm4wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Example Adjuster. | |
* Place in: `/myplugin/adjusters/Test.php` (and rename as such) | |
* | |
* @link https://oof.studio/ | |
* @copyright Copyright (c) 2018 oof. Studio | |
*/ | |
namespace oofbar\test\adjusters; |
<?php | |
namespace Deployer; | |
require 'recipe/composer.php'; | |
// Project name | |
set('application', 'my-project'); | |
// Project repository | |
set('repository', '[email protected]:organization/repo.git'); |
{% comment %} | |
Set up `transform` string for inclusion in a URL: | |
{% endcomment %} | |
{% if size %} | |
{% assign transform = size | prepend: '_' %} | |
{% else %} | |
{% assign transform = '' %} | |
{% endif %} |
module.exports = (serializeArrayResult) -> | |
obj = {} | |
arr = serializeArrayResult | |
for pair in arr | |
if obj[pair.name] isnt undefined | |
if !Array.isArray obj[pair.name] | |
# Convert existing single value to an array: | |
obj[pair.name] = [obj[pair.name]] |
<? class CustomKirbyValetDriver extends ValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName | |
* @param string $uri | |
* @return void | |
*/ |
<? namespace Craft; | |
class SfscPlugin extends BasePlugin | |
{ | |
public function getName() | |
{ | |
return Craft::t('Event Attendance'); | |
} | |
public function getVersion() |
<? namespace Craft; | |
class HelpersPlugin extends BasePlugin | |
{ | |
public function getName() | |
{ | |
return Craft::t('Helpers'); | |
} | |
public function getVersion() |
<? namespace Craft; | |
# craft/plugins/helpers/HelpersPlugin.php | |
class HelpersPlugin extends BasePlugin | |
{ | |
public function getName() | |
{ | |
return Craft::t('Helpers'); | |
} |