Posts

Why I considered going Serverless.

Image
Why I considered going Serverless. I did not stop my study on making my professional website as light as possible. Today, I dropped the server and I went Serverless .

AWS Lightsail for Light-weight web applications

Image
AWS Lightsail for Light-weight web applications While I was studying on how to serve my professional website as Light as Possible, I came across AWS Lightsail. And like a kid with a new toy, I didn't waste any time to get my hands on this one.

Huge Email Clean-up and Verification

Image
"There will always be a time that your company will have a dirty stack of email addresses from way back that you need to clean and scrub to see which email addresses are still alive and kicking." - Son Goku 1884

AWSome Day SEA Roadshow | Manila

Image
Amazon hosted AWSome Day South East Asia Roadshow 2016 in Manila last September 13, 2016. AWSomeDay is a free, one-day training event that provided a step-by-step introduction to the core AWS services for compute, storage, database and networking. Manila is the second city to host the SEA Roadshow next to Singapore. Bangkok, Jakarta and Kuala Lumpur are next in line.

Access Laravel Session Outside Laravel

Image
I was curious if this was possible. I had a scenario that I wanted access an active Laravel session OUTSIDE Laravel.

BGTS LDAP Authentication Module

Image
A simple LDAP authentication module for Laravel using Caffeinated Module and Angular JS Checks if a username is registered in an LDAP collection. Replaces the default Laravel Authentication.    

Microsoft Excel's Networkdays on Javascript

Here is a small snippet I made to do Networkdays function of MS Excel in Javascript. networkdays = function (startDate,endDate){ var startDate = typeof startDate=='object' ? startDate: new Date (startDate); var endDate = typeof endDate=='object' ? endDate: new Date (endDate); if (endDate > startDate){ var days = Math .ceil((endDate.setHours(23,59,59,999) - startDate.setHours(0,0,0,1)) / (86400 * 1000)); var weeks = Math .floor( Math .ceil((endDate.setHours(23,59,59,999) - startDate.setHours(0,0,0,1)) / (86400 * 1000)) / 7); days = days - (weeks * 2); days = startDate.getDay() - endDate.getDay() > 1 ? days - 2 : days; days = startDate.getDay() == 0 && endDate.getDay() != 6 ? days - 1 : days; days = endDate.getDay() == 6 && startDate.getDay() != 0 ? days - 1 : days; return days; } return null ; }; Usage: networkdays('08/05/2016','08/30/2016'); OR networkdays(new Date(), '08/30/2016'); Acce