Joined August 2016
·
Posted to
Running Istanbul code coverage with mocha
over 1 year
ago
if you have a grunt task setup to run mocha (or whatever) , its even easier
istanbul cover --report html grunt test
Posted to
FTP is so 90's. Let's deploy via Git instead!
over 1 year
ago
Using an SCM (be it GIT, svn, hg or whatever) is an excellent means of distributing all kinds of assets - images, control files, scripts. I even know people who keep their .bashrc and .profile files (and other portable tools) in github and pull them down as they move to different client sites. The efficiency that comes with versioning, hosting and accessing through these tools can make you look super-organised
Achievements
1 Karma
0 Total ProTip Views

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Mongoose
Have at least one original repo where Ruby is the dominant language

Charity
Fork and commit to someone's open source project in need
For comparison with Node 6.8.1, I wrote a benchmark for the following techniques (in coffeescript)
Result
~~~
.nvm/versions/node/v6.8.1/bin/node --require coffee-script/register src/liveserv-loader/test/benchmark.coffee
b.hz 62781513.35543358 b.name parseInt
b.hz 71269790.1318596 b.name Number(x)
b.hz 22889466.345643885 b.name ~~convert
b.hz 24447918.3306923 b.name convert|0
b.hz 78516405.25189222 b.name +convert
Fastest is +convert
Process finished with exit code 0
~~~
Generally +<string> is fastest, but Number() occassionally comes out on top too.