zookeeper-server-start.sh
- starting Zookeeperkafka-server-start.sh
- start Kafkakafka-topics.sh
- manage topics in Kafkakafka-console-producer.sh
- script for sending messages to Kafka topickafka-console-consumer.sh
- script for consuming messages from Kafka topickafka-run-class.sh
- script for running different tools (list of tools can be found here)
Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).
docker run -it --rm --privileged --pid=host justincormack/nsenter1
more info: https://github.com/justincormack/nsenter1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// main.m | |
#import <Foundation/Foundation.h> | |
// Main methods declaration | |
NSArray *getDecodedPolyline(NSString *); | |
NSArray *getLocationsTillTime(NSArray *, NSDate *); | |
// Helper methods declaration | |
NSArray *getDecodedDimensionFromPolyline(NSString *, int); | |
NSArray *getFormattedDimensions(NSNumber *, NSNumber *, NSNumber *); |