Skip to content

Instantly share code, notes, and snippets.

Edu Rodríguez Castillo sourcerebels

Block or report user

Report or block sourcerebels

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

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

Usage

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

python3 generate_rm_script_for_not_favorite_retropie_roms.py <system>

b.ex:

@sourcerebels
sourcerebels / README.md
Last active Dec 25, 2017
Linux Software for Android and Web development
View README.md
View README.md
  • Predawn theme
  • Bracket highlighter
  • Dockerfile syntax highlighting
@sourcerebels
sourcerebels / corners.html
Created Nov 17, 2017
Posicionar 4 divs en las esquinas de su div "parent"
View corners.html
<html>
<head>
<style>
.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';
importObservable } from 'rxjs';
View example.json
{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
@sourcerebels
sourcerebels / MainActivity.java
Created Mar 10, 2017
Android Drag & Drop Sample
View MainActivity.java
package com.sourcerebels.dragdrop;
import android.content.ClipData;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
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
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.