cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More

cfObjective 2013 – Practical Deployment with Git and Ant

I had the privilege of speaking again at cfObjective this year, and once again it was a great experience. I talked about Git and Apache Ant and how you can get these two cool technologies to work together. My intent was to give the audience an introduction to both technologies and present ways to integrate them together. If you are new to Git, an earlier blog post I published might be helpful for getting started with Git. Also, this is a great tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. A big thanks to everyone who came to my talk! I would love feedback…
Read More

Apache Ant presentation for TACFUG

I did a short 15-20 minute presentation during the TACFUG meeting yesterday on Apache Ant. I really liked this tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. My demo was heavily derived from this tutorial :) Also, I would highly recommend going through the illustrious Mr. Priest's Ant wiki for tons of useful resources. Here is the slide deck and the demo code: Slide Deck Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

Getting started with Git

Here a few useful resources, instructions and tips on getting started with Git. This is meant to be more like a personal repository of Git resources, but I figured I'd put it on my blog so that it might hopefully help some folks out there on the interwebs as well. Create free account on https://github.com/ Download git: http://git-scm.com/downloads If you want a nicer GUI client (for windows): http://windows.github.com/ Setting up Git: https://help.github.com/articles/set-up-git Open up Git Bash or Git Shell. Preliminary commands: git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com" Generate SSH key: https://help.github.com/articles/generating-ssh-keys (Make sure you remember your pass phrase) Commands for committing files: http://gitref.org/basic/ git…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More

cfObjective 2013 – Practical Deployment with Git and Ant

I had the privilege of speaking again at cfObjective this year, and once again it was a great experience. I talked about Git and Apache Ant and how you can get these two cool technologies to work together. My intent was to give the audience an introduction to both technologies and present ways to integrate them together. If you are new to Git, an earlier blog post I published might be helpful for getting started with Git. Also, this is a great tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. A big thanks to everyone who came to my talk! I would love feedback…
Read More

Apache Ant presentation for TACFUG

I did a short 15-20 minute presentation during the TACFUG meeting yesterday on Apache Ant. I really liked this tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. My demo was heavily derived from this tutorial :) Also, I would highly recommend going through the illustrious Mr. Priest's Ant wiki for tons of useful resources. Here is the slide deck and the demo code: Slide Deck Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

Getting started with Git

Here a few useful resources, instructions and tips on getting started with Git. This is meant to be more like a personal repository of Git resources, but I figured I'd put it on my blog so that it might hopefully help some folks out there on the interwebs as well. Create free account on https://github.com/ Download git: http://git-scm.com/downloads If you want a nicer GUI client (for windows): http://windows.github.com/ Setting up Git: https://help.github.com/articles/set-up-git Open up Git Bash or Git Shell. Preliminary commands: git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com" Generate SSH key: https://help.github.com/articles/generating-ssh-keys (Make sure you remember your pass phrase) Commands for committing files: http://gitref.org/basic/ git…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More

cfObjective 2013 – Practical Deployment with Git and Ant

I had the privilege of speaking again at cfObjective this year, and once again it was a great experience. I talked about Git and Apache Ant and how you can get these two cool technologies to work together. My intent was to give the audience an introduction to both technologies and present ways to integrate them together. If you are new to Git, an earlier blog post I published might be helpful for getting started with Git. Also, this is a great tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. A big thanks to everyone who came to my talk! I would love feedback…
Read More

Apache Ant presentation for TACFUG

I did a short 15-20 minute presentation during the TACFUG meeting yesterday on Apache Ant. I really liked this tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. My demo was heavily derived from this tutorial :) Also, I would highly recommend going through the illustrious Mr. Priest's Ant wiki for tons of useful resources. Here is the slide deck and the demo code: Slide Deck Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

Getting started with Git

Here a few useful resources, instructions and tips on getting started with Git. This is meant to be more like a personal repository of Git resources, but I figured I'd put it on my blog so that it might hopefully help some folks out there on the interwebs as well. Create free account on https://github.com/ Download git: http://git-scm.com/downloads If you want a nicer GUI client (for windows): http://windows.github.com/ Setting up Git: https://help.github.com/articles/set-up-git Open up Git Bash or Git Shell. Preliminary commands: git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com" Generate SSH key: https://help.github.com/articles/generating-ssh-keys (Make sure you remember your pass phrase) Commands for committing files: http://gitref.org/basic/ git…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More

