Skip to content

Instantly share code, notes, and snippets.

Antoine Cœur Coeur

  • Apple
  • Shanghai
Block or report user

Report or block Coeur

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View NSString-Levenshtein.m
// NSString-Levenshtein.m
// Created by Rick Bourner on Sat Aug 09 2003.
@implementation NSString(Levenshtein)
// calculate the distance between two string treating them eash as a
Coeur /
Last active Jan 16, 2019 — forked from lopezjurip/
Write to NTFS on OSX Yosemite and El Capitan

Install osxfuse (3.x.x) from

Install Homebrew:

ruby -e "$(curl -fsSL"

Update Homebrew formulae:

brew update
View TypeSwitch.cs
using System;
namespace Virtlink
/// <summary>
/// Executes a particular piece of code based on the type of the argument.
/// </summary>
/// <example>
/// Usage example:
/// <code>
View ARCHelper.h
// ARC Helper
// Version 2.1
// Created by Nick Lockwood on 05/01/2012.
// Copyright 2012 Charcoal Design
// Distributed under the permissive zlib license
// Get the latest version from here:
Coeur / Get iOS MAC address.m
Created Nov 30, 2011
Get iOS MAC address #
View Get iOS MAC address.m
/* Original source code courtesy John from */
#include <sys/socket.h>
#include <sys/sysctl.h>
#include <net/if.h>
#include <net/if_dl.h>
+ (NSString *)getMacAddress
int mgmtInfoBase[6];
You can’t perform that action at this time.