This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"path": "cz-emoji", | |
"config": { | |
"cz-emoji": { | |
"symbol": true, | |
"types": [ | |
{ | |
"emoji": "🎨", | |
"code": ":art:", | |
"description": "Improving structure / format of the code.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"DataObject": { | |
"scope": "javascript", | |
"prefix": "exportableObject", | |
"body": [ | |
"const ${1:Name} = {", | |
" $2", | |
"};", | |
"", | |
"export default ${1:Name};", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THEME_GREEN=$FG[113] | |
THEME_ORANGE=$FG[173] | |
THEME_BLUE=$FG[080] | |
THEME_RED=$FG[167] | |
THEME_PURPLE=$FG[134] | |
THEME_YELLOW=$FG[179] | |
PROMPT_SUCCESS_COLOR=$THEME_GREEN | |
PROMPT_FAILURE_COLOR=$THEME_ORANGE | |
PROMPT_PROMPT=$THEME_BLUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"DataObject": { | |
"scope": "html", | |
"prefix": "SSDataObject", | |
"body": [ | |
"<?php", | |
"", | |
"namespace ${1:Namespace};", | |
"", | |
"use SilverStripe\\ORM\\DataObject;", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[].forEach.call(document.querySelectorAll('*'), function(element) { | |
if (element.offsetLeft + element.offsetWidth > window.innerWidth) { | |
console.log(element); | |
} | |
}); |