Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am pedronveloso on github.
  • I am pedronveloso (https://keybase.io/pedronveloso) on keybase.
  • I have a public key whose fingerprint is 9FE4 83E4 B95A 6D1C 7D37 C436 6712 F7B5 DE1C E2DA

To claim this, I am signing this object:

@pedronveloso
pedronveloso / refind.conf
Created October 17, 2016 21:13
Refind configuration for a working Arch Linux boot on a Mac Book
cat refind.conf
#
# refind.conf
# Configuration file for the rEFInd boot menu
#
# Timeout in seconds for the main menu screen. Setting the timeout to 0
# disables automatic booting (i.e., no timeout). Setting it to -1 causes
# an immediate boot to the default OS *UNLESS* a keypress is in the buffer
# when rEFInd launches, in which case that keypress is interpreted as a

Keybase proof

I hereby claim:

  • I am pedronveloso on github.
  • I am pedronveloso (https://keybase.io/pedronveloso) on keybase.
  • I have a public key whose fingerprint is 9735 AD95 AB5E 573E 5857 F25D D3A4 9353 F2DD A2F7

To claim this, I am signing this object:

@pedronveloso
pedronveloso / ViewImageStorage.java
Last active December 18, 2015 14:59
Class responsible for View Display storage on Internal Storage.
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.ImageView;
import java.io.File;
import java.io.FileOutputStream;