Skip to content

Instantly share code, notes, and snippets.

Brandon Meyer BMeyerKC

  • Kansas City, USA
Block or report user

Report or block BMeyerKC

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
@BMeyerKC
BMeyerKC / entertainingsql.sql
Created Sep 28, 2018
Entertaining SQL Scripts
View entertainingsql.sql
-- Shows the tables by file size on a database
select
sum(reserved_page_count) * 8.0 / 1024
from
sys.dm_db_partition_stats
GO
select
sys.objects.name, sum(reserved_page_count) * 8.0 / 1024
View knockout-todos.html
<!--
In Vue, we use v-model for all form bindings, while
Knockout maintains separate binding types, such as
textInput, checked, and options. In some cases,
such as for an input of type "range", Knockout
simply doesn't have an equivalent two-way binding
helper and the more verbose value and valueUpdate
must be used.
-->
<div id="app">
View AuthController.cs
using RealityLeague.Attributes;
using RestSharp;
using RLLib.Facade;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
@BMeyerKC
BMeyerKC / MessageShed.cs
Last active Feb 25, 2016
This is might little helper for Azure Queue Storage. Allows me to make and retrieve a queue based on class name
View MessageShed.cs
using Easy203k.Repo;
using System.Configuration;
using Microsoft.WindowsAzure.Storage.Queue;
namespace Easy203k.Shed
{
public class MessageShed : BaseShed
{
CloudQueueClient queueClient;
@BMeyerKC
BMeyerKC / gist:5120862
Last active Dec 14, 2015
Recursive function call that speeds up. Using Meteor template events.
View gist:5120862
Meteor.startup(function () {
$(function(){
$(document).on("mouseup", function (){
clearTimeout(pointsTimer);
});
});
// code to run on client at startup
});
var pointsTimer, pointsPlayer, timerStart, addTimer;
@BMeyerKC
BMeyerKC / example.html
Last active Dec 12, 2015 — forked from edersohe/example.html
Vertical Button Set for jQuery UI
View example.html
<html>
<head>
<title>Test</title>
<link rel="stylesheet" media="all" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/themes/start/jquery-ui.css"></link>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js"></script>
<script src="jquery.buttonsetv.js"></script>
<script>
$(document).ready(function(){
//call plugin
You can’t perform that action at this time.