cfObjective 2013 – Practical Deployment with Git and Ant

I had the privilege of speaking again at cfObjective this year, and once again it was a great experience. I talked about Git and Apache Ant and how you can get these two cool technologies to work together. My intent was to give the audience an introduction to both technologies and present ways to integrate them together. If you are new to Git, an earlier blog post I published might be helpful for getting started with Git. Also, this is a great tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. A big thanks to everyone who came to my talk! I would love feedback…
Read More

Apache Ant presentation for TACFUG

I did a short 15-20 minute presentation during the TACFUG meeting yesterday on Apache Ant. I really liked this tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. My demo was heavily derived from this tutorial :) Also, I would highly recommend going through the illustrious Mr. Priest's Ant wiki for tons of useful resources. Here is the slide deck and the demo code: Slide Deck Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

Getting started with Git

Here a few useful resources, instructions and tips on getting started with Git. This is meant to be more like a personal repository of Git resources, but I figured I'd put it on my blog so that it might hopefully help some folks out there on the interwebs as well. Create free account on https://github.com/ Download git: http://git-scm.com/downloads If you want a nicer GUI client (for windows): http://windows.github.com/ Setting up Git: https://help.github.com/articles/set-up-git Open up Git Bash or Git Shell. Preliminary commands: git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com" Generate SSH key: https://help.github.com/articles/generating-ssh-keys (Make sure you remember your pass phrase) Commands for committing files: http://gitref.org/basic/ git…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More

cfObjective 2013 – Practical Deployment with Git and Ant

I had the privilege of speaking again at cfObjective this year, and once again it was a great experience. I talked about Git and Apache Ant and how you can get these two cool technologies to work together. My intent was to give the audience an introduction to both technologies and present ways to integrate them together. If you are new to Git, an earlier blog post I published might be helpful for getting started with Git. Also, this is a great tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. A big thanks to everyone who came to my talk! I would love feedback…
Read More

Apache Ant presentation for TACFUG

I did a short 15-20 minute presentation during the TACFUG meeting yesterday on Apache Ant. I really liked this tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. My demo was heavily derived from this tutorial :) Also, I would highly recommend going through the illustrious Mr. Priest's Ant wiki for tons of useful resources. Here is the slide deck and the demo code: Slide Deck Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

Getting started with Git

Here a few useful resources, instructions and tips on getting started with Git. This is meant to be more like a personal repository of Git resources, but I figured I'd put it on my blog so that it might hopefully help some folks out there on the interwebs as well. Create free account on https://github.com/ Download git: http://git-scm.com/downloads If you want a nicer GUI client (for windows): http://windows.github.com/ Setting up Git: https://help.github.com/articles/set-up-git Open up Git Bash or Git Shell. Preliminary commands: git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com" Generate SSH key: https://help.github.com/articles/generating-ssh-keys (Make sure you remember your pass phrase) Commands for committing files: http://gitref.org/basic/ git…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More

cfObjective 2013 – Practical Deployment with Git and Ant

I had the privilege of speaking again at cfObjective this year, and once again it was a great experience. I talked about Git and Apache Ant and how you can get these two cool technologies to work together. My intent was to give the audience an introduction to both technologies and present ways to integrate them together. If you are new to Git, an earlier blog post I published might be helpful for getting started with Git. Also, this is a great tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. A big thanks to everyone who came to my talk! I would love feedback…
Read More

Apache Ant presentation for TACFUG

I did a short 15-20 minute presentation during the TACFUG meeting yesterday on Apache Ant. I really liked this tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. My demo was heavily derived from this tutorial :) Also, I would highly recommend going through the illustrious Mr. Priest's Ant wiki for tons of useful resources. Here is the slide deck and the demo code: Slide Deck Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

Getting started with Git

