The IT Alchemy Lab really doesn't have any set "purpose" to speak of. It is more about the IT technologies and issues I come across in my day-to-day business, meetings and chats (lunches, coffee and drinks) with my IT colleagues and friends.

Blog Archive

Monday, September 26, 2011

Intellitxt Overload

It seems to me that every time technology finds a way to squash one annoying web "utility" another one shows up that is worse than the one before.  It's good to see that the development community learns from the past, but lets get real, Intellitxt is about the most intrusive, annoying flavor of javascript anyone can handle.
What is Intellitxt, it's a Frankenstein from Vibrant Media. I am sure you have seen then many times, the little green, double underlined words you find on almost every page. You can't even copy and paste text any more without something popping up on your screen. They are the proverbial "kill 1 weed, 2 grow back".
It seems that IE7+, Opera and Firefox all have means of leveling the web-surfing playing field. However, Chrome, in all its innovation overlooked this one. I have tried a number of extensions to rid my browsing day from these sneaky technology traps. However, all failed to date!
I am on a mission to either find an extension that works ... or write my own.  I have a real issue with someone else telling me what to look at while I am trying to do a bit of research of read and article.  Hopefully soon, I can update this post with a viable solution.

My crusade begins now!!

Tuesday, August 23, 2011

Heroku PostgreSQL on the Cedar (java) stack

Found a few articles the other day on the web where you could use the cedar stack to deploy java apps [cedar stack reference].  Found it interesting, reached out to my dev's (who are Heroku masters) and ask for their help to teach the old dog some new tricks.  I managed to get it all up and running. Then when I wanted to connect to the PostgreSQL database I could only find ruby examples.   I hacked on it for a while and finally managed to get the solution up and running.  If you want the source code, you can visit my public git site and pull it down or visit my Heroku cedar stack for a demo.

Heroku instance
Github public project


Once you have your Github and Heroku account, upload your ssl keys, download the software from github and execute the following to deploy the application.
> git init
> git add .
> git commit -m "initial import"
> heroku create --stack cedar
> git push heroku master


Now, if you get some wierd ssl error, that is due to ssl issue, you're in for a fun ride. It is recoverable, but it can be a very nasty headache. I have found that on windows I have to reset my key weekly - on Linux, "one and done".  Here are some sites I used to help me figure these hurdles out: 
Github

Github setup and key generation (windows)
Github setup (linux)

To import your SSL Cert into github:
after you create you key, open ~/.ssh/id_rsa.pub, copy the full text
now, login to github, in the top right select "Account Settings", then "SSH Public Keys", "Add another public key" ... give it a name and paste the contents of ~/.ssh/id_rsa.pub
Save .. done.

Heroku
install Heroku on windows
install Heroku on Linux

adding the keys to heroku, very easy:
heroku keys:add
done ...

Good luck!

About Me

My photo
Don't tell people how to do things, tell them what to do and let them surprise you with their results. --General George S. Patton
Open Source Links | Sourceforge | Slashdot | Open Source