Skip to content

Instantly share code, notes, and snippets.

!function($) {
var go = function($) {
var asave = $("a");
var s = $("a").sort(sort_a);
document.body.innerHTML = '';
s.each(function(i, o) {
if (o.innerText == '+')
return;
$('body').append(o).append('<br>');
@rickdog
rickdog / rymsearch.user.js
Last active July 6, 2018 03:26
rym search
// ==UserScript==
// @name RYM google current album
// @namespace https://greasyfork.org/en/scripts/5966-rym-google-current-album
// @version 1.19
// @description populate RYM album page with tons of warez searches
// @author rick shide
// @match https://rateyourmusic.com/release/*
// @include https://rateyourmusic.com/release/*
// @grant none
// ==/UserScript==
@rickdog
rickdog / README.md
Last active July 6, 2018 05:05
Add search tools to a rateyormusic.com album release page

Add over a thousand search tools to RYM.

Go to an album release page, click this bookmarket, and see the magic!

@rickdog
rickdog / cross-domainYQL.js
Last active September 23, 2020 22:36
x-domain using YQL
// callback is optional, since jQuery has promises
function getFile(theURL, type, callback)
{
/*
* Original jQuery.ajax mid - CROSS DOMAIN AJAX
* @author James Padolsey (http://james.padolsey.com)
* @updated 12-JAN-10
* @info http://james.padolsey.com/javascript/cross-domain-requests-with-jquery/
* source: https://raw.github.com/padolsey/jquery.fn/master/cross-domain-ajax/jquery.xdomainajax.js
*
@rickdog
rickdog / README.md
Last active March 23, 2021 15:31
Put a NiceEdit wysiwyg editor at the bottom of a webpage, a bookmarklet that makes collecting web snippets super easy, while preserving formatting.

Unhappy with the loss of formatting when you copy and paste snippits from a web page for saving or printing? That's because you separate the stylesheets from the web content that you grabbed. The solution is to have a WYSIWYG editor living in the webpage that you're grabbing snippits from. This handy bookmarklet plops an editor at the webpage's bottom that you can transfer snippets to. When you're done click the print button and a new window will open with your collected content along with the page's stylesheets. Cancel the print dialog if you like and just save the page (Ctl-s).

@rickdog
rickdog / Untitled.html
Last active June 11, 2020 11:27
warez search
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<style>
button {
margin: 2px;
padding: 2px;
border: solid thin;
@rickdog
rickdog / WarezSearch.js
Last active September 26, 2022 10:42
WarezSearch.js
/*
* This is a JavaScript Scratchpad.
*
* Enter some JavaScript, then Right Click or choose from the Execute Menu:
* 1. Run to evaluate the selected text (Ctrl+R),
* 2. Inspect to bring up an Object Inspector on the result (Ctrl+I), or,
* 3. Display to insert the result in a comment after the selection. (Ctrl+L)
*/
(function () {
var start = function () {
@rickdog
rickdog / Runme.md
Last active October 31, 2017 07:47
WarezSearch.html
@rickdog
rickdog / 0_reuse_code.js
Created January 9, 2016 15:37
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@rickdog
rickdog / chewbone
Last active December 28, 2015 08:59
chewbone
<!DOCTYPE html>
<!--[if IE 6]> <html id="ie6" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html id="ie7" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html id="ie8" lang="en-US"> <![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8)]><!--> <html lang="en-US"> <!--<![endif]-->
<head>
<meta charset="UTF-8" />
<link rel="pingback" href="http://chewbone.rickshide.com/xmlrpc.php" />