Skip to content

Instantly share code, notes, and snippets.

View keybase.md

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 Oct 17, 2016
Refind configuration for a working Arch Linux boot on a Mac Book
View refind.conf
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
View keybase.md

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 / 0_reuse_code.js
Created Aug 7, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@pedronveloso
pedronveloso / ViewImageStorage.java
Last active Dec 18, 2015
Class responsible for View Display storage on Internal Storage.
View ViewImageStorage.java
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;