Skip to content

Instantly share code, notes, and snippets.

View msell's full-sized avatar

Matt Sell msell

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="KendoUI Filtered ListView" />
<meta charset="utf-8">
<title>Untitled</title>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.rtl.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.default.min.css">
.product h3 {
font-size: 1.3em;
line-height: 1.4em;
margin: 0;
padding: 0;
height: 1.3em;
overflow: hidden;
}
.product p {
font-size: 1em;
.product h3 {
font-size: 1.3em;
line-height: 1.4em;
margin: 0;
padding: 0;
height: 1.3em;
overflow: hidden;
}
.product p {
font-size: 1em;
@msell
msell / d3start.html
Last active August 29, 2015 14:12 — forked from erikthered/d3start.html
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Burndown Chart</title>
<style>
.chart {
border: 1px solid black;
}
.chart div {
@msell
msell / server.js
Created January 24, 2015 15:41
Express App using Azure Redis Cache
(function () {
'use strict';
var express = require('express');
var bodyParser = require('body-parser');
var redis = require('redis');
var app = express();
app.use(bodyParser.urlencoded({extended:true}));
app.use(bodyParser.json());
@msell
msell / meridian.js
Created January 27, 2015 01:18
cheerio selector fun
var gulp = require('gulp');
var cheerio = require('cheerio');
var fs = require('fs');
var _ = require('lodash');
gulp.task('default', function () {
console.log('take a big ole gulp');
})
gulp.task('migrateSongs', function () {
@msell
msell / ViewBook.aspx.htm
Created January 27, 2015 01:24
screen scrape sample
<table align="center" cellpadding="0" cellspacing="0" class="styleMainTable" id="tableMain">
<tr>
<td>
<table cellspacing="0" class="style1">
<tr valign="top">
<td width="100%">
<div id="PanelMain" class="styleMainPanel" style="height:816px;overflow-y:scroll;">
<table id="tableBook" cellspacing="0" cellpadding="0" class="styleBookTable" border="0" style="color:LightGrey;background-color:Black;font-family:Arial;font-size:31pt;border-collapse:collapse;">
<tr id="TOP" style="color:#4264FF;background-color:Black;">
@msell
msell / scrapeSongbook.js
Last active August 29, 2015 14:14
scrape songbook
var cheerio = require('cheerio');
var fs = require('fs');
var _ = require('lodash');
console.log('migrating song data');
var $ = cheerio.load(fs.readFileSync('./ViewBook.aspx.htm'), {
normalizeWhitespace: false
});
var songBookFile = fs.createWriteStream('songBook.json');
@msell
msell / songbook.html
Last active August 29, 2015 14:14 — forked from anonymous/mycode.js
songbook example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
Songbooks Live - Songbook Viewer
</title>
<style type="text/css">
html,