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
import UIKit | |
class Contact: Codable { | |
var name = "" | |
var photoURL: String = "" | |
var id = "" | |
init(name: String, photoURL: String, id: String) { | |
self.name = name | |
self.photoURL = photoURL |
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
// | |
// DateFormatTransform.swift | |
// | |
// Created by Rodolfo Antonici on 29/11/16. | |
// No copyright, just use it as it's. | |
// ObjectMapper version 2.2 | |
// | |
// A simple class using the TransformType protocol of ObjectMapper to convert Date String into a NSDate object | |
import Foundation |
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
#!/usr/bin/env python | |
from datetime import datetime | |
from json import loads | |
from time import gmtime, mktime, strptime | |
# LevelDict é um wrapper usando dicionário para LevelDB | |
# https://github.com/maurobaraldi/leveldict | |
from leveldict import LevelJsonDict | |
from requests import get |