Show last logins after logging in

Display current open connections, all of today and yesterday’s entries Did a Sunday project today: Print last logins after you connect to your remote machine. https://github.com/LC43/bash-last-logins Can also be used locally. Sorts the last logins, listing their connection times and duration. Also warns you of active connections. The default Message of the Day is hardly…… Continue reading Show last logins after logging in

Xcom : Enemy Unknown Tech Tree plus Armor and Weapon Stats

XCOM: Enemy Unknown is a great game but the tech tree left me terribly confused. The existing tech trees graphs ( on which i based mine ) helped a bit, but i thought there was plenty of room for improvements. It turned out like this. I hope it helps you! XCOM:EU – tech tree (…… Continue reading Xcom : Enemy Unknown Tech Tree plus Armor and Weapon Stats

Javascript tests and results

I’ve been testing some basic javascript functions in the awesome jsperf.com. Some confirmations about the native browser code being faster, but strangely, there’s a huge difference in performance. I started wanting to know the difference between using a strange js code i found online. It used .html().html(“<img […]”) every cicle. Surely this wasn’t the best…… Continue reading Javascript tests and results

How to make Cucumber run faster

Speed up the startup time of cucumber for TDD/BDD tests Getting started with Behaviour Driven Development with Cucumber and noticed that it takes more time to startup than actually run the scenarios. Compare this: 2 scenarios (2 passed) 4 steps (4 passed) 0m2.252s real 0m16.013s user 0m14.850s sys 0m0.814s Cucumber reports 0m2.252s but time says…… Continue reading How to make Cucumber run faster

Syntax hightlight theme for Ruby/Rails/Haml in Aptana

I have a thing for code and colours. Let it be lolcode, lpsolve syntax for whatever the editor i’m using at the time, i have to tweak it. This time i’m learning Ruby/Rails/Haml and whatnot. My favorite editor for WebDev has been Aptana with the Clouds theme, (a bit edited already) but it didn’t support…… Continue reading Syntax hightlight theme for Ruby/Rails/Haml in Aptana

Stop internet censorship. Say no to PIPA and SOPA

Today’s the day of the world stood against the proposals that would create laws to censor the internet based on denounces without due process! Although you may have heard about SOPA, please take note that there’s a similar proposal called PIPA that is also being discussed but is not getting attention. If you live in…… Continue reading Stop internet censorship. Say no to PIPA and SOPA