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
package jfrode.jsontosql.main; | |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import org.json.JSONArray; | |
import org.json.JSONObject; | |
/** | |
* |
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
function logClass(target: any) { | |
// save a reference to the original constructor | |
var original = target; | |
// a utility function to generate instances of a class | |
function construct(constructor, args) { | |
var c : any = function () { | |
return constructor.apply(this, args); | |
} |
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
- compiled from multiple sources and much trial and error, please feel free to use and pass on | |
-- please note this is not exhaustive, it's meant only as a guide | |
- please see | |
https://www.industrialcuriosity.com/2016/10/without-or-without-certificates-an-idiots-guide-to-end-to-end-web-encryption/ | |
for a full explanation. please feel free to comment, question and criticize there! |
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
PREDCTION | |
https://www.uber.com/api/fare-estimate-beta?pickupRef=ChIJvS5CUCARFgcRndtzlTaEHPc&pickupRefType=google_places&pickupLat=-12.9777378&pickupLng=-38.5016363&destinationRef=ChIJ-1Fg3mAaFgcRMntdugK7MmA&destinationRefType=google_places | |
AUTOCOMPLETE | |
https://www.uber.com/api/autocomplete-address?latitude=-12.977737799999998&longitude=-38.50222638598325&query=cab | |
POINTS | |
https://www.uber.com/api/directions?pickupRef=ChIJvS5CUCARFgcRndtzlTaEHPc&pickupRefType=google_places&pickupLat=-12.9777378&pickupLng=-38.5016363&destinationRef=ChIJ-1Fg3mAaFgcRMntdugK7MmA&destinationRefType=google_places |
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
package com.webile.demo; | |
import android.app.Activity; | |
import android.graphics.Canvas; | |
import android.graphics.ColorFilter; | |
import android.graphics.Paint; | |
import android.graphics.Paint.Style; | |
import android.graphics.Path; | |
import android.graphics.Rect; | |
import android.graphics.RectF; |
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
// Enviando e-mails usando o Node.js e o famoso nodemailer | |
var nodemailer = require('nodemailer'); | |
// Vamos criar a conta que irá mandar os e-mails | |
var conta = nodemailer.createTransport({ | |
service: 'Gmail', // Existem outros services, você pode procurar | |
// na documentação do nodemailer como utilizar | |
// os outros serviços | |
auth: { | |
user: '[email protected]', // Seu usuário no Gmail |
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
html, | |
body, | |
div, | |
span, | |
applet, | |
object, | |
iframe, | |
h1, | |
h2, | |
h3, |