Skip to content

Instantly share code, notes, and snippets.

AJ Hoffer dochoffiday

Block or report user

Report or block dochoffiday

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View FormsAuthenticationWithUserData.cs
using Newtonsoft.Json;
using System.Web;
using System.Web.Security;
public class LoggedInUser
{
public string FirstName { get; set; } = null;
public bool IsAdmin { get; set; } = false;
}
View FindControlsRercursive.cs
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Web.UI;
public static class ControlHelpers
{
public static IEnumerable<Control> FindControlsRecursive(this Control root, string regex)
{
foreach (Control child in root.Controls)
{
@dochoffiday
dochoffiday / PercentRounder.cs
Last active May 22, 2019
Uses the "Largest Remainder Method" to ensure rounded percentages add up to their correct total
View PercentRounder.cs
using System;
using System.Collections.Generic;
using System.Linq;
public class PercentRounder
{
public class PercentInfo
{
public int Index;
public int Percent;
@dochoffiday
dochoffiday / jeep-wrangler-yj-1991-hard-or-no-start-long-cranks-in-the-cold-explained.md
Last active Aug 29, 2015
Jeep Wrangler YJ 1991+: Hard or No Start/Long Cranks in the Cold Explained
View jeep-wrangler-yj-1991-hard-or-no-start-long-cranks-in-the-cold-explained.md

#Jeep Wrangler YJ 1991+: Hard or No Start/Long Cranks in the Cold Explained

**This is a rewrite of this post: http://www.jeepforum.com/forum/f12/91-hard-no-start-long-cranks-cold-explained-490788/ - so, all credit belongs to that author!

Ok, with the weather turning colder it seems like everyday people are popping up wondering why their jeeps aren't starting like they were in the warm weather. This post is going to try and explain one of the more common problems the YJ is known for and hopefully give you all some way to narrow it down before throwing parts at it that aren't needed. The underlying problem here is that the computer is failing to power up when you turn the key on.

Symptoms

You guessed it, the jeep doesn't always start right away. Instead it seems to sit there and crank forever. Usually (but not always) this is followed by a rapid clicking sound coming from under the hood and then miraculously the jeep will start. If you're really observant you might have noticed that the check engine l

You can’t perform that action at this time.