Skip to content

Instantly share code, notes, and snippets.

@brachycera
brachycera / gulpfile.js
Last active March 22, 2017 17:21
Zurb Inky setup with watcher, grunt and minify
module.exports = function (grunt) {
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
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
brachycera / exclude.sh
Last active September 26, 2017 22:33
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
brachycera / .csscomb-concentric-sort-order.json
Created March 23, 2018 16:47
cssComb config-key: "sort-order", for concentric sorting of properties
{
"sort-order": [
"display",
"position",
"top",
"right",
"bottom",
"left",
"columns",
"column-gap",
@brachycera
brachycera / gist:839b056782a052b01247772ec81aaa52
Created January 21, 2021 21:41 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

: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
brachycera / ImportExternalCmsCommand.php
Last active June 29, 2022 10:25
Sulu CMS Import articles from an existing CMS
<?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;