Skip to content

Instantly share code, notes, and snippets.

Avatar

BasicPrinciples

View GitHub Profile
@BasicPrinciples
BasicPrinciples / mimetypes.json
Last active Aug 23, 2016
JSON MIME types / Internet Media Types
View mimetypes.json
/*
* from: www.freeformatter.com/mime-types-list.html
* List by extension: https://gist.github.com/BasicPrinciples/7a98aa74df9eeb150b49c3209004022b
*/
{
"application/vnd.hzn-3d-crossword": {
"ext": ".x3d",
"desc": "3D Crossword Plugin"
},
"video/3gpp": {
@BasicPrinciples
BasicPrinciples / extensions.json
Last active Aug 23, 2016
JSON MIME types / Internet Media Types by extension
View extensions.json
/*
* from: www.freeformatter.com/mime-types-list.html
* List by type: https://gist.github.com/BasicPrinciples/cb4f1331fd9f54c9e7cb7beb0bbf27d3
*/
{
".x3d": {
"type": "application/vnd.hzn-3d-crossword",
"desc": "3D Crossword Plugin"
},
@BasicPrinciples
BasicPrinciples / SocketTasksFromAsync.cs
Last active Dec 6, 2018
C# Socket Async Task Extension Methods
View SocketTasksFromAsync.cs
/**
* Author: BasicPrinciples@github.com
* Date: 11/19/2015
* Namespace: SocketTasksFromAsync
* Class: SocketExtensions
* Revision: 1.0.0
* Purpose: Add tasks to the Socket class
*
* Description: Extension methods for System.Net.Sockets.Socket
* that wrap some of it's APM begin and end methods