A Pen by Grégory Copin on CodePen.
This file contains hidden or 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
module.exports = { | |
repo: 'origin', | |
devBranch: 'master', | |
filePath: 'pages', | |
extensions: ['html', 'css'], | |
groups: [ | |
{id: 1, pen: 'Gregcop1/pen/MXbzoK'}, | |
] | |
}; |
This file contains hidden or 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
#!/bin/sh | |
npm run prepush || { | |
echo | |
exit 1 | |
} |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[# @event ${1:name} ${2:description} | |
#]]></content> | |
<tabTrigger><![CDATA[#e]]></tabTrigger> | |
<scope>source.coffee</scope> | |
</snippet> |
This file contains hidden or 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
# Prompt | |
git_or_not() { git rev-parse --is-inside-work-tree &> /dev/null ; } | |
git_branch() { | |
local status="$(git status --porcelain 2> /dev/null)" | |
local color='' | |
if [[ "${status}" != "" ]]; then | |
color='\033[0;31m' | |
fi | |
echo -e "${color}$(git branch 2> /dev/null |grep -e ^* |sed 's/\* //')" | |
} |
This file contains hidden or 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
# Git Aliases | |
alias gcl='git clone' | |
alias ga='git add' | |
alias gall='git add .' | |
alias gus='git reset HEAD' | |
alias gm="git merge" | |
alias g='git' | |
alias get='git' | |
alias gst='git status' | |
alias gs='git status' |
This file contains hidden or 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
10 = FILES | |
10 { | |
references { | |
table = pages | |
uid.field = uid | |
fieldName = media | |
} | |
maxItems = 1 | |
renderObj = COA | |
renderObj { |