Skip to content

Instantly share code, notes, and snippets.

https://developer.atlassian.com/cloud/jira/platform/understanding-jwt/
https://medium.com/vandium-software/5-easy-steps-to-understanding-json-web-tokens-jwt-1164c0adfcec
https://jwt.io/introduction/
web:
python
php
go
geral:
java
(eficencia/custo) (baixo)
nodejs
@alexaleluia12
alexaleluia12 / pwa-udacity.txt
Created May 13, 2018 15:34
free courses pwa | cursos grátis pwa
Intro to Progressive Web Apps - https://br.udacity.com/course/intro-to-progressive-web-apps--ud811
Web Tooling & Automation - https://br.udacity.com/course/web-tooling-automation--ud892
Offline Web Applications - https://br.udacity.com/course/offline-web-applications--ud899
php
x http://slashnode.com/the-12-factor-php-app-part-1/
https://speakerdeck.com/barrybotha/12-factor-apps-using-laravel-and-php
http://shop.oreilly.com/product/0636920033868.do
python
https://hub.packtpub.com/how-to-build-12-factor-design-microservices-on-docker-part-2/
https://aws.amazon.com/pt/blogs/compute/applying-the-twelve-factor-app-methodology-to-serverless-applications/
https://stackoverflow.com/questions/33373964/twelve-factor-apps-for-docker-microservice-deployments
https://speakerdeck.com/emperorcezar/the-12factor-django-app
@alexaleluia12
alexaleluia12 / ra.txt
Last active May 11, 2018 18:13
resolução android
É indicado trabalhar tudo em dp, nunca em pixel.
Tamanho de fonte em sp.
dp = resolucao / fator
Resoluções que existem:
ldpi = 0.75
mdpi = 1 (base)
hdpi = 1.5
xhdpi = 2.0
String myjson = "{\"candies\": [{\"name\": \"Alex\", \"age\": 25}]}";
try {
JSONObject root = new JSONObject(myjson);
String name = root.getJSONArray("candies").getJSONObject(0).getString("name");
Log.i(" MY ", name);
} catch (JSONException e) {
e.printStackTrace();
}
@alexaleluia12
alexaleluia12 / command.sh
Created April 17, 2018 15:30
mudar brilho de monitor linux
# listar monitor
xrandr --current | grep connected
# mudar cor
# 0.1 minino de brilho
# 0.9 maximo de brilho
xrandr --current --output HDMI-1 --gamma 0.4:0.4:0.4
@alexaleluia12
alexaleluia12 / blogs-foda.txt
Last active November 21, 2018 00:03
ler blogs
https://www.joelonsoftware.com/
http://blog.sapiensworks.com/
https://paulhammant.com/
https://martinfowler.com/
http://www.brendangregg.com/index.html
https://blog.newrelic.com/
https://blog.risingstack.com/
@alexaleluia12
alexaleluia12 / mycard-udacity.xml
Created March 25, 2018 22:57
Make Your Own Card
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="br.com.alexaleluia.mycard.MainActivity">
<ImageView
android:layout_width="match_parent"
@alexaleluia12
alexaleluia12 / card.xml
Created March 25, 2018 21:03
udacity user interface android
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="br.com.alexaleluia.happybirthday.MainActivity">