This is a quick how to in creating a simple MD5 hash in your Node.js application. I am not recommending this for security or to be the best practice for protecting your data, so here is a little background. Marvel comics just released an API at developer.marvel.com and one of the requirements is to pass them an MD5 hash of a timestamp, public key, and private key. Being the geek I am I said okay and proceeded to do my thing.
This is so simple it might make you laugh. To create an MD5 hash in Node.js… drumroll….
var data = "what ever secret I could think of";
var crypto = require('crypto');
var hashedValue = crypto.createHash('md5').update(data).digest("hex");
Like many developers I use git to handle my version control, and with that I sometimes forget a little file called .gitignore. When I forget that file I end up versioning things that don’t need to be, or cluttering a remote repository with junk no one else wants like ide specific files, a node_modules directory, or any other group of documents and configuration files that would be unique to me.
Here is a basic .gitignore template file I start with for my projects. You can also find a nice list of other configurations at Sujee Maniyam’s blog.
But here is mine that is set up for Node development using IntelliJ and or Sublime.
Just create a file named .gitignore and place it in the root directory that you are about to run git init. Tada, no more messy stuff when you add, commit, and push.
## .gitignore file for project
## generic file ignore
## Project file and directory ignore
## IDE Specific ignores
## Node ignore
So, your team is remote, or maybe just out of the office for the day. Never fear, get everyone on G+ (Google+) to use the Hangout feature.
I have used this feature numerous times for standups, kickoff, estimation, and half-day planning meetings. It’s a great tool and its free. You can share your screen, see video, hear audio from everyone on the team (in the meeting of course). But with great power comes confusion.
So here are some “pro-tips*” on how to improve the experience for all your team members using the hangout feature in G+.
1 – Use headphones. By using headphones your computer speakers wont feedback into the microphone on your computer, thus eliminating that annoying echo. the annoying echo. the annoying echo
2 – You can use the microphone on your laptop but please put your laptop on a table. We dont want to hear it rubbing against your legs, or other noises from that general area.
3 – Use an external mic if you have one, if not don’t worry. This is just a “super all-pro**” move. Add a pop guard to the mic to really be a hotdog.
4 – Be aware of what is behind you, your camera will display things besides you. So clean up the moldy pizza and empty beer bottles, or just position the camera strategically to point away from the illicit activities going on in your “office”.
5 – Give everyone 10 minutes the first time they use hangouts to play with all the silly hats and overlays. It’s going to happen, don’t fight it.
6 – Pay attention. No need talking forever and being on mute. You won’t look cool, even if you have a mic and a pop guard.
So those are my Sexy 6 Agile Meeting Tips for Google Hangout Usage
As always, feel free to comment.
* The term “pro-tip” is so annoying and condescending
** And you thought “pro-tip” was bad.