This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form name="filter"> | |
| <div class="filter_term"> | |
| <label>Term:<input type='text' /></label> | |
| </div> | |
| <div class="filter_groups"> | |
| <label>Groups:<select name="groups"> | |
| <option value=""> - N/A - </option> | |
| <option value="01">This is some group name</option> | |
| <option value="2">FOO BAR</option> | |
| <option value="3">Hello World</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var makeElm = function(type) { | |
| return document.createElement(type); | |
| }; | |
| var frm = document.forms.filter, | |
| list_groups = document.getElementsByClassName('filter_groups')[0], | |
| list_suppliers = document.getElementsByClassName('filter_suppliers')[0], | |
| array_groups = [], | |
| array_suppliers = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| td { | |
| padding: 10px; | |
| } | |
| .filter_groups, .filter_suppliers { | |
| float: left; | |
| } | |
| a { | |
| cursor: pointer; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! | |
| * jQzoom Evolution Library v2.3 - Javascript Image magnifier | |
| * http://www.mind-projects.it | |
| * | |
| * Copyright 2011, Engineer Marco Renzi | |
| * Licensed under the BSD license. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions are met: | |
| * * Redistributions of source code must retain the above copyright |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://jibbering.com/faq/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Quickie | |
| // @author rlemon | |
| // @version 0.1 | |
| // @namespace rlemon.com | |
| // @description Mini-SO bar in any page, anywhere, anytime. | |
| // @include * | |
| // ==/UserScript== | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function loadScript(url, callback) { | |
| if(!url) { | |
| return; | |
| } | |
| callback = typeof callback == 'undefined' ? function(){} : callback; | |
| var script_elm = document.createElement('script'); | |
| script_elm.src = url; | |
| script_elm.onreadystatechange = function() { | |
| if (this.readyState == 'complete') { | |
| callback.call(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* Public files - accessible from http://rlemon.com/public_files/ */ | |
| if( isset($_GET['download']) ) { | |
| if( file_exists($_GET['download']) ) { | |
| $file = $_GET['download']; | |
| header('Cache-Control: public'); | |
| header('Content-Description: File Transfer'); | |
| header('Content-Disposition: attachment; filename=$file'); | |
| header('Content-Type: application/zip'); | |
| header('Content-Transfer-Encoding: binary'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copy and paste this into the address bar or create a bookmark with this as the location. | |
| // STOP SOPA! | |
| javascript:$(".content").each(function(){var a=$(this),b=a.text().replace(/\S/g,"\u2587");a.text(b)});; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function buildURL(page) { | |
| return "http://api.stackexchange.com/2.0/sites?page=" + page + "&pagesize=100&filter=!LQukQ-uVfJGchnRIp_f0_O&callback=run"; | |
| } | |
| function jsonp(url) { | |
| var script_tag = document.createElement('script'); | |
| script_tag.src = url; | |
| document.documentElement.appendChild(script_tag); | |
| } | |
| function run(json) { | |
| se_site_list = se_site_list.concat(json.items); |