Skip to content

Instantly share code, notes, and snippets.


felipekm felipekm

Block or report user

Report or block felipekm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
felipekm /
Created Nov 18, 2019
start ec2 instance python
import boto3
# defines ec2
ec2 = boto3.resource('ec2')
# lambda handler
def lambda_handler(event, context):
# builds an array filter to get EC2 instances with TAG `LIGAR`
arrOffInstancesFilter = [
felipekm /
Last active Oct 30, 2019 boilerplate

Project name

GitHub repo size GitHub contributors GitHub stars GitHub forks Twitter Follow

Project name is a <utility/tool/feature> that allows <insert_target_audience> to do <action/task_it_does>.

View nginx_load_balancer.conf
http {
upstream api {
server {
listen 80;
felipekm / protonmail-dark.css
Created Aug 22, 2019
Prontonmail Dark Theme
View protonmail-dark.css
@charset "UTF-8";/*!
* Custom Theme for ProtonMail v3.16.0
* SPDX-License-Identifier: MIT
*/:root{--theme1:#66669a;--theme2:#fefefe;--theme3:#222224;--theme4:#36384e;--theme5:#9397cd;--theme6:#48486c;--theme7:#35373e;--red:#cc9393;--red-light:#ec6446;--yellow:#dfdf19;--yellow-light:#e7d360;--green:#a6cc93;--green-light:#89bc70;--blue:#bce8f1;--blue-light:#93b9cc;--white:#FFF;--black:#000}#exiting{background-color:var(--theme3);color:var(--theme2)}#exiting .spinner.large .spinner1,#exiting .spinner.large .spinner2,#exiting .spinner.large .spinner3{background-color:var(--theme1)}.spinner.large .spinner1,.spinner.large .spinner2,.spinner.large .spinner3{background-color:var(--theme3)}.spinner1,.spinner2,.spinner3{background-color:var(--theme1)}.proton-embedded:after{background:url(/assets/img/icons/broken-img.png) 5px 50% no-repeat var(--theme3);border-color:var(--theme2) var(--theme4) var(--theme4) var(--theme2)}html.protonmail body{background:var(--theme2)}html.protonmail body.
felipekm /
Last active Aug 20, 2019
Politica e restricoes do servico EPP no Registro.BR

Politica e restricoes do servico EPP no Registro.BR - especificacoes tecnicas NICBR-EPP-2008-1


Este documento descreve as mensagens e codigos de erro enviadas pelo servidor EPP do para clientes EPP via o comando Poll, as restricoes de alguns campos do EPP para o servidor do e codigos de erro e mensagens do servidor EPP do



Includes in .zshrc or .bashrc file

export GOPATH="${HOME}/.go" export GOROOT="$(brew --prefix golang)/libexec" export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin" test -d "${GOPATH}" || mkdir "${GOPATH}" test -d "${GOPATH}/src/" || mkdir -p "${GOPATH}/src/"

  • source ~/.zshrc or source ~/.bashrc
  • brew install go
View gist:c1462cd9197c46ebe123f22188bb14d5
sudo ln -s "$(which node)" /usr/bin/node -f
felipekm /
Created Aug 21, 2018
Validates if a PM2 process is running
sudo pm2 describe login > /dev/null
if [ "${RUNNING}" -ne 0 ]; then
echo "not running"
echo "is running"
felipekm / remote_md
Created Jun 25, 2019
git - create local branch from existing remote branch
View remote_md
1. git remote add <remote_name> <repo_url>
2. git fetch <remote_name>
3. git checkout -b <new_branch_name> <remote_name>/<remote_branch_name>
felipekm /
Created Jun 24, 2019
'npm install', getting node-gyp rebuild errors
apt-get install build-essential libkrb5-dev -y
You can’t perform that action at this time.