List of unit testing frameworks for Java

JUnit A programmer-oriented testing framework for Java Mockito A Mocking framework that tastes really good DbUnit A JUnit extension to perform unit testing with database-driven programs SLF4J A Java logging API by means of a simple facade …

How to use Hubot behind a proxy.

You may fail to run a bot which uses http connection with Hubot if you are behind a proxy such as Squid. Hubot behind a proxy · Issue #287 · github/hubot · GitHub For example, you'll have following type of error messages when you run "hubo…

How to use net-snmp api in XCode project.

Mac OS X includes net-snmp library by default, and how to use the net-snmp api in XCode is as follow. Select a project on the right pane of XCode window. Select "Build Phases", and open "Link Binary With Libraries". Click "+" button, and a…

How to run pcap4j on Mac OS X.

Pcap4J is a Java library for capturing, crafting and sending packets. And, according to its README, Mac OS X is not included in supported operating system. But, you can run Pcap4J on Mac OS X in the following way. [Preparetion] Download pc…

How to stop "Listen has fallen back to polling" warning of Sass while watching for changes.

You would have a following warning message while you are trying to watch for changes with Sass. --------------------------------------------------------------------------- WARNING: Listen has fallen back to polling, learn more at https://g…

Keyboard shortcuts for HP WebOS running in VirtualBox on Mac OS.

fn + left --> Pushing Home button (Minimizes and maximizes the card) fn + right + right --> Showing lock screen fn + F6 + F9 --> Rotating device clockwise fn + F9 + F6 --> Rotating device counterclockwise left or right --> Switching the ap…

How to solve “Failed to validate oauth signature and token” error message on Twitter Oauth.

You would receive this error message from Twitter when you try to get request token. In this case, you can solve the error message if you make your system clock be accurate.

How to set up ntp on Cent OS.

1. Install ntp. # yum install ntp 2. Turn on service. # /sbin/chkconfig ntpd on 3. Synchronize the system clock. # /sbin/ntpdate 4. Start ntp. # /etc/init.d/ntpd start

How to turn on the Java applet plug-in for browsers.

If you saw a message that said "Inactive Plug-in" when you wanted to play a Java applet game or something, turn on the Java applet plug-in for browsers. It's vary easy. Launch "Java Preferences". You can find it by using Spotlight. Check "…

How to remove "event.layerX and event.layerY are broken and deprecated in WebKit..." warning message.

If you see the following warning message on your javaScript console of Google Chrome, you have to update jQuery to the latest version. --------------------------------------------------------------------------------------------------------…

MacPorts command note

Update all packages. $sudo port selfupdate $sudo port sync $sudo port upgrade outdated Uninstall old ports $sudo port uninstall inactive

How to remove "Warning: xcodebuild exists but failed to execute" warning message of MacPorts.

Run the following command. $ sudo xcode-select -switch /Applications/

Test post

DSCF0102.JPG Fort Collins, CO Freeskier Visits Tanner Hall In Park City

MySQL commands I learned today.

alter table [tablename] add [columnname] varchar (20); Add a new column to a table. alter table [tablename] drop [columnname]; Delete a column from a table. alter table [tablename] change [columnname] [newcolumnname] varchar (20); Change a…

MySQL commands I learned today.

mysql -u [username] -p; Login a sql server. show databases; List all databases on the sql server. create database [databasename]; Create a database on the sql server. drop database [databasename]; Delete a database on the sql server. grant…

How to set a root password for MySQL.

To setup root password for first time, use mysqladmin command at shell prompt as follows: $ mysqladmin -u root password NEWPASSWORD MySQL Change root Password

Test Post

This is a test post.