Skip to content

Instantly share code, notes, and snippets.

View GioviQ's full-sized avatar
:octocat:
Blazor dev

GioviQ

:octocat:
Blazor dev
View GitHub Profile
@praeclarum
praeclarum / PlayMidi.cs
Created May 27, 2014 03:53
Shows how to play MIDI files and dynamically create songs on iOS using C# (Xamarin)
using System;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using MonoTouch;
using MonoTouch.AudioToolbox;
using MonoTouch.AudioUnit;
using MonoTouch.CoreFoundation;
using MonoTouch.CoreMidi;
using MonoTouch.Foundation;
@hclewk
hclewk / password.cs
Created December 31, 2016 18:11
Hash a password in c#
using System;
using System.Text;
using System.Security.Cryptography;
namespace PasswordHash
{
/// <summary>
/// Salted password hashing with PBKDF2-SHA1.
/// Author: havoc AT defuse.ca
/// www: http://crackstation.net/hashing-security.htm