Ajax with Django REST and Angular.js
It took me a while to get Ajax calls working with Angular and Django REST. This is what finally got it done. NOTE: The implementation below is not really REST. It is more intended to illustrate some...
View ArticleHow to Debug Django
Django has some very useful error pages built in that can help with a lot of debugging. Unfortunately sometimes you need to dig into the code a little more at run time to track down errors, etc. Here...
View ArticleDjango website on AWS – Elastic Beanstalk – Using Windows 7
This article is a work in progress… The Amazon Web Services (AWS) website has instructions for doing this, but they are mostly tailored to doing it on a Linux machine. Here’s how to do it on Windows 7....
View ArticleAjax with Django
This doc is a work in progress… Using Django version: 1.6.2 Basic Ajax Example views.py from django.shortcuts import render def basicajax(request): context = {} # Draw initial page if request.method ==...
View ArticleHow to Track Scheduled MySQL Events
A couple years ago I started delving into MySQL Events as a clean way to do some cronjob like tasks (data aggregation, preprocessing, etc). Overall I’ve been pleased with their performance. However,...
View ArticleChrome Extension – Communicating Between background.js and popup.js
Recently I was fooling around with Chrome Extension development, mostly just to satisfy my curiosity about how it worked. This article will show a basic template that illustrates one method of...
View ArticleExcel SUMPRODUCT Function – Possible Uses
SUMPRODUCT is a very useful and flexible function in Excel, but it also has one of the trickier syntaxes to get right. I use this function often, and concise reference articles have been hard to find....
View ArticleMySQL Index Merge Optimization
I was recently tasked with optimizing a table for a rather tricky query. A typical query went something like this: SELECT `ID` FROM `ExistingUsers` WHERE `EntryType` = 'NEW' AND `Version` =...
View ArticleExcel Function Quick Reference
Just want to document some of the Excel functions I end up using fairly frequently, but can be time consuming to reproduce. Pull Content from Another Sheet by Matching Top Row and Left Column Basic...
View ArticleBasic Flask API on Elastic Beanstalk (AWS)
This post is just to document what worked for me to get a very basic implementation of a Flask API up and running with Amazon Web Services (AWS) Elastic Beanstalk. For this I was using Flask version...
View Article