Here a few useful resources, instructions and tips on getting started with Git. This is meant to be more like a personal repository of Git resources, but I figured I'd put it on my blog so that it might hopefully help some folks out there on the interwebs as well. Create free account on https://github.com/ Download git: http://git-scm.com/downloads If you want a nicer GUI client (for windows): http://windows.github.com/ Setting up Git: https://help.github.com/articles/set-up-git Open up Git Bash or Git Shell. Preliminary commands: git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com" Generate SSH key: https://help.github.com/articles/generating-ssh-keys (Make sure you remember your pass phrase) Commands for committing files: http://gitref.org/basic/ git…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More

cfObjective 2013 – Practical Deployment with Git and Ant

I had the privilege of speaking again at cfObjective this year, and once again it was a great experience. I talked about Git and Apache Ant and how you can get these two cool technologies to work together. My intent was to give the audience an introduction to both technologies and present ways to integrate them together. If you are new to Git, an earlier blog post I published might be helpful for getting started with Git. Also, this is a great tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. A big thanks to everyone who came to my talk! I would love feedback…
Read More

Apache Ant presentation for TACFUG

I did a short 15-20 minute presentation during the TACFUG meeting yesterday on Apache Ant. I really liked this tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. My demo was heavily derived from this tutorial :) Also, I would highly recommend going through the illustrious Mr. Priest's Ant wiki for tons of useful resources. Here is the slide deck and the demo code: Slide Deck Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

Getting started with Git

Here a few useful resources, instructions and tips on getting started with Git. This is meant to be more like a personal repository of Git resources, but I figured I'd put it on my blog so that it might hopefully help some folks out there on the interwebs as well. Create free account on https://github.com/ Download git: http://git-scm.com/downloads If you want a nicer GUI client (for windows): http://windows.github.com/ Setting up Git: https://help.github.com/articles/set-up-git Open up Git Bash or Git Shell. Preliminary commands: git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com" Generate SSH key: https://help.github.com/articles/generating-ssh-keys (Make sure you remember your pass phrase) Commands for committing files: http://gitref.org/basic/ git…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Analysis of Wikimedia Logs for Traffic Load and Popularity using Apache Hadoop

I took a class in Data Center systems this past Spring as a part of my Masters curriculum. My final project for that class was a project on analyzing public Wikimedia logs to determine different traffic load as well as popularity patterns using Apache Hadoop. I had a lot of fun doing this project and it was great learning experience so I figured I'd blog about it. The goals of this project were: 1.) Perform temporal analysis on total number of requests per hour. 2.) Find the most popular Wikimedia project based on total views per hour per project. 3.) Find the top 10 most popular pages during a given…
Read More

cfObjective 2013 – Practical Deployment with Git and Ant

I had the privilege of speaking again at cfObjective this year, and once again it was a great experience. I talked about Git and Apache Ant and how you can get these two cool technologies to work together. My intent was to give the audience an introduction to both technologies and present ways to integrate them together. If you are new to Git, an earlier blog post I published might be helpful for getting started with Git. Also, this is a great tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. A big thanks to everyone who came to my talk! I would love feedback…
Read More

Apache Ant presentation for TACFUG

I did a short 15-20 minute presentation during the TACFUG meeting yesterday on Apache Ant. I really liked this tutorial for tips on installing and getting started with Ant: Introduction to Ant Tutorial. My demo was heavily derived from this tutorial :) Also, I would highly recommend going through the illustrious Mr. Priest's Ant wiki for tons of useful resources. Here is the slide deck and the demo code: Slide Deck Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

Getting started with Git

Here a few useful resources, instructions and tips on getting started with Git. This is meant to be more like a personal repository of Git resources, but I figured I'd put it on my blog so that it might hopefully help some folks out there on the interwebs as well. Create free account on https://github.com/ Download git: http://git-scm.com/downloads If you want a nicer GUI client (for windows): http://windows.github.com/ Setting up Git: https://help.github.com/articles/set-up-git Open up Git Bash or Git Shell. Preliminary commands: git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com" Generate SSH key: https://help.github.com/articles/generating-ssh-keys (Make sure you remember your pass phrase) Commands for committing files: http://gitref.org/basic/ git…
Read More