Tuesday, March 29, 2011

Don't forgot about iptables if certain ports are blocked

Sometimes you might encounter a internal network configuration setup by your local network admins where certain ports are blocked.

If you can't access a certain port though and the network admins say everything is open you might want to see what iptables is doing.

I'd forgotten that iptables can limit certain ports from being used if you're trying to access you're Linux server from another server.

Here were some command I had to use to stop iptables and permanently disable it - if I needed to reboot my Linux box:


1006 netstat -ln -A inet
1007 ifconfig
1008 iptables --list
1009 /etc/init.d/iptables stop
1010 iptables --list
1011 chkconfig --list
1012 chkconfig --list | grep iptables
1013 chkconfig --help
1014 chkconfig --level 2345 iptables off
1015 chkconfig --list | grep iptables
1016 history

Friday, February 25, 2011

ATDD with Cucumber

Did a day long session exploring Cucumber for Acceptance Test Driven Development.

Seems pretty cool so far.

Seems we'll be using feature files to create scenarios and then coding step files in Java using Selenium with tie ins to cuke4duke libraries.


Tuesday, January 25, 2011

brazier, brassserie and brassiere

Easy to confuse these words. Especially if you hear them with the novice ear.

brazier - container for fire

brasserie - literally, a brewery in French, but in actuality, a more informal restaurant. Some put restaurant, then bistro and then brasserie and finally cafe...

brassiere - bra in French

Forvo makes it easy to learn the ways to pronounce these words too.

Monday, January 24, 2011

Tomcat should not be confused with the Apache web server

If it's been awhile since you've been in the Apache tool space you may have wrapped up Apache into Tomcat.

They're still a separate product offering and NOT bundled together. Wikipedia even mentions it here.

If you're looking for httpd.conf and configure files, those only are for the Apache web server, NOT in Tomcat...

I used the Apache server for a lot of Perl programs I wrote in the late 90s and early 00s; especially when I first started at Sun and had to maintain some legacy Perl scripts.

While I was an intern at Sun, Tomcat had been introduced by one of Sun's engineers and I began using it (in addition to JRun) for hosting JSP/Servlet applications.

Wednesday, January 19, 2011

Agile

There's a few tenets to agile programming/development.
  • Customer satisfaction by rapid delivery of useful software
  • Welcome changing requirements, even late in development
  • Working software is delivered frequently (weeks rather than months)
  • Working software is the principal measure of progress
  • Sustainable development, able to maintain a constant pace
  • Close, daily cooperation between businesspeople and developers
  • Face-to-face conversation is the best form of communication (co-location)
  • Projects are built around motivated individuals, who should be trusted
  • Continuous attention to technical excellence and good design
  • Simplicity
  • Self-organizing teams
  • Regular adaptation to changing circumstances

Maybe it should be made into a rhyme like, "Jack be nimble, Jack be quick...," just for easier memorization of some of the tenets.

That rhyme could be updated for agile methodologies!

Tuesday, January 18, 2011

Shenanigans

Love the word shenanigans.

Maybe it means questionable goings-on with the understanding that whatever is going on can be treated with levity, irony and good sense of humor.

Seems to be a more popular word in my vocabulary these days :)

Thursday, October 07, 2010

Oracle SQLPlus versus SQL Server and MySQL

Tested creating tables with some scripts we have here. Testing was against: Oracle 10g, SQL Server 2005, and MySQL 5x.

Somehow Oracle is this least intuitive.

I need some links for next time:

Connecting to SQL Plus

SQL Plus FAQ

Deleting tables (called dropping in Oracle)

Creating and dropping sequences

Creating a Trigger

Using a *.sql script from within SQL Plus

Dropping a trigger

Seems a lot more complex than MySQL or SQL Plus

Exploring ELK (Elastic) Stack for hack-a-thon

At my current gig, our group finally got to do hack-a-thon week and I joined a team project that tied together a few of the technologies I...