Skip to content

Instantly share code, notes, and snippets.

View Larusso's full-sized avatar
🍪
Ohmnomnom

Manfred Endres Larusso

🍪
Ohmnomnom
  • Wooga
  • Berlin
View GitHub Profile
#include "objc_id.hpp"
int main(int argc, const char * argv[])
{
@autoreleasepool {
NSString *s1 = @"hello";
NSString *s2 = [@"hell" stringByAppendingString: @"o"];
if ((objc_id(s1) == objc_id(s2))) {
NSLog(@"win");
@Larusso
Larusso / Image2Map.py
Created September 11, 2013 16:18 — forked from bjorn/Image2Map.py
# Filename : Image2Map.py
# Authors : Georg Muntingh and Bjorn Lindeijer
# Version : 1.2
# Date : June 16, 2010
# Copyright : Public Domain
import os, sys, Image, networkx
class TileMap:
""" This class represents a map of tiles.
{
"Profiles": [
{
"Name": "JS AGEND I",
"Guid": "C7EC57F9-7191-4D2E-A13B-383BA0E9124C",
"Badge Text" : "I",
"Tags" : [
"jenkins"
],
"Custom Command" : "Yes",