Saturday, January 31, 2015

Jetty plugin & Maven projects

Everything covered in this article can be described in the following sentence: "yes, you can deploy a complex project via Maven jetty plugin, with HTTPS and HTTP, but you should never ever do that. Because it is not meant for production, and unsafe."


Saturday, January 11, 2014

Cisco E1200/Synergy story

Recently I've been testing my new out of the box Cisco E1200 router and its a story in itself.

Thursday, January 9, 2014

Using .NET for your project without MS Office...

And "suddenly" you can't print or especially print preview a document without a new version of Office, Because your target hardware is outdated, has Office 2000 and everyone else is okay with that.
Your options are:
1. To rollback to a Very, Very old version of .NET, hoping that you haven't implemented any features from the newer ones.
2. Suck it up and try to force your client to upgrade all their workstations to Office 2010. When they see the price tag of that upgrade they will laugh at you and your relationship with them will end shortly.
3. You could buy some expensive third-party libraries that implement needed features.

But what if you're out of budget and can't rollback?

One easy solution that I found was good old HTML. One can hide an IE browser windows in the application page and then use it to load and print preview a static HTML page, which can be easily created from the required Word document.

Problem solved!

Wednesday, November 28, 2012

ComboBoxColumn vs ComboBoxCell

This article is meant to show the drastic differences between DataGridViewComboBoxColumn and DataGridViewComboBoxCell that I have discovered so far. Once again I could not find anything in Google that would make even the slightest sense to me.

Wednesday, September 12, 2012

Cross-platform Synergy

 Synergy

   Have you ever had two different computers side by side and wished you didn't need 2 mice and keyboards? I have. A while ago I coincidentally came across Synergy. This cross-platform tool allows one to control several computers with 1 mouse and 1 keyboard. Bonus: it's completely free. My Debian laptop is sitting to the right of my dual monitor Win7 setup and I can now effectively use it to browse internet, as well as copy-paste code to and from it. Yes, you heard it right, Synergy allows to share the clipboard between the systems.

Thursday, August 30, 2012

Internet access through another PC via a crossover cable

 Intro

   Yesterday I decided to connect my laptop to the internet through my desktop computer, main reason for that being the fact that my wireless router is hitting it's ceiling and having problems maintaining so many Wi-Fi clients.

Wednesday, June 20, 2012

Opera Mobile password retrieval - root required.

(AFAIK, this ONLY works with Opera prior to switch over to WebKit engine, any later versions are not guaranteed to work.)

I have recently had a need to grab my passwords from my smartphone's Opera Mobile and surprisingly there was nothing at all in the Google to help me with that. For anyone else looking to follow my footsteps, here is the story. Solution is at the end.

Having looked all over the micro-SD cards I found nothing. After a little bit of thinking I switched on Ghost Commander and looked inside the system folders(thank goodness I rooted the phone 2 months ago).
opera:config provided me with a hint, by giving me the following address for majority of the opera config files "/data/data/com.opera.browser/opera/" in the root directory of the phone, where I found folder "secure" with wand.dat inside. Moved it over to the PC where I cracked it open with a generic Opera Password Retrieval program.

Solution:
root:/data/data/com.opera.browser/opera/secure/wand.dat
Requires Root to acquire, and can be opened with any utility that opens regular Opera wand.dat password file Also make sure to Disable the master password encryption first!