Skip to content

Instantly share code, notes, and snippets.

brachycera / ImportExternalCmsCommand.php
Last active Jun 29, 2022
Sulu CMS Import articles from an existing CMS
View ImportExternalCmsCommand.php
// src/Commands/ImportExternalCmsCommand.php
namespace App\Commands;
use Doctrine\ORM\EntityManagerInterface;
use Sulu\Component\DocumentManager\DocumentManagerInterface;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
brachycera / gist:839b056782a052b01247772ec81aaa52
Created Jan 21, 2021 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:839b056782a052b01247772ec81aaa52


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
brachycera / .csscomb-concentric-sort-order.json
Created Mar 23, 2018
cssComb config-key: "sort-order", for concentric sorting of properties
View .csscomb-concentric-sort-order.json
"sort-order": [
brachycera /
Last active Sep 26, 2017
Exclude development folders like "node_modules" or "vendor" from osX timemachine backups.
find `pwd` -type d -maxdepth 3 -name 'vendor' -o -name 'node_modules'| xargs -n 1 tmutil addexclusion
brachycera / gulpfile.js
Last active Mar 22, 2017
Zurb Inky setup with watcher, grunt and minify
View gulpfile.js
module.exports = function (grunt) {
var siphon = require('siphon-media-query');
var fs = require('fs');
var nl_css = fs.readFileSync('PATH/TO/foundation-emails.css').toString();
var mq_css = siphon(nl_css);
// Filename for created template
brachycera / svg_filters.svg
Last active Aug 18, 2018
Collection from SVG Filters
View svg_filters.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
brachycera / Export each as SVG.js
Created Jan 26, 2016 — forked from vieron/Export each as SVG.js
Export each as SVG. Modified some lines from the original by Aaron Beall ( to export each selected object as a separate SVG file.
View Export each as SVG.js
// Fireworks JavaScript Command
// Exports current document state as SVG graphics format
// Install by copying to Fireworks/Configuration/Commands/
// Run via the Commands menu in Fireworks
// Aaron Beall 2010-2011
// Version
var VERSION = "0.6.1";
// Params
brachycera /
Created Jan 20, 2016 — forked from istepanov/
Compile and install PHP extension for Mac OS X 10.8 Mountain Lion
# Scipt for installing extension for PHP 5.3.13 (default PHP for OS X 10.8 Mountain Lion)
mkdir /tmp/gettext
cd /tmp/gettext
curl --location --progress-bar | tar -zx
brew update
brachycera / errors_tpl.html
Last active Dec 30, 2015
Angular 1.3.x Directive to fetch minlength Value from Input Text Field and show the Value in the ng-message for minlength Errors
View errors_tpl.html
<small class="error" ng-message="minlength" validate-minlength>Please enter at least {{requiredMinLength}} characters</small>
brachycera / outline.css
Created Oct 23, 2015
Remove yellow outline in Android Chrome & iOS Safari Browsers
View outline.css
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,