View 20150711-typed-demo.js
/* | |
Experimental Typed Language Support - User Contributed by Me | |
Use as you please! | |
For typed.com | |
Developed by Christopher Zenzel | |
*/ | |
$(document).ready(function() { | |
// Language Information - Shared by Functions |
View jingo-wiki-file-uploads.patch
Only in jingo-uploads: .DS_Store | |
Only in jingo-master: .git | |
Only in jingo-uploads/lib: .DS_Store | |
diff -crB jingo-master/lib/app.js jingo-uploads/lib/app.js | |
*** jingo-master/lib/app.js 2015-09-19 03:43:52.000000000 -0400 | |
--- jingo-uploads/lib/app.js 2015-09-19 02:57:35.000000000 -0400 | |
*************** | |
*** 24,29 **** | |
--- 24,30 ---- | |
gravatar = require("gravatar"), |
View .gitignore
# .gitignore File | |
/[Ll]ibrary/ | |
/[Tt]emp/ | |
/[Oo]bj/ | |
/[Bb]uild/ | |
/[Bb]uilds/ | |
/Assets/AssetStoreTools* | |
# Set your output directory to ignore | |
/[Oo]utput/ |
View NoaaportReceiver.cs
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.IO; | |
OpenConnection(); | |
void OpenConnection() { |
View radar-ingest.php
<?php | |
/* | |
* teamWeather - Weather Center | |
* NOAAPORT FINFO Ingest Script for Radar Data | |
* | |
* Updated: 2016/11/12 | |
* | |
* Copyright 2016 Christopher Zenzel | |
* All Rights Reserved | |
*/ |
View disableselinux.c
/* | |
Code from the Debian NoRoot Project | |
https://github.com/pelya/debian-noroot/blob/master/disableselinux/disableselinux.c | |
*/ | |
#include <errno.h> | |
extern int audit_open (void); | |
int audit_open (void) |
View usb_root.rb
# USB / File System Root and URL Root for Jekyll | |
# | |
# Description: Create links and paths within your site using a file system root | |
# Description: This plugin is not limited to USB use for a Jekyll Static Site | |
# | |
# Built by: Christopher Zenzel, AA, IST | |
# Purpose: A Jekyll Web Site containing my Resume for distribution via USB | |
# Built: 2015 | |
# | |
# Please use as you want, but please give credit back to my GIST or |
View youtube.js
// Run from the dev tools console of any Youtube video | |
// Accurate as of June 12, 2016 | |
var videoUrls = {}; | |
ytplayer.config.args.url_encoded_fmt_stream_map.split(',').forEach(function (item) { | |
var obj = {}; | |
item.split('&').forEach(function (param) { | |
param = param.split('='); | |
obj[param[0]] = decodeURIComponent(param[1]); |
View Extensions.cs
public static class Extensions | |
{ | |
public static string CombineToQuerystring(this Dictionary<string, string> Components) | |
{ | |
List<string> objStrings = new List<string>(); | |
foreach (var objParam in Components) | |
objStrings.Add(string.Format(@"{0}={1}", objParam.Key, objParam.Value)); | |
return string.Join("&", objStrings.ToArray()); |
OlderNewer