Skip to content

Instantly share code, notes, and snippets.

@butelo
butelo / remove_in_marca.js
Last active July 8, 2023 10:40
remove comments from users of marca with tampermonkey
// ==UserScript==
// @name marcablocker
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.marca.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=marca.com
// @grant none
// ==/UserScript==
@butelo
butelo / hide_meneantes.js
Last active July 8, 2023 10:09
script for blocking users in meneame.net with tampermonkey extension
// ==UserScript==
// @name Blockeame
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.meneame.net/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=meneame.net
// @grant none
// ==/UserScript==
@butelo
butelo / openmediavault-odroid.md
Last active December 20, 2019 16:23
some tips about setting up openmediavault in odroid-hc2
@butelo
butelo / crosswalkview.md
Created March 5, 2014 11:35
How to use CrossWalk runtime within an Android application

So, what is crosswalk and why do I care? Take a look at the website: https://crosswalk-project.org/

CrossWalk is a HTML5 runtime, you can use it to create HTML5 applications with 'native features' You can use CrossWalk to create HTML5-only applications for Android (x86 and arm architectures) and Tizen but you can also use CrossWalk as a View within an android project.

This means you can replace Android WebView with XWalkView and get some extra features like:

@butelo
butelo / GradleBuild.md
Last active June 6, 2018 15:06
Using Gradle with Android and Eclipse Projects
@butelo
butelo / callbacks.md
Created January 31, 2014 10:44
Create Callbacks on Android: A Fragment or View makes a Callback to the hosting Activity

Steps to make a Fragment or View to have a Callback to its parent Activity.

Step by step from info taken from here:

http://developer.android.com/guide/components/fragments.html#CommunicatingWithActivity


  • We have an Activity that hosts a Fragment or a View
  • We have a Fragment or View with a ListView or a Button or some element that we want the Activity to know about. i.e. we load detailed info of an element chosen on a ListView or something.