Public Gists by ku

gist: 138764 teiten hacks in objc
Gravatar
Wed Jul 01 05:55:49 -0700 2009
1
2
3
+(NSData*)dumpCGImage:(CGImageRef)cgImage offset:(CGPoint)offset imageSize:(CGSize)imageSize {
CGDataProviderRef dataProvider = CGImageGetDataProvider(cgImage);
CFDataRef data = CGDataProviderCopyData(dataProvider);
Gravatar
Wed Jun 10 02:58:24 -0700 2009
1
2
3
// execute in http://teiten.org/ku0522/
$x('//div//a[@class="hotspot"]/@href').map ( function (a) {
return a.nodeValue.split(/\//).pop()
gist: 123087 tombloo 2ch extractor
Gravatar
Wed Jun 03 09:40:22 -0700 2009
1
2
3
Tombloo.Service.extractors.register( [
{
name: 'Quote - 2ch',
gist: 101099 chunk HTMLparser
Gravatar
Fri Apr 24 06:20:32 -0700 2009
1
2
3
#include <stdlib.h>
#include <stdio.h>
#include <libxml/tree.h>
gist: 91148 teiten hacks
Gravatar
Tue Apr 07 01:29:43 -0700 2009
1
2
3
#!/usr/bin/perl
 
use YAML;
gist: 66201 manipulate ubigraph from fi...
Gravatar
Tue Feb 17 20:58:12 -0800 2009
1
2
3
function Ubigraph(u) {
        this.endpoint = u || "http://127.0.0.1:20738/RPC2";
 
gist: 62649 iview siteinfo extractor fo...
Gravatar
Thu Feb 12 06:43:14 -0800 2009
1
2
3
//
// Copyright (c) KUMAGAI Kentaro ku0522a*gmail.com
// Some rights reserved.
Gravatar
Tue Jan 27 06:36:49 -0800 2009
1
2
3
var d = {}
$x("//form/@id").filter ( function (e) {
  return e.nodeValue.match(/delete$/);
gist: 53227 TheSchwartz schema for sqli...
Gravatar
Mon Jan 26 23:34:47 -0800 2009
1
2
3
CREATE TABLE funcmap (
        funcid INTEGER PRIMARY KEY,
        funcname VARCHAR(255) NOT NULL,
Gravatar
Sat Jan 17 00:57:57 -0800 2009
1
2
3
var modifiers = ['CTRL', (AppInfo.OS == 'Darwin') ? 'META' : 'SHIFT'];
shortcutkeys[ modifiers.concat("R").join(" + ") ] = {
description : 'Reload Tombloo Environment',
gist: 46873 clipboard_poster.js
Gravatar
Wed Jan 14 03:58:37 -0800 2009
1
2
3
 
 
models.register( {
gist: 33794 apride.js
Gravatar
Mon Dec 08 21:39:51 -0800 2008
1
2
3
//
// AuroPagerize IDE
//
gist: 27796 iview transform js test
Gravatar
Sat Nov 22 02:07:26 -0800 2008
1
2
3
var anim = 1;
if ( anim ){
UIView.beginAnimations_context(null, null);
gist: 26430 C function pointer
Gravatar
Tue Nov 18 21:32:08 -0800 2008
1
2
3
#include <stdio.h>
 
int x2 (int n ) { return n*2; }
gist: 24083 xpath replace
Gravatar
Tue Nov 11 20:12:50 -0800 2008
1
2
3
var i = document.forms[0]["data[imageSource]"];
 
var exp = i.value;
gist: 23897 radiorecorder.js
Gravatar
Tue Nov 11 09:01:08 -0800 2008
1
2
3
// **** BEGIN LICENSE BLOCK ****
// Copyright(c) 2008 ku ku0522a*gmail.com
//
gist: 23493 fashionsnap.user.js
Gravatar
Mon Nov 10 05:57:16 -0800 2008
1
2
3
// Copyright 2008, ku ku0522a*gmail.com
//
// Redistribution and use in source and binary forms, with or without
gist: 19420 WordPress dashboard delicio...
Gravatar
Fri Oct 24 06:25:00 -0700 2008
1
2
3
// ==UserScript==
// @name del.icio.us bookmarkcount
// @namespace http://ido.nu/kuma/
gist: 18979 gzip deflate
Gravatar
Thu Oct 23 03:04:10 -0700 2008
1
2
3
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
gist: 18326 swfparser.js
Gravatar
Tue Oct 21 08:23:14 -0700 2008
1
2
3
//
// http://gist.github.com/18326
//