Skip to content

Instantly share code, notes, and snippets.


Edu Rodríguez Castillo sourcerebels

View GitHub Profile
"""Edu test extension"""
from albertv0 import *
import urllib3
import json
__iid__ = "PythonInterface/v0.1"
__prettyname__ = "MobileFinder"
__version__ = "0.1"
sourcerebels /
Created Feb 10, 2019
Remove Retropie not favorite roms


It will print on standard output an script to remove all roms that are not marked as favorite in RetroPie.

python3 <system>


sourcerebels /
Last active Dec 25, 2017
Linux Software for Android and Web development
  • Predawn theme
  • Bracket highlighter
  • Dockerfile syntax highlighting
sourcerebels / corners.html
Created Nov 17, 2017
Posicionar 4 divs en las esquinas de su div "parent"
View corners.html
.container {
position: relative;
background: #234543;
height: 100%;
.item {
background: #FF4545;
View ts-mokito-sample.ts
import { mock, instance, when, verify, anyString, anyOfClass } from 'ts-mockito';
import { RequestOptions } from '@angular/http';
import { HttpService } from '../common/http/http.service';
import { LoginService } from './login.service';
import { RouterTestingModule } from '@angular/router/testing';
import { Observable } from 'rxjs';
View example.json
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
sourcerebels /
Created Mar 10, 2017
Android Drag & Drop Sample
package com.sourcerebels.dragdrop;
import android.content.ClipData;
import android.os.Bundle;
import android.util.Log;
import android.view.DragEvent;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
View gist:cb4461e2121172bcc7b94def152f8627
xrandr --output DP1 --scale 2x2 --mode 1920x1080 --pos 0x0
xrandr --output eDP1 --scale 1x1 --mode 3200x1800 --pos 3900x0
sourcerebels / 0_reuse_code.js
Created Oct 19, 2016
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
You can’t perform that action at this time.