I hereby claim:
- I am screeny05 on github.
- I am screeny05 (https://keybase.io/screeny05) on keybase.
- I have a public key ASCb6ToMaj_6Dyg23KG_tpG9oAMGkog1rgm_i46AG1zwvwo
To claim this, I am signing this object:
<?php | |
/** | |
* Turn a media-id into a valid path | |
* @param $params | |
* @param $template | |
* @return string | |
*/ | |
function smarty_function_mediaById($params, $template) | |
{ | |
$id = $params['id']; |
<?php | |
/** | |
* Custom EventExtension needed to subscribe to global buildForm Event | |
*/ | |
use Shopware\Bundle\FormBundle\Extension\EventExtension; | |
use Symfony\Component\Form\AbstractTypeExtension; | |
use Symfony\Component\Form\FormEvent; | |
use Symfony\Component\Form\FormEvents; |
bin/console sw:theme:dump:config | |
cd themes | |
for f in ../web/cache/config_*.json; | |
do sudo grunt less:production uglify:production --config-id=$(echo $f | grep -Po '\d+'); | |
done |
<IfModule mod_mime.c> | |
# Missing media types | |
AddType audio/mp4 f4a f4b m4a | |
AddType audio/ogg oga ogg opus | |
AddType image/bmp bmp | |
AddType image/svg+xml svg svgz | |
AddType image/webp webp | |
AddType video/mp4 f4v f4p m4v mp4 | |
AddType video/ogg ogv | |
AddType video/webm webm |
(function bemLinter(){ | |
const namespaces = ['o', 'c', 'u', 's', 't', 'is', 'has']; | |
const suffixes = ['xs', 's', 'ms', 'sm', 'md', 'lg', 'l', 'xl', 'print']; | |
const SEVERITY_ERROR = 'error'; | |
const SEVERITY_WARNING = 'warn'; | |
const SEVERITY_INFO = 'info'; | |
const ERR_TYPE_STRAY_ELEMENT = 'stray-element'; | |
const ERR_TYPE_MISSING_NAMESPACE = 'missing-namespace'; |
$(':not([class], [id], [name], [for], [style], [itemprop], [href], [src], [property], [content], [lang], [charset], [rel], [value], [alt], [title], [action], [method], [type], [scoped], [required], br, body, head, html)') |
I hereby claim:
To claim this, I am signing this object:
async.each = function(toIterate, fn, callback){ | |
var calledCount = 0; | |
for (var i = 0; i < toIterate.length; i++) { | |
fn(toIterate[i], function(err){ | |
if(err){ | |
callback(err); | |
callback = function(){}; | |
return; | |
} | |
calledCount++; |