Skip to content

Instantly share code, notes, and snippets.

View Roboe's full-sized avatar
💭
I may be slow to respond.

Roberto MF Roboe

💭
I may be slow to respond.
View GitHub Profile
@Roboe
Roboe / README.md
Created October 17, 2016 17:52
Push FP2 blobs by ADB

Quick and dirty script (= may contain some errors)

  1. Boot to TWRP: adb reboot recovery
  2. Mount system as writable by entering the Mount menu and selecting System (beware: Only mount system read-only on the bottom of the screen should be disabled)
  3. Connect your FP2 to your computer
  4. Run script: source push-blobs.sh or copy and paste in a terminal

Source: https://forum.fairphone.com/t/fairphone-2-and-cyanogenmod/10399/146?u=roboe

@Roboe
Roboe / README.md
Last active September 1, 2016 10:55
FP2 blobs downloader
@Roboe
Roboe / debian-sid_main.list
Created July 5, 2015 11:18
A collection of /etc/apt/sources.list (Spanish endpoints)
deb http://ftp.es.debian.org/debian/ unstable main
#deb-src http://ftp.es.debian.org/debian/ unstable main
@Roboe
Roboe / fizzbuzz-tdd-kata.js
Last active October 15, 2016 15:15
h4ckademy
var fizzbuzz = function(n) {
var ret = "";
if(n%3 === 0) {
ret+= "Fizz";
}
if(n%5 === 0) {
ret += "Buzz";
}
return ret || n;
};
@Roboe
Roboe / 99-android.rules
Last active August 29, 2015 14:22
Android udev rules (*Ubuntu and derivates)
# http://developer.android.com/tools/device.html#VendorIds
# http://palmor.softmedia.com.mx/tutoriales/android-instalar-dispositivo-fisico-para-probar-aplicaciones/#wrapper
# mv to /etc/udev/rules.d/n-filename.rules
#Acer
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666", GROUP="plugdev"
#ASUS
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666", GROUP="plugdev"
#Dell
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666", GROUP="plugdev"
#Foxconn