Home

Code @ CSU is an evolving resource for a variety of tech-related matters. If you would like to contribute to this project, please fill out the contributor request form. Alternatively, if there is a subject you would like to have covered here, please fill out the contact us form and submit your topic request.

Recent Posts

Autoptimize vs Fail2Ban

Autoptimize, Fail2ban Fiasco

You must be logged in to view this content.

Please log in with your eID below:

Read More »
Responsive CSU Header

CSS-Only Responsive CSU Header

Background CSU’s brand guidelines require that our websites have a responsive header. For large screens, the CSU signature should be written out on one line (Colorado State University); on medium screens, the CSU signature should be written on two lines (Colorado State–University); on small screens, the CSU signature should be shortened to our initials (CSU).

Read More »
Updating gears

Automating Manual Plugin Updates

You must be logged in to view this content.

Please log in with your eID below:

Read More »
Conferences

2022 Conference Opportunities

Note: I make no warranty as to the accuracy of any of the info below; this is just my attempt at aggregating a few conferences of personal interest in one location Conference Name Location Date Price Purpose Url Microsoft Build Online May 24 – 26 FREE (normally $2,395 in person) General purpose Microsoft developer conference

Read More »
Users on a Multisite

User Registration Across Sites within a Multisite Network

WordPress multisite installs come with many benefits. But they also come with some quirks. One such quirk is how it handles user registration on sibling sites within the multisite network. Hypothetical Situation In this hypothetical scenario, we will have Site A, Site B, and a user named Alice. Previously, Alice had registered as a user

Read More »
Power BI

How to Switch From Import to Direct Query Mode in Power BI

I’m not sure why Microsoft sets “Import Query” as the default when creating new Power BI connections, but the tyranny of the default led me to create charts using that option.  Weeks later I realized I didn’t want to manually refresh my reports and sought to switch the query mode to be direct instead.  Here’s

Read More »

Posts of the Day

PHP Logo

PHP Web Auth

Download php-webauth.zip [insert link] To get started: Sign in to eService, www.eid.colostate.edu, and set the Web Auth Return Destination value https://[DestinationUrl]/result.php Locate and change the eServiceToken and Submit properties to your assigned eService Token and desired submit button (see the code’s comments for more information) in Login method of webauth.php $this->eServiceToken = ‘1234….’; $this->Submit = “Default”;

Read More »
Web Analytics

How to Check My Site’s Analytics – First Steps

I utilize Google Analytics for all of my public websites.  If you want to get to that data without my intervention, you will need a Google account to do so.  Here’s the steps that are taken to obtain analytics data: I would create a Google Analytics account profile for you and then wire up your

Read More »
Oracle Instant Client

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

Every time I deploy a new machine I have the chore of installing the Oracle drivers/client in order to be able to connect to odsprod/banprod from my desktop (when testing locally in Visual Studio).  As I unfortunately misplaced the old directions to do so, with the help of Mike Brake I was able to recreate

Read More »