College Website – My first project !

I had mentioned earlier on twitter that I will be uploading some recovered data from my broken hard drive. So here is the first one. Following is the link to a self extracting archive of the first project I ever did. The college website! …with help of the Subhash Dasyam. https://github.com/shafiqissani/ASTRA-College-Website This is a very […]

Puppet Error – Could not file class in namespace – [solved]

Yet another silly error message… that is nowhere near accurate. So if you get the following error one of the possible mistakes would be a missing curly bracket. Yea, I wasted an hour on this one. ppsshh err: Could not retrieve catalog: Could not find class php in namespaces standardbuild at /etc/puppet/manifests/templates.pp:15 on domain.internal.com

How To Get The Current Epoch Time (Unix Timestamp)

  Perl time PHP time() Ruby Time.now (or Time.new). To display the epoch: Time.now.to_i Python import time first, then int(time.time()) Java long epoch = System.currentTimeMillis()/1000; Microsoft .NET C# epoch = (DateTime.Now.ToUniversalTime().Ticks – 621355968000000000) / 10000000; VBScript/ASP DateDiff(“s”, “01/01/1970 00:00:00”, Now()) Erlang calendar:datetime_to_gregorian_seconds(calendar:now_to_universal_time( now()))-719528*24*3600. OR element(1, now()) * 10000 + element(2, now()). MySQL SELECT unix_timestamp(now()) PostgreSQL SELECT extract(epoch […]

9 skills developers will need in the next five years

With the recent changes in the economy, a lot of developers are focused on their short-term job prospects. At the same time, it’s important to make sure that you get the most bang for your buck when it comes to taking the time and energy to learn new skills. Here is a  list of 10 […]