Skip to content

Instantly share code, notes, and snippets.

@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 / svg_filters.svg
Last active August 18, 2018 16:47
Collection from SVG Filters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brachycera
brachycera / niceDate.php
Last active May 27, 2020 17:02
Format mySql timestamp/date field values into many different variations
<?php
/**
* Convert a mySql timestamp / date value to a nice looking date
*
* @param string $date - mySql Database timestamp / date field value
* @param num/bol $layout - Date Layout values 1 to 7 for different styles:
* [1] eg. 01.Jan.1970, 00:10:01
* [2] eg. 01.01.1970
* [3] eg. 00:10
* [4] eg. 01 January 1970
@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;