Skip to content

Instantly share code, notes, and snippets.

@BubuInc
BubuInc / fetcher.js
Last active November 10, 2019 11:52
fixes Spider Player lyrics pane
var lyricFetcher = {
sources: ["TERRA"],
fetch: function(artist, album, track, cb, nSource) {
String.prototype.ASCIIchars = ["¡", "¢", "£", "¤", "¥", "¦", "§", "¨", "©", "ª", "«", "¬", "­", "®", "¯", "°", "±", "²", "³", "´", "µ", "¶", "·", "¸", "¹", "º", "»", "¼", "½", "¾", "¿", "À", "Á", "Â", "Ã", "Ä", "Å", "Æ", "Ç", "È", "É", "Ê", "Ë", "Ì", "Í", "Î", "Ï", "Ð", "Ñ", "Ò", "Ó", "Ô", "Õ", "Ö", "×", "Ø", "Ù", "Ú", "Û", "Ü", "Ý", "Þ", "ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "&ogr
@BubuInc
BubuInc / fix.html
Created August 28, 2018 19:22
fix start time of detected scenes from video in AVS Video Editor
<!DOCTYPE html>
<html>
<head>
<title>fix start time of detected scenes from video in AVS Video Editor</title>
<style type="text/css">
body {background-color: #f2f2f2; margin: 20px; font-family: Open Sans; font-size: 20px;}
input, button {font-family: Calibri; font-size: inherit;}
label, input[type="radio"] {cursor: pointer;}
</style>
</head>
@BubuInc
BubuInc / Default (Windows).sublime-keymap
Last active May 12, 2016 21:32
Sublime Text 3 user keymap
[
{ "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["f12"], "command": "reindent"},
{ "keys": ["alt+d"], "command": "goto_definition" },
{ "keys": ["shift+delete"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["ctrl+1"], "command": "fold_by_level", "args": {"level": 1} },
{ "keys": ["ctrl+2"], "command": "fold_by_level", "args": {"level": 2} },
{ "keys": ["ctrl+3"], "command": "fold_by_level", "args": {"level": 3} },
{ "keys": ["ctrl+4"], "command": "fold_by_level", "args": {"level": 4} },
{ "keys": ["ctrl+5"], "command": "fold_by_level", "args": {"level": 5} },
(function () {
var date = new Date();
var year = date.getYear();
if (year < 1900) year += 1900;
var day = date.getDay();
var month = date.getMonth();
var daym = date.getDate();
var days = ["Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"];
var months = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"];
$('#fechaNavbar').text(days[day] + " " + daym + " de " + months[month] + " de " + year);
@BubuInc
BubuInc / getImageListFromGallery.js
Last active October 24, 2015 05:04
Get list of big images in gallery page
// Save as bookmarklet separately (add javascript:) to get in clipboard all the list of big images from hosting like imgspice, imgtwist of a gallery page
// Download them with Free Download Manager
var imgs = document.images, url, str = "", n = 0;
ta = document.createElement("textarea");
for (var i = 0; i < imgs.length; i++) {
url = imgs[i].src;
if(url.match(/\/th\//)) {str += url.replace("/th/","/i/")+"\n"; n++} // imagetwist
else if(url.match(/_t.jpg/)) {str += url.replace("_t.jpg",".jpg")+"\n"; n++} // imgspice
else if(url.match(/imgchili/)) {str += url.replace(/\/\/t/,"//i")+"\n"; n++} // imgchili
@BubuInc
BubuInc / fullViewer.php
Last active August 29, 2015 14:23
View big images with mouse movement
<?php
$di = new RecursiveDirectoryIterator('Asdf', RecursiveDirectoryIterator::SKIP_DOTS);
$images = [];
foreach(new RecursiveIteratorIterator($di) as $filename){
if(pathinfo($filename, PATHINFO_EXTENSION) == "jpg") {$images[] = str_replace("\\", "/", (string) $filename);}
}
?>
<!DOCTYPE html>
<html>
<head>
@BubuInc
BubuInc / EncodeText.user.js
Last active November 10, 2019 05:30
Encode text method Thunder
// ==UserScript==
// @name EncodeText
// @namespace mangareader
// @version 0.23
// @description Codificar texto, activar con Ctrl + Shift + H, desactivar con Esc
// @author http://www.taringa.net/MangaReader/
// @match http://*/*
// @match https://*/*
// @grant none
// ==/UserScript==
@BubuInc
BubuInc / GrotedPhotoViewer.user.js
Last active November 10, 2019 05:26
Groted Photo Viewer
// ==UserScript==
// @name Groted Visor de fotos
// @namespace MangaReader
// @description Ve las fotos de los posts como en el escritorio
// @author http://www.groted.com/perfil/Putencio
// @include http://www.groted.com/posts/*
// @include http://www.groted.com/post/*
// @exclude http://www.groted.com/agregar/
// @icon http://i.imgur.com/LqccTgB.png
// @version 4.0
@BubuInc
BubuInc / TaringaHidePhotos.user.js
Last active November 10, 2019 05:31
Taringa! Hide Photos in comments
// ==UserScript==
// @name Oculta Fotos en comentarios
// @namespace mangareader
// @description Oculta fotos en los comentarios
// @include http://www.taringa.net/posts/*
// @include http://www.taringa.net/post/*
// @exclude http://www.taringa.net/posts/editar/*
// @version 1
// @grant none
// ==/UserScript==
@BubuInc
BubuInc / HomeShoutsToTheirOriginal.user.js
Last active November 10, 2019 05:32
Shouts from home redirect to their original shout
// ==UserScript==
// @name Shouts de la home a su shout original
// @namespace mangareader
// @description Ya no carga todo el mi
// @author http://www.taringa.net/MangaReader
// @include http://www.taringa.net/
// @version 1
// @grant none
// ==/UserScript==