Skip to content

Instantly share code, notes, and snippets.

View geovanisouza92's full-sized avatar
🏠
Working from home

Geo geovanisouza92

🏠
Working from home
View GitHub Profile
<div class="chart-item-bg">
<div class="h4 text-bold">{{chartTitle}}</div>
<div dx-chart="{{chartOptions}}">
</div>
</div>
@geovanisouza92
geovanisouza92 / .bowerrc
Last active August 29, 2015 14:14
Setup para app Angular com AppCache
{
"directory": "app/vendor"
}
@geovanisouza92
geovanisouza92 / flynn-etcd-c98ee139eaa74e6aad287a8d0788657a.log
Created March 26, 2015 21:18
/tmp/flynn-host-logs/flynn-etcd-c98ee139eaa74e6aad287a8d0788657a/flynn-etcd-c98ee139eaa74e6aad287a8d0788657a.log
{"s":3,"t":1427401850553,"m":"t=2015-03-26T20:30:50+0000 lvl=info msg=\"registering RPC server\" app=containerinit fn=containerInitApp\nt=2015-03-26T20:30:50+0000 lvl=info msg=\"getting stdout pipe\" app=containerinit fn=containerInitApp\nt=2015-03-26T20:30:50+0000 lvl=info msg=\"getting stderr pipe\" app=containerinit fn=containerInitApp\nt=2015-03-26T20:30:50+0000 lvl=info msg=\"waiting to be resumed\" app=containerinit fn=containerInitApp\nt=2015-03-26T20:30:50+0000 lvl=info msg=\"starting RPC server\" app=containerinit fn=runRPCServer\nt=2015-03-26T20:30:50+0000 lvl=info msg=\"starting to stream state\" app=containerinit fn=StreamState\nt=2015-03-26T20:30:50+0000 lvl=info msg=\"sent initial state\" app=containerinit fn=StreamState\nt=2015-03-26T20:30:50+0000 lvl=info msg=\"waiting for state changes\" app=containerinit fn=StreamState\n"}
{"s":3,"t":1427401850555,"m":"t=2015-03-26T20:30:50+0000 lvl=info msg=resuming app=containerinit fn=containerInitApp\nt=2015-03-26T20:30:50+0000 lvl=info msg=\"setting up
This file has been truncated, but you can view the full file.
{"s":3,"t":1427405331331,"m":"t=2015-03-26T21:28:51+0000 lvl=info msg=\"registering RPC server\" app=containerinit fn=containerInitApp\nt=2015-03-26T21:28:51+0000 lvl=info msg=\"getting stdout pipe\" app=containerinit fn=containerInitApp\nt=2015-03-26T21:28:51+0000 lvl=info msg=\"getting stderr pipe\" app=containerinit fn=containerInitApp\nt=2015-03-26T21:28:51+0000 lvl=info msg=\"waiting to be resumed\" app=containerinit fn=containerInitApp\nt=2015-03-26T21:28:51+0000 lvl=info msg=\"starting RPC server\" app=containerinit fn=runRPCServer\nt=2015-03-26T21:28:51+0000 lvl=info msg=\"starting to stream state\" app=containerinit fn=StreamState\nt=2015-03-26T21:28:51+0000 lvl=info msg=\"sent initial state\" app=containerinit fn=StreamState\nt=2015-03-26T21:28:51+0000 lvl=info msg=\"waiting for state changes\" app=containerinit fn=StreamState\n"}
{"s":3,"t":1427405331461,"m":"t=2015-03-26T21:28:51+0000 lvl=info msg=resuming app=containerinit fn=containerInitApp\nt=2015-03-26T21:28:51+0000 lvl=info msg=\"setting up
This file has been truncated, but you can view the full file.
{"s":3,"t":1427405335158,"m":"t=2015-03-26T21:28:55+0000 lvl=info msg=\"registering RPC server\" app=containerinit fn=containerInitApp\nt=2015-03-26T21:28:55+0000 lvl=info msg=\"getting stdout pipe\" app=containerinit fn=containerInitApp\nt=2015-03-26T21:28:55+0000 lvl=info msg=\"getting stderr pipe\" app=containerinit fn=containerInitApp\nt=2015-03-26T21:28:55+0000 lvl=info msg=\"waiting to be resumed\" app=containerinit fn=containerInitApp\nt=2015-03-26T21:28:55+0000 lvl=info msg=\"starting RPC server\" app=containerinit fn=runRPCServer\nt=2015-03-26T21:28:55+0000 lvl=info msg=\"starting to stream state\" app=containerinit fn=StreamState\nt=2015-03-26T21:28:55+0000 lvl=info msg=\"sent initial state\" app=containerinit fn=StreamState\nt=2015-03-26T21:28:55+0000 lvl=info msg=\"waiting for state changes\" app=containerinit fn=StreamState\n"}
{"s":3,"t":1427405335159,"m":"t=2015-03-26T21:28:55+0000 lvl=info msg=resuming app=containerinit fn=containerInitApp\n"}
{"s":3,"t":1427405335159,"m":"t=2015-03-26T21:28:5
@geovanisouza92
geovanisouza92 / README.md
Last active April 30, 2016 11:22
Script to convert TextExpander snippets to Texpand

Usage:

$ ./te2t.py <.textpander file> <.txt file>

Import the .txt file into Texpand app.

@geovanisouza92
geovanisouza92 / HowToRemoveDictKeys.ipynb
Last active January 6, 2016 15:57
Comparativo entre formas de remover itens de um dicionário no Python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
provider "docker" {
host = "unix:///var/run/docker.sock"
}
resource "docker_image" "mysql_outer" {
name = "mysql:5.7"
}
resource "docker_container" "mysql_outer" {
name = "mysql_outer"
@geovanisouza92
geovanisouza92 / cycle-jwt.coffee
Created March 26, 2016 15:16
Reproduzindo a interface do "debugger" em jwt.io usando Cycle.js
DEFAULT_HS_TOKEN = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ'
DEFAULT_RS_TOKEN = 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.EkN-DOsnsuRjRO6BxXemmJDm3HbxrbRzXglbN2S4sOkopdU4IsDxTI8jO19W_A4K8ZPJijNLis4EZsHeY559a4DFOd50_OqgHGuERTqYZyuhtF39yxJPAjUESwxk2J5k_4zM3O-vtd1Ghyo4IbqKKSy6J9mTniYJPenn5-HIirE'
DEFAULT_PUBLIC_RSA = ["-----BEGIN PUBLIC KEY-----\n"
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdlatRjRjogo3WojgGHFHYLugd"
"UWAY9iR3fy4arWNA1KoS8kVw33cJibXr8bvwUAUparCwlvdbH6dvEOfou0/gCFQs"
"HUfQrSDv+MuSUMAe8jzKE4qW+jK+xQU9a03GUnKHkkle+Q0pX/g6jXZ7r1/xAK5D"
"o2kQ+X5xK9cipRgEKwIDAQAB\n"
"-----END PUBLIC KEY-----"].join ''
DEFAULT_PRIVATE_RSA = ["-----BEGIN RSA PRIVATE KEY-----\n"
@geovanisouza92
geovanisouza92 / Dockerfile
Created June 22, 2016 15:26
Proxy Reverso simplificado
FROM nginx
COPY lb.conf /etc/nginx/conf.d/