|
|
|
codepad
|
|
|
|
Saved pastes by sente:
$('span').hover(function (e) {
var xOffset = 10;
var yOffset = 30;
var myid = $(this).attr('id').replace("spid",'id');
var mytop = (e.pageY - xOffset) + "px";
|
| view (18 lines) |
function show_all_pbfcomics ()
{
lwp-request -o links http://www.pbfcomics.com/ | grep cid | cut -f2 | while read line; do
echo -e "$line\t$line";
done | sed s'/.cid=/archive_b\//' | while read image link; do
|
| view (8 lines) |
/* javascript function to access selected content */
function getSelectionHtml() {
var sel, html = "";
if (window.getSelection) {
|
| view (17 lines) |
mylist = ['how', 'about', 'some', 'sublists', [1, 2, 3], 'and', ['a', 'b', ['C', 'D']]]
def print_lol(the_list, indent=0):
for each_item in the_list:
|
| view (11 lines, 12 lines of output) |