[
{
"_id" : "123456asdfg",
"title": "Common Tomato",
"description" : "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"value" : 4.9,
"thumb_url" : "https://goo.gl/diuzx5",
"published_at": "2017-07-05T08:40:51.000Z",
"likes" : 256,
This file contains hidden or 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
Book - Pragmatic Testing - Orta : https://github.com/orta/pragmatic-testing | |
Talk - Engineer for Testability - WWDC2017 : https://developer.apple.com/videos/play/wwdc2017/414/ | |
iOS App Test Examples : https://github.com/kickstarter/ios-oss |
This file contains hidden or 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
configurations.all { | |
resolutionStrategy.eachDependency { DependencyResolveDetails details -> | |
def requested = details.requested | |
if (requested.group == 'com.android.support') { | |
if (!requested.name.startsWith("multidex")) { | |
details.useVersion '25.3.1' | |
} | |
} | |
} | |
} |
This file contains hidden or 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
var sendNotification = function(data) { | |
var headers = { | |
"Content-Type": "application/json; charset=utf-8", | |
"Authorization": "Basic Token" | |
}; | |
var options = { | |
host: "onesignal.com", | |
port: 443, | |
path: "/api/v1/notifications", |
Portions taken from http://www.cs.utexas.edu/~mitra/csSpring2011/cs327/cx_mac.html & https://gist.github.com/thom-nic/6011715
Download the following files from Oracle
instantclient-basic-macos.x64-12.1.0.2.0.zip instantclient-sdk-macos.x64-12.1.0.2.0.zip
This file contains hidden or 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
opt_in_rules: # some rules are only opt-in | |
# - missing_docs | |
- attributes | |
- closure_end_indentation | |
- closure_spacing | |
- empty_count | |
- explicit_init | |
- explicit_top_level_acl | |
- extension_access_modifier | |
- fatal_error_message |
This file contains hidden or 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
// | |
// Billit.swift | |
// antonyalkmim | |
// | |
// Implementacao da classe boleto para identificar valor, data de vencimento e linha digitavel a partir de um codigo de barras | |
// ou identificar valor e data de vencimento a partir de uma linha digitavel. | |
// Todas as regras implementadas seguem a documentacao da FEBRABRAN (https://cmsportal.febraban.org.br/Arquivos/documentos/PDF/Layout%20-%20C%C3%B3digo%20de%20Barras%20-%20Vers%C3%A3o%205%20-%2001_08_2016.pdf) | |
// | |
// Created by Antony Alkmim on 26/01/18. | |
// |
This file contains hidden or 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 Foundation | |
import RxSwift | |
extension HttpService: ReactiveCompatible { } | |
extension Reactive where Base: HttpServiceType { | |
func request(_ endpoint: Base.Target) -> Single<Data> { | |
return Single<Data>.create(subscribe: { [weak base] single in | |
let task = base?.request(endpoint, responseData: { result in |
This file contains hidden or 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 Foundation | |
protocol UserDefaultsDelegate: class { | |
func theObject(forKey key: String) -> Any? | |
func setTheObject(_ object: Any, forKey key: String) | |
func removeTheObject(forKey key: String) | |
func synchronizeAll() | |
} | |
class UserDefaultsService: NSObject { |
This file contains hidden or 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
package com.myapp.app.ui.auth | |
import android.os.Build | |
import android.os.Bundle | |
import android.support.v4.content.ContextCompat | |
import android.support.v7.app.AppCompatActivity | |
import android.view.Gravity | |
import android.view.MenuItem | |
import android.view.View | |
import android.view.WindowManager |