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
[ { | |
"title": "", | |
"url_image": "", | |
"body": "", | |
"origin_id": "[tw,fb,rd]", | |
"date": "", | |
} | |
] |
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 SPREADSHEET_ID="1mqiEdi6kba5eVVpAubUBcPjOPPUkoD_xGdbVm55Cktc"; | |
function myFunction() { | |
var HEADER_SIZE=3; | |
var FOOTER_SIZE=0; | |
var sheet1 = SpreadsheetApp.openById(SPREADSHEET_ID); | |
var sheet = sheet1.getSheets()[3]; |
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 SPREADSHEET_ID="1mqiEdi6kba5eVVpAubUBcPjOPPUkoD_xGdbVm55Cktc"; | |
function myFunction() { | |
var HEADER_SIZE=3; | |
var FOOTER_SIZE=0; | |
var sheet = SpreadsheetApp.openById(SPREADSHEET_ID); | |
var data = sheet.getDataRange().getValues(); |
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 mx.reservamos.reservamos.presentation.Utils; | |
import android.app.Application; | |
import android.content.Context; | |
import android.content.res.AssetManager; | |
import android.util.Log; | |
import java.io.IOException; | |
import java.io.InputStream; |
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
//class java | |
private void initDialogPassengers() { | |
dialog = new Dialog(this, android.R.style.ThemeOverlay_Material_Light); | |
dialog.setContentView(R.layout.example); | |
dialog.getWindow().getAttributes().windowAnimations = R.style.DialogTheme; | |
} | |
---------------------------------------------------------------------------------------------------------------- |
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
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.design.widget.CoordinatorLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@android:color/background_light" | |
android:fitsSystemWindows="true" | |
> |
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 android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.BitmapShader; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; | |
import com.bumptech.glide.load.resource.bitmap.BitmapTransformation; |
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
private final class CompaniesObserver extends DefaultSubscriber<SearchResponseDomain> { | |
@Override | |
public void onCompleted() { | |
super.onCompleted(); | |
getView().hideLoading(); | |
if(travleSimple) | |
getView().showCompanies(departureTrip); | |
else { | |
combineResults(departureTrip,returnTrip); |
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
const express = require('express') | |
const bodyParser = require('body-parser') | |
const request = require('request') | |
const app = express() | |
const functions = require('./function') | |
app.use(bodyParser.json()) | |
app.use(bodyParser.urlencoded({ | |
extended: true | |
})) |
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
const Client = require('node-rest-client').Client | |
var client = new Client() | |
//const key = 'AIzaSyArQQ_RJgWEKUlM2Y8Jw_lc_BMjzt3yR7I' | |
const key = 'AIzaSyBWtpveyWKoj26zuaMs-vHT8u0o2i0rKqY' | |
const radius = 3000 | |
getListPlacesToken = (lat,long,token)=>{ | |
url = '' | |
if(token == '') |