Skip to content

Instantly share code, notes, and snippets.

Kevin Miller kemiller2002

Block or report user

Report or block kemiller2002

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 Using Out Variable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TestOutVariable
{
using System;
using System.Collections.Generic;
using System.Linq;
View Lazy vs. Eager Evaluation
/// <summary>
/// This has lazy evaluation, so you won't find out if the argument is the cause of an exception
/// until you start the enumeration.
/// </summary>
/// <param name="word"></param>
/// <returns></returns>
public static IEnumerable<char> MakeUpperCaseAndReturnParts (string word)
{
if (String.IsNullOrWhiteSpace(word))
{
View event not firing.
<html>
<body>
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>
<input type="button" class="btnSaveParameters" id="btn_SaveCriteria"
onclick="return btn_SaveCriteria_onclick()"
value="Save Subscription" />
@kemiller2002
kemiller2002 / ShowOnlyOnceUsingCookie.html
Created Aug 10, 2016
shows how to use a cookie to display only once. There is an extra else statement to remove it for testing.
View ShowOnlyOnceUsingCookie.html
<html>
<body>
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>
<div class="overlay-bg" style="display:none">
<div class="overlay-inner">
<h2>To explore more simply...</h2>
You can’t perform that action at this time.