Tuesday, May 19, 2015

Fatal error: Call to undefined function pg_connect()

Uncomment following lines in your php.ini and you are good to go.


I hope this helps. Thanks!!!!

Thursday, May 7, 2015

NetBeans How to : Using Subversion

I will just post the original link here and attachment.


Please let me know if the link is broken. Hope it helps.. thanks!!

Friday, September 5, 2014

Quickly Show/Hide Hidden Files on Mac OS X Mavericks

To Show
1 > Open Terminal

2 >  defaults write com.apple.finder AppleShowAllFiles YES
3 >
  Right-click on Finder while holding "Alt/option" key and select "Relaunch" the Finder.

To Hide
1 > Open terminal
2 > defaults write com.apple.finder AppleShowAllFiles NO

Please repeat above step 3> to relaunch the Finder.

Thank you.

I have found this solution here :

Getting files by creation date in .NET

using System.Linq;

DirectoryInfo info = new DirectoryInfo("");
FileInfo[] files = info.GetFiles().OrderBy(p => p.CreationTime).ToArray();
foreach (FileInfo file in files)
    // DO Something...
full credit to original post:

Friday, June 20, 2014

Default Maximized Window State for JFrame using NetBeans IDE

1. Go to JFrame - Properties
2. Set extendedState to MAXIMIZED_BOTH

Sunday, April 13, 2014

Connect Remote MSSQL Server with PHP

Connect MSSQL Server with PHP

$server = 'xxx.xxx.xxx:port';
// Connect to MSSQL
$link = mssql_connect($server, 'user', 'password');
if (!$link) {
    die('Something went wrong while connecting to MSSQL');
    echo mssql_get_last_message();

You can use localhost instead of ip or url if you are connecting on the same machine. :) Thanks :)

Friday, March 2, 2012

Using your DIVs as Tables

Enjoy your coding!!!

  #container {
    display: table;
  #row  {
    display: table-row;

  #left, #right, #middle {
    display: table-cell;
<div id="container">
  <div id="row">
   <div id="left">
   <div id="middle">
   <div id="right">