Skip to content

Instantly share code, notes, and snippets.

@tsvetkovpro
Last active July 23, 2016 15:21
Show Gist options
  • Save tsvetkovpro/ed4eb7ef15f38d5d1e3a8a946868b2f4 to your computer and use it in GitHub Desktop.
Save tsvetkovpro/ed4eb7ef15f38d5d1e3a8a946868b2f4 to your computer and use it in GitHub Desktop.
settings:
{
"maxerr": 25,
"latedef": "nofunc",
"browser": true,
"node": true,
"globals": ["$", "Prism"],
"indent": 2,
"camelcase": true,
"newcap": true,
"undef": true,
"multistr": true,
"esnext": true,
"noyield": true,
"devel": true,
"loopfunc": true,
"-W004": true,
"-W030": true,
"-W078": true
}
create gulpfile for building system
cmd windows path:
c:\Program Files (x86)\SmartGit\git\bin\;.\node_modules.bin;..\node_modules.bin;....\node_modules.bin
install plugin:
npm i -D gulp-plugin_name
/gulp-project.sublime-project
/gulp-project.sublime-workspace
/package.json
/node_modules
/.idea
git init
git add .
git commit -m "first commit"
git remote add orign git@github.com:/.../.git
git push -u orign master
git branch testing
git checkout testing
git checkout master
git merge testing
# custom PhpStorm VM options
-server
-Xms256m
-Xmx1024m
-XX:MaxPermSize=250m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
# my option
-Dawt.useSystemAAFontSettings=lcd
-Dawt.java2d.opengl=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment