Skip to content

Instantly share code, notes, and snippets.

View nicwise's full-sized avatar
🙀
Screaming At Clouds

Nic Wise nicwise

🙀
Screaming At Clouds
View GitHub Profile
@praeclarum
praeclarum / ImapClient.cs
Created February 7, 2013 21:12
Oh mono, you make this too easy. I was wondering if I could write an IMAP client from scratch in MonoTouch. Turns out yes, and turns out that it's easy to do!
// Authenticating fak@praeclarum.org
// S: * OK Gimap ready for requests from 64.225.210.112 oi7if5386254oac.123
// C: A0001 LOGIN fak@praeclarum.org ****************
// S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE
// S: A0001 OK fak@praeclarum.org Frank Krueger authenticated (Success)
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
@bojanrajkovic
bojanrajkovic / GCDTest.cs
Created June 19, 2012 22:58
A bit of fun with Grand Central Dispatch...
using System;
using System.Threading.Tasks;
using MonoMac.CoreFoundation;
using MonoMac.AppKit;
using System.Threading;
namespace GCDTest
{
class MainClass
{