19 Git Tips For Everyday Use

Table of Contents: Parameters for better logginggit log –oneline –graph Log actual changes in a filegit log -p filename Only Log changes for some specific lines in filegit log -L 1,1:some-file.txt Log changes not yet merged to the parent branchgit log –no-merges master.. Extract a file from another branchgit show some-branch:some-file.js Some notes on rebasinggit … Read more

11 Tips to Improve AngularJS Performance

I am new to Angular (even though I am not new to the web development), so please take everything that I am about to say with a grain of salt. That being said, I watched a lot of talks and read a lot of articles relevant to Angular performance, and this post is the summary … Read more

Simple HTTPS Test Server Using Node.js

I needed a simple server to test my HTTPS POST requests. Just like a regular HTTP server, it is super easy to do in Node. Except I needed to add private key and a cert, which is an extra step and was not immediately obvious to me, so I figure I’d share my findings. Step … Read more

Batch Rename Files in Unix Command Line

Sometimes the unix shell script is still the best tool for the job. Today I needed to rename a bunch of java properties files from *.property to *.json. Ok, I needed to do more then just rename them, but it makes the example easier to assume that is all that I needed done 🙂 I … Read more

Easy Way to Run JavaScript Tests On Multiple Browsers Using Free Tools

tl;dr I though of an interesting idea that helps me test my JavaScript code simultaneously on multiple browsers using two free tools ngrok and screenshots from BrowserStack. Simply pipe your JavaScript tests running on localhost through ngrok to make them accessible to the real world. Then use that link on BrowserStack to generate screenshots on … Read more

Delete Fork Dependency of a Repository on Atlassian Stash or GitHub

A colleague of mine forked a repo on Stash, just to re-use configuration. A better way of doing things would be to clone the original repo, keep the necessary config/setup files, delete .git folder, and re-initialize the new repo from scratch. In our case, we only noticed the fork about a week into the project, … Read more