View martinbaker.rb
# coding: utf-8
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'date'
html = Nokogiri::HTML(open('http://www.martin-baker.com/'))
uls = html.xpath('//*[@id="totalLivesSaved"]')
count = 0
uls[0].xpath('li').each do |li|
View config.sys
files=30
buffers=20
shell=a:\command.com a:\ /p /e:1024
device=a:\os\sys\cinit.sys -kt
lastdrive=1 Normal
device=a:\os\utl\hsb.exe Q V Y-
device=a:\win30\himem.sys
device=a:\os\sys\emm4j.sys /NN
device=a:\win30\ramdisk.sys 1024 512
device=a:\win30\smartdrv.sys 2048 256
View autoexec.bat
echo off
echo $Header: RCS/autoexec.bat 2.25 92/04/05 21:45:04 suchi Exp $
verify on
a:\os\utl\fcolor w
a:\os\utl\funkey -f a:\os\help\funkey.def
a:\os\utl\now
a:\os\utl\ee /r a:\os\help\env.dat
if exist $$INIT1 goto normal
if exist $$INIT2 goto window
if exist $$INIT3 goto sel
View hanakotoba.txt
Note 103 Junk & Test (junk.test)
[ BASENOTE with 36Res ]
Title:Test/kanbai: undel の花言葉は「もう一度やり直そう」
Bytes: 42 Date : 11:02am 9/19/91 Author:pcs29450 (kanbai-an)
undel の花言葉は「もう一度やり直そう」
View xshuffle.rb
class Array
def xshuffle
a = (0...size).to_a
a.shuffle!
ret = Array.new(size)
(0...size).each do |ii|
ret[a[ii]] = self[a[(ii + 1) % size]]
end
ret
end
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View PwpPermLinker.js
(function(){
var d=document;
var a=d.querySelectorAll('.anchor_super');
for(var i=0;i<a.length;i++){
var href = a[i].getAttribute("href");
var elem = href.split(/[\?\&]/);
var wiki = elem[0];
var page = elem[2].split('=')[1];
var hid = elem[3].split('=')[1];
var ne = d.createElement('a');
View fsplinker.js
// ==UserScript==
// @name FreeStyleWiki PermLinker
// @namespace http://www.suchi.org/
// @version 0.2
// @description add permlink dagger
// ==/UserScript==
var a = document.querySelectorAll('h2>a,h3>a,h4>a');
for(i = 0; i < a.length; i++) {
h = a[i].parentNode;
dag = d.createElement('a');
View chkill.bat
rem Chrome Killer
taskkill /FI "IMAGENAME eq chrome*"
View HELOLOLLO.c
#include <stdio.h>
#define _C(c) c
#define C_C(c) _C(c)
#define DOOOO
#define DDDOOOO(DD) DOOOO
#define OOODDDD(OD) OD
#define ODODODOD(_ODD) _ODD
#define C__(c) C_C(_C(c))
#define CCCCOOOOOOO(C___) DDDOOOO(C___)