I hereby claim:
- I am nirev on github.
- I am nirev (https://keybase.io/nirev) on keybase.
- I have a public key ASA0iUz7lDk8COWoruwEqMtQBGdtQEux2s6TYKabVsH3gwo
To claim this, I am signing this object:
# deletes remote branchs that are merged | |
$ git branch -r --merged | | |
awk -F'/' '/^ *origin/{if(!match($0, /(>|master|production)/)){print $2}}' | | |
xargs git push origin --delete |
defmodule MonadError do | |
defmacro __using__(_) do | |
quote do | |
import MonadError, only: [bind: 1, fail: 1, fail: 0, with: 3, either: 3, sandbox: 1] | |
require MonadError | |
end | |
end | |
defmacro sandbox(body) do |
I hereby claim:
To claim this, I am signing this object:
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/
#!/usr/bin/env python | |
import re | |
import sys | |
import base64 | |
from hashlib import sha256 | |
from binascii import hexlify, unhexlify | |
from Crypto.Cipher import AES | |
MAGIC = "::::MAGIC::::" |
Author: Nilo Dantas - n1lo | |
Based on: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056 - helio-valente post | |
How to use Cedilha on US Keyboard on ArchLinux | |
1) Put: English(US, internacional with dead Keys) on your system keyboard layout. | |
2) Editing the files: | |
sudo vim /usr/lib/gtk-3.0/3.0.0/immodules.cache |
Como parte do processo seletivo do Elo7, gostaríamos que você fizesse uma pequena tarefa. Conforme seu resultado daremos continuidade ao processo te convidando para uma sessão de pair-programming.
Durante o desenvolvimento dê preferência para implementação em Java.
O objetivo dessa tarefa é avaliar como você vai desenvolver o código em termos de estilo, eficiência e qualidade.
#!/bin/bash +x | |
# Source: http://www.gabsoftware.com/tips/automatically-reconnect-to-your-vpn-on-linux/ | |
# Description: | |
# Make the script executable "chmod +x /path/to/the/script.sh | |
# Put the script in .profile or .bashrc so it can be run on user login: | |
# Example: echo "/path/to/the/script.sh start &" >> .bashrc | |
# The script can be bound to shortcut keys with these commands: | |
# /path/to/the/script.sh start # starts and monitors VPN connection |
ARG OTP_VERSION=22.0 | |
################################################## | |
# Base - setup project and docker cache for build | |
FROM erlang:${OTP_VERSION}-alpine as base | |
# elixir expects utf8. | |
ENV ELIXIR_VERSION="v1.9.1" \ | |
LANG=C.UTF-8 |