“Shekhar Gulati took on the challenge of learning 30 new technologies in 30 days and blogging about each day. He hasn’t missed a day. His goal is to get familiar with many of the new technologies being used in the developer community and how each one can work on OpenShift. See the landing page of all the technologies he’s learned so far.” (from OpenShift newsletter, Nov. 2013)
Do you sit hours in front of your computer every day? Then very likely you have a bad posture. Here is how to improve it:
You create a Heroku app. but it gets by default a funny name like
whispering-forest-5386.herokuapp.com. How to give it a normal name?
On the Heroku site, navigate to your Dashboard and choose Settings next to your app. There you can give a new name to your app. It will be activated immediately and you won’t be able to reach your app. with the old name.
When trying to push a new version with git, you will get an error. Git is trying to use the old name of your app. Edit the file
.git/config and update the
url by hand.
MD5 is a hash, not an encryption. From this hash value you cannot restore the original content. However, you can take a dictionary, hash every word in it with md5, then compare the original md5 value with them. If there is a match, your md5 is cracked.
“MD5Decrypter.co.uk allows you to input an MD5 hash and search for its decrypted state in our database, basically, it’s a MD5 cracker / decryption tool… We have a total of just over 43.745 billion unique decrypted MD5 hashes since August 2007.” (source)
So, if you store your passwords in md5 format and someone has access to them, they are not safe at all… If an md5 hash is generated from a weak password, it can be cracked in an instant with the tool above.
OK, but… how should I store the passwords then?
See this post for a great tip: How to store and verify a password?
It’s very easy to start a Python web server on localhost.
If you want something more serious but still lightweight, check out the Mongoose web server.
Fetch and compile:
wget https://mongoose.googlecode.com/files/mongoose-3.8.tgz tar xvzf mongoose-3.8.tgz cd mongoose make linux
The user manual is here.
Press Alt+F2, launch “
xkill“, and click on the window you want to close.
I found this list in this thread @reddit:
- Goto stackoverflow.com and search on “programming questions”, “programming interview”, “programming puzzles”, etc.
- Get this book first: Programming Pearls (2nd Edition)
- Get this book: Programming Interviews Exposed
- Search on google for “amazon interview questions”, “programming interview questions”, etc. Find stuff like this
- Read thedailywtf.com to know what not to do.
- Look up the company on www.glassdoor.com and search for interview questions. They are by company.
- Wikipedia is great for learning about algorithms.
I have that Mock a Mockingbird book mentioned in the above link. Eh… it’s interesting but I don’t think it’s very applicable to interviews I’ve been on. It’s basically combinatorial mathematics. Can’t hurt if you have the time.
Above are blog accounts of Amazon interviews. Pretty accurate.
Optional Book: How Would You Move Mount Fuji. Although, this is not as relevant as it was back in 2000. Puzzle questions are almost gone in interviews, but some of the programming questions could count as puzzles. I believe people interviewing for management positions still get them though.
I do have a couple other good puzzle sites but I can’t find them right now. Bookmarked on another pc.