Skip to content

Instantly share code, notes, and snippets.

@BubuInc
BubuInc / TaringaPhotoViewer.user.js
Last active November 10, 2019 05:27
Taringa! Photo Viewer
// ==UserScript==
// @name Taringa! Visor de fotos
// @namespace MangaReader
// @description Ve las fotos de los posts como en el escritorio
// @author http://www.taringa.net/MangaReader
// @include http://www.taringa.net/posts/*
// @include http://www.taringa.net/post/*
// @exclude http://www.taringa.net/posts/editar/*
// @icon http://i.imgur.com/LqccTgB.png
// @version 4.0
@BubuInc
BubuInc / Taringa Hide Shouts.user.js
Last active November 10, 2019 05:28
Taringa! Hide Shouts
// ==UserScript==
// @name Taringa! Oculta Shouts
// @namespace MangaReader
// @description Oculta shouts de texto, o de imagen, o de video, o de enlace
// @author http://www.taringa.net/MangaReader
// @include http://www.taringa.net/*
// @exclude http://www.taringa.net/
// @exclude http://www.taringa.net/posts/*
// @exclude http://www.taringa.net/post/*
// @icon http://i.imgur.com/OQ928Nw.png
@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==
@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 / 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 / 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 / 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 / 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
(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 / 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} },