Skip to content

Instantly share code, notes, and snippets.

View 1fabiopereira's full-sized avatar
👨‍💻
Working from home

Fábio Pereira 1fabiopereira

👨‍💻
Working from home
  • Guaratinguetá - SP, Brazil
View GitHub Profile
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
}
}
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule Subscribable
* @flow
apply plugin: 'com.android.library'
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
minSdkVersion 16
targetSdkVersion 22
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
}
}
allprojects {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.3'
}
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
}
}
version: '3.2'
services:
postgresql_db:
image: jetherrodrigues/postgresql:v2
container_name: postgresql
hostname: postgresql
ports:
- "55432:5432"
networks:
- unisal
// Faz consulta no BD 1
class Database1 {
static getAll () {
return [
{
id: 1,
name: "Name-1"
},
{
id: 2,
(function () {
let promiseChain = Promise.resolve();
const promises = {};
const callbacks = {};
const init = () => {
// Gera o uuid da msg
const guid = () => {