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

The Newsletter Plugin Logo

The Newsletter Plugin

What is The Newsletter Plugin? The Newsletter Plugin (sometimes referred to simply as “Newsletter” within WordPress) is a plugin that allows you to easily create newsletters to send to subscribers. While you can use it to send out a generic email with static text, the real benefit comes from it automatically pulling your website’s posts

Read More »
Connection timeout error message

Know When Your Site Goes Down Before Your Clients Do

I’m not too happy when a site I am responsible for goes down.  I especially don’t like it when a client alerts me to this fact, when I should have known/fixed the issue myself well before their knowledge of the issue.  So, here’s how to prevent such an occurrence from ever happening to you again.

Read More »
ASP.Net Security

ASP.NET security configuration tips

67% of ASP.NET websites have serious configuration related security vulnerabilities https://www.troyhunt.com/67-of-aspnet-websites-have-serious/ Issue Description Many web developers believe that newer Microsoft development frameworks such as ASP.NET (aka .NET) including MVC, Web Forms, or .NET Core protect them from many of the security vulnerabilities present in classic ASP and other older technologies. However, this is a false

Read More »