Adam Maus
  • About
  • Blog
  • Contact
  • Cooking
  • YouTube Video Event Tracking

    Easily Track YouTube Videos with Google Analytics has Javascript code available to perform tracking on YouTube video events in Google Analytics. I encountered a problem where the code didn’t work with YouTube videos already embedded with iframes. The YouTube JavaScript Player API Reference says that it should be able to handle YouTube videos embedded in…

    September 30, 2014
  • Export SQL Server Stored Procedures using Python

    The following short Python 2.7 script creates an export of all the stored procedures and functions within a SQL Server database.

    August 19, 2014
  • Overwriting the Browser Confirm pop up using jQuery

    You can overwrite the default confirm function using the following snippet of code which combines jQuery UI and Bootstrap to create a nice looking confirm box that is easier to read.

    July 18, 2014
  • Simple Cache Class in C#

    A simple class that gets and sets Hashtables within a Session object in C#.

    July 16, 2014
  • Caching the results of a PDO Query in Memcache

    A quick example of code that will prepare a PDO statement and cache the results in Memcache in a LAMP environment.

    July 15, 2014
  • Fix MySQL corrupted configuration on Ubuntu

    A fix for a tricky ERROR 2002 in MySQL Server 5.5 on Ubuntu 13.04.

    January 29, 2014
  • Rijndael / AES (128 bit) in VB.net, PHP, Python

    Being able to transport encrypted data is important in some of my projects at work. One-way hashes using MD5 usually suffice for most encryption purposes but Symmetric Encryption algorithms are important for encrypting and then decrypting data. For this, we use the Rijndael and AES algorithm in a few different languages.

    November 21, 2012
  • Removing the BuddyPress Admin Bar

    A short script to remove that pesky BuddyPress Admin Bar in Wordpress 3.4.2 and BuddyPress 1.6.1

    October 26, 2012
  • Cosine Similarity in MS SQL

    Cosine similarity measures the angle between two vectors and can be used to perform similarity between text strings. In the following code, the two input strings are vectorized and the similarity is returned as a floating point value between 0 and 1.

    June 20, 2012
  • Multidimensional Scaling

    Multidimensional Scaling (MDS) is a linear embedding method used when we only know the pairwise distances between data points. For linear systems, MDS works well with as little as 10 points and the system is 2 dimensional.

    April 29, 2012
←Newer Posts Older Posts→

Blog Tags

.NET Backyard Birds Bootstrap C Caching Centrality Chaos CI/CD CSS Delayed Henon Map Docker GitHub Gitlab Henon Map HTML Invertible Maps Javascript jQuery Karma LetsEncrypt Linux Lyapunov Spectrum Machine Learning Memcache MS SQL MySQL Neural Network ODE Optimization Particle Swarm Optimization PDO PHP Python Rastrigin function Rossler Attractor Script Library Sensitivities Social Network Analysis Sql Server Time Series Traefik VB.net Wordpress XML