Category: Script Library
-
iNatural Image Download Python Script
I started working on a small project to replicate the results found in Justen et al. 2021 Identification of Public Submitted Tick Images: A Neural Network Approach. https://doi.org/10.1371/journal.pone.0260622. One of the sources of tick images used in the paper is from iNaturalist.org. iNaturalist has a publicly accessible data set with millions of observations of thousands…
-
Passing XML to Sql Server
Learn how to pass XML to SQL Server
-
Easy Pop-Ups with JQuery
Create a popup and position it dynamically using Jquery.
-
Wrapping HTML Elements with a Parent DIV using jQuery
Add a target element to a parent DIV dynamically using jQuery.
-
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…
-
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.
-
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.
-
Simple Cache Class in C#
A simple class that gets and sets Hashtables within a Session object in C#.
-
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.
-
Fix MySQL corrupted configuration on Ubuntu
A fix for a tricky ERROR 2002 in MySQL Server 5.5 on Ubuntu 13.04.