January 31, 2017

2017 Web Development Conference Opportunities

2017 Web Development Conference Opportunities Note: I make no warranty as to the accuracy of any of the info below; this is just my attempt at […]
January 11, 2017

/Delete-all-comments Hack – Lessons Learned

What Happened On December 19, 2016 one of my (to this point largely unused) WordPress multsite networks was comprised, via a plugin vulnerability as described at […]
December 14, 2016

Using Task Scheduler To Open Outlook At Predefined Intervals, Using PowerShell

This post is going to show you how to leverage Windows Task Scheduler and PowerShell in order to open Outlook at predefined intervals throughout the day. […]
December 13, 2016

Most Popular Names at CSU

A friendly bet recently arose between a co-worker and myself as to what the most popular last name/first names were at CSU.  Here’s the query/results: select […]
December 6, 2016

Installing the Oracle Client In Order To Connect to Banner/ODS

Please use your eID to sign in below to access this post.

December 1, 2016

Establishing an RDP connection with a Windows 8.1 client from Mac OS X

I recently had the problem of connecting to a machine running Windows 8.1.  To solve the problem, I had to edit Group Policy, as per http://kb.mit.edu/confluence/display/istcontrib/Establishing+an+RDP+connection+with+a+Windows+8.1+client+from+Mac+OS+X Verify […]
November 24, 2016

Tracking E-mail Opens

The Code Recently I was asked by a client how she could track which recipients were opening her e-mail messages (without using a read receipt).  It turned out to be a pretty easy process, after finding this article:  http://dyn.com/blog/tracking-email-opens-via-google-analytics/ As you can see from that blog post, the trick is embedding an image in the [...]
November 24, 2016

Active Directory Authentication in ASP.NET MVC 5

In case it’s useful to others, here’s some sample code in order to get LDAP working with MVC 5 at Colorado State University.  When deploying remotely, please be sure to switch to using SSL. Web.Config <connectionStrings> <add name="PartySmart_AD" connectionString="LDAP://colostate.edu:389/DC=colostate,DC=edu"/> </connectionStrings> <location path="admin"> <system.web> <authorization> <allow users="sgeisert" /> <deny users="*" /> </authorization> </system.web> </location> <system.web> <!-- [...]
November 23, 2016

Form Wizard Pro And JQuery Word Count Revisited, Yet Again

For End Users If your resident developer has already implemented the code below, then this is all you need to paste the following into your form (specifically, the following: This goes into your question text [Maximum of X words/chars - <span class="alert-friendly remainX">X</span> words/chars remaining] This goes into your CSS class field limitWordsX  OR   limitChars500 [...]
November 23, 2016

Regular Expression Code Snippets

I know I'm duplicating another page on this site, but it's easier to get here from the home page and I'm lazy.  More regex's are at http://www.regxlib.com Zip Code Matches 80523 and 80523-1000 ^d{5}([-]d{4})?$ Campus Delivery Code Matches four digits ^d{4}$ Phone Number Matchings phone numbers with or with out extensions, (555) 555-555 and (555) 555-5555 [...]
November 22, 2016

IIS7 + Routing Webforms

Note to self: Interestingly I haven't had to do this with all web forms projects (no clue why), but on my latest NetTiers project, I had to add  <system.webServer> <modules runAllManagedModulesForAllRequests="true" /> </system.webServer> to my web.config file to get routing to work in IIS7.
November 22, 2016

Installing ASP.NET Membership Provider from Command Line

No need to install all .net membership services when all you're using is the SQLRoleProvider (which is usually the case for me at CSU, where I'm relying on the ActiveDirectoryMembershipProvider).  So, here's the basic command line syntax for installing the sql role provider: First, switch to the appropriate directory: cd C:WindowsMicrosoft.NETFrameworkv4.0.30319  then aspnet_regsql -S <server> [...]
9zi7chg