Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Gleisson Ricardo gleissonmattos

🎯
Focusing
View GitHub Profile
@gleissonmattos
gleissonmattos / Main.java
Created Aug 14, 2019 — forked from JFRode/Main.java
SQL para registro de todos os estados e cidades do Brasil
View Main.java
package jfrode.jsontosql.main;
import java.io.BufferedReader;
import java.io.FileReader;
import org.json.JSONArray;
import org.json.JSONObject;
/**
*
@gleissonmattos
gleissonmattos / class_decorator.ts
Created Mar 28, 2019 — forked from remojansen/class_decorator.ts
TypeScript Decorators Examples
View class_decorator.ts
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);
}
@gleissonmattos
gleissonmattos / _end-to-end-enc.js.txt
Created Mar 27, 2019 — forked from therightstuff/_end-to-end-enc.js.md
Javascript / Node.js end-to-end encryption
View _end-to-end-enc.js.txt
- 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!
@gleissonmattos
gleissonmattos / Links
Last active Nov 13, 2018
UBER PREDICTION PRICE
View Links
View BubbleBackgroundDrawableDemo.java
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;
@gleissonmattos
gleissonmattos / email.js
Created Apr 25, 2017 — forked from alanhoff/email.js
Enviando e-mails usando Node.js e o nodemailer
View email.js
// 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: 'seuemail@gmail.com', // Seu usuário no Gmail
@gleissonmattos
gleissonmattos / style.min.css
Created Nov 24, 2016
Local do arquivo: falassaportal/portal/css/style.min.css
View style.min.css
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
You can’t perform that action at this time.