Skip to content

Instantly share code, notes, and snippets.

View mbiermann's full-sized avatar

Martin Biermann mbiermann

View GitHub Profile
@mbiermann
mbiermann / gist:9012698
Created February 15, 2014 00:54
rexstitan.log
0 [main] INFO com.tinkerpop.rexster.Application - .:Welcome to Rexster:.
172 [main] INFO com.tinkerpop.rexster.server.RexsterProperties - Using [/usr/local/titan/rexhome/../conf/rexster-cassandra-es.xml] as configuration source.
198 [main] INFO com.tinkerpop.rexster.Application - Rexster is watching [/usr/local/titan/rexhome/../conf/rexster-cassandra-es.xml] for change.
549 [main] INFO com.netflix.astyanax.connectionpool.impl.ConnectionPoolMBeanManager - Registering mbean: com.netflix.MonitoredResources:type=ASTYANAX,name=ClusterTitanConnectionPool,ServiceType=connectionpool
566 [main] INFO com.netflix.astyanax.connectionpool.impl.CountingConnectionPoolMonitor - AddHost: 127.0.0.1
0 [main] INFO com.tinkerpop.rexster.Application - .:Welcome to Rexster:.
117 [main] INFO com.tinkerpop.rexster.server.RexsterProperties - Using [/usr/local/titan/rexhome/../conf/rexster-cassandra-es.xml] as configuration source.
127 [main] INFO com.tinkerpop.rexster.Application - Rexster is watching [/usr
@mbiermann
mbiermann / gist:9010927
Created February 14, 2014 22:39
Rexster config
<?xml version="1.0" encoding="UTF-8"?>
<rexster>
<http>
<server-port>8182</server-port>
<server-host>0.0.0.0</server-host>
<base-uri>http://localhost</base-uri>
<web-root>public</web-root>
<character-set>UTF-8</character-set>
<enable-jmx>false</enable-jmx>
<enable-doghouse>true</enable-doghouse>
@mbiermann
mbiermann / gist:8782808
Created February 3, 2014 12:10
Tracking an action with the Trademob Tracking SDK (v2.0-beta)
#import <Trademob/TMTracker.h>
// Import here is for convenience. Following these docs (http://goo.gl/QtSkAL)
// better have this in your compilation prefix
@implementation TMSomeRandomController : NSObject
- (void)anyRandomMethod {
// Generate an action info hash that contains any domain-specific key-value
// pairs and an integer typed value
NSDictionary *info = @{
@mbiermann
mbiermann / gist:5597969
Last active August 27, 2019 09:28
Tiny function wrappers for easy method swizzle with block implementation.
#import <objc/message.h>
@interface MBBlockSwizzle : NSObject
/**
* A block type definition for blocks that contain logic to revert a swizzled method's
* implementation to it's original implementation.
*/
typedef void(^MBSwizzleRevertBlock)();