Skip to content

Instantly share code, notes, and snippets.

View BasicPrinciples's full-sized avatar

BasicPrinciples

View GitHub Profile
@BasicPrinciples
BasicPrinciples / SocketTasksFromAsync.cs
Last active February 9, 2023 12:20
C# Socket Async Task Extension Methods
/**
* 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
@BasicPrinciples
BasicPrinciples / extensions.json
Last active August 23, 2016 16:02
JSON MIME types / Internet Media Types by extension
/*
* 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 / mimetypes.json
Last active August 23, 2016 16:01
JSON MIME types / Internet Media Types
/*
* 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": {