Skip to content

Instantly share code, notes, and snippets.

View lvl-svasseur's full-sized avatar

Stéphane Vasseur lvl-svasseur

View GitHub Profile
@lvl-svasseur
lvl-svasseur / syn-config.json
Created August 22, 2014 14:46
syn-config.json
{
"id":3208,
"api_url":"http:\/\/dev2.amctv.com\/sync.amctv\/api\/v1\/",
"env":"dev2",
"brightcove":{
"playerID":"2707479540001",
"playerKey":"AQ~~,AAABUi-NICE~,rE4iZr1CNrYj6y6VJQWJgC4M56w6sSua"
},
"brightcove_ad":{
"playerID":"2707479541001",
@lvl-svasseur
lvl-svasseur / _spec-2.0.md
Last active August 29, 2015 14:04
StorySync 2.0 Fields Spec

Spec 2.0

Existing barrels

  • [common_fields][common_fields.md]
  • [image:default][image_default.md]
  • [image:quote][image_quote.md]
  • [image:clickthrough][image_clickthrough.md]
  • [image:document][image_document.md]
  • [poll:buttons 2][poll_buttons-2.md]
-Go to the starting point of the project
>> git checkout origin master
-fetch all objects
>> git fetch origin
-Make the branch from the tag
>> git branch new_branch tag_name
-Checkout the branch
>> git checkout new_branch
-Push the branch up
>> git push origin new_branch
@lvl-svasseur
lvl-svasseur / global-index-page-config.json
Last active August 29, 2015 14:01
config feed global index page
{
"background-image": {
"2560x1400": {
"src": "http:\/\/dev.sync.amctv.com\/wp-content\/uploads\/2013\/09\/new-background.jpg",
"width": "2560",
"height": "1400"
}
},
"storysync-logo-image": {
// retina size
# generated
app/app.css
app/ie9.css
app/app.js
app/scripts/config.js
app/images/ui-*.png
test/app.js
#bower
*vendor*
{
// Details: https://github.com/victorporof/Sublime-JSHint#using-your-own-jshintrc-options
// Example: https://github.com/jshint/jshint/blob/master/examples/.jshintrc
// Documentation: http://www.jshint.com/docs/
// Enforcing
"indent": 4,
"quotmark": false,
"camelcase": true,
"newcap": true,
# https://gist.github.com/driesvints/5960662
# Ensures all line endings are committed as LF, but will checkout with native line endings
* text=auto
# -- Override Section, just in-case Git tries to be sneaky
# Ensure that these files are recognized as text
*.asp text
*.aspx text
*.asx text
@lvl-svasseur
lvl-svasseur / nodeJsUpdate.sh
Created December 12, 2013 15:43
Update nodeJs
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
@lvl-svasseur
lvl-svasseur / gitPushOverTagName
Last active December 30, 2015 22:49
Git push over branch/tag name ambiguity
git push origin refs/heads/1.1.21:refs/heads/1.1.21
@lvl-svasseur
lvl-svasseur / .gitconfig
Last active January 1, 2020 17:29 — forked from coderxin/git-merge-tool
git mergetool config (by command line or .gitconfig)
[merge]
tool = intellij
# tool = Kaleidoscope
[diff]
tool = intellij
# tool = Kaleidoscope
# intellij mergetool config
[mergetool "intellij"]
cmd = /Applications/IntelliJ\\ IDEA\ 13\\ CE.app/Contents/MacOS/idea merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED")