Skip to content

Instantly share code, notes, and snippets.

import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
-(void) testGeocode{
MLAddress *addr = [[MLAddress alloc] initWithStreet:nil
andBuildingNumber:nil
andNeighborhood:nil
andCity:@"São Paulo"
andState:@"SP"
andPostalCode:nil];
NSArray * addressesGeocoded = [MLAddressGeocoder geocodeWithToken:@"seu token" address:addr];
//
// APTOpeningHoursFormatterTest.m
// Apontador
//
// Created by viniciusmo on 8/4/14.
// Copyright (c) 2014 Apontador. All rights reserved.
//
#import <XCTest/XCTest.h>
#import "APTOpeningHoursFormatter.h"
@viniciusmo
viniciusmo / example-list-poi-route-ios
Last active August 29, 2015 14:04
Exemplo- Listar pois em uma rota
-(void) testDoRoute{
MLAddress * startAddress = [self createStartAddress];
MLAddress * endAddress = [self createEndAddress];
MLGeocodedAddress * geocodedFunchal = [[MLAddressGeocoder geocodeWithToken:@"seu token" address:startAddress] objectAtIndex:0];
MLGeocodedAddress * geocodedPinheiros = [[MLAddressGeocoder geocodeWithToken:@"seu token" address:endAddress] objectAtIndex:0];
MLRouteDetails * routeDetails = [[MLRouteDetails alloc] initWithRouteType:FASTEST andRouteDescription:HIGHWAY];
routeDetails.pois = @[@"CAMERA_G1"];
#!/usr/bin/env ruby
require 'nokogiri'
@root = ARGV[0]
@doc = Nokogiri::XML ""
def file_list_recurse(dir , xml)
Dir.foreach(dir) do |f|
next if f == '.' or f == '..' or f.include? ".tmp" or f.include? "DS_Store" or f.include? @root+".gproj"
f = dir + '/' + f