2013-05-12
2013-05-02
Not talking about Hacking
Welcome to Hacking. The first rule of Hacking is: you do not talk about Hacking. The second rule of Hacking is: you DO NOT talk about Hacking! Third rule of Hacking: if someone yells "stop!", goes limp, or gets arrested, the hack is NOT over. Fourth rule: only two guys to a hack. Fifth rule: one hack at a time, fellas. Sixth rule: the hacks are bare Windows PC's. No Linux, no Unix, no Macs. Seventh rule: hacks will go on as long as they have to. And the eighth and final rule: if this is your first time at hacking, you have to hack.
http://www.dailytech.com/Australian+Federal+Police+Mock+Hackers+Only+to+be+Hacked+in+Return/article16023.htm
2013-04-27
Structuring Unit Tests
A very fine idea for naming and nesting unit tests:
To have a nested class for each method being tested.
Sources:
- http://haacked.com/archive/2012/01/01/structuring-unit-tests.aspx
- http://zendeveloper.blogspot.com/2012/01/structuring-unit-tests.html
This little trick, this one simple sentence, is like a missing piece in the jigsaw. I liked it from the very start. It fits very well alongside guides for naming of testing methods, like expressed in this article:
http://blog.stevensanderson.com/2009/08/24/writing-great-unit-tests-best-and-worst-practises/
I just wonder how this practice could fit into JUnit. Will have to try.
Also on the same page:
2012-12-20
Useful Windows 8 tips (part 1)
- Lock screen background - http://www.eightforums.com/tutorials/2639-lock-screen-background-image-change-windows-8-a.html
- Log-off, lock, power-off - http://www.eightforums.com/tutorials/2584-lock-log-off-restart-shut-down-switch-user-windows-8-a.html
(also: http://siryes.blogspot.com/2012/07/logoff-restart-and-poweroff-in-windows8.html)
2012-11-30
Windows 8 - How to open StartUp folder
To open StartUp folder in Windows 8, use the following Shell commands that can be run from the run box (WIN+R):
- shell:startup
- shell:common startup
2012-11-24
Securing files in Google Drive
Just a quick round-up of methods of securing files in otherwise almost perfect Google Drive:
- 7 Tips & Tricks To Get The Most Out Of Google Drive (Windows)
- How to Set Up and Secure Your Google Drive (Mac|Life)
- http://www.google.pl/search?q=encrypted+Google+drive+documents
This also made me wonder: with Windows 8 Microsoft gave users their SkyDrive - what about securing this little beast?
