Skip to content

Instantly share code, notes, and snippets.

View czenzel's full-sized avatar

Christopher Zenzel czenzel

View GitHub Profile
@czenzel
czenzel / NoaaportReceiver.cs
Last active August 14, 2016 16:36
NOAAPORT Receiver in Xamarin C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.IO;
OpenConnection();
void OpenConnection() {
@czenzel
czenzel / disable-automatic-image-crop.php
Created August 1, 2016 07:29
Wordpress - Disable Automatic Image Cropping
<?php
/*
Plugin Name: Disable Automatic Image Crop
Author: Wordpress Community
Description: wpse124009 - http://wordpress.stackexchange.com/questions/124009/why-wordpress-automatic-cropping-all-my-images and https://developer.wordpress.org/reference/functions/remove_image_size/
*/
add_action( 'init', 'czc_disable_extra_image_sizes' );
add_filter( 'image_resize_dimensions', 'czc_disable_crop', 10, 6 );
@czenzel
czenzel / .gitignore
Created May 12, 2016 03:16
Unity and GitHub
# .gitignore File
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/Assets/AssetStoreTools*
# Set your output directory to ignore
/[Oo]utput/
@czenzel
czenzel / jingo-wiki-file-uploads.patch
Created September 19, 2015 07:48
Add File Uploads to Jingo Node.JS Wiki
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"),
@czenzel
czenzel / 20150711-typed-demo.js
Created July 12, 2015 01:00
Experimental Typed Language Support using jQuery
/*
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
@czenzel
czenzel / usb_root.rb
Last active November 30, 2017 18:01
USB and File System Root URL for Jekyll Generated Sites (File System Jekyll without Web Server)
# 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