Public Gists by mootoh

Gravatar
Thu Nov 12 00:42:47 -0800 2009
1
2
3
var IMAGE_WIDTH = 128
var IMAGE_HEIGHT = 128
var NSUBSAMPLES = 2
gist: 223440 Introduction to Algorithms ...
Gravatar
Sun Nov 01 01:39:29 -0800 2009
1
2
3
class Queue
   def initialize(n = 6)
      @s = Array.new(n, nil)
gist: 223439 Introduction to Algorithms ...
Gravatar
Sun Nov 01 01:38:46 -0800 2009
1
2
3
class Stack
   def initialize(n = 8)
      @s = Array.new(n, nil)
Gravatar
Sun Nov 01 01:38:23 -0800 2009
1
2
3
class Stack
   def initialize(n = 8)
      @s = Array.new(n, nil)
gist: 222087 sum by ARM NEON
Gravatar
Thu Oct 29 20:31:21 -0700 2009
1
2
3
- (void) sum
{
   uint4 x = {0,1,2,3};
Gravatar
Fri Oct 23 22:13:30 -0700 2009
1
2
3
djb
 
みんなそろそろ D.J. Bernstein が世界史上最高のプログラマだというのを思い出すべきだと思うんだ。
Gravatar
Thu Oct 22 15:00:34 -0700 2009
1
2
application/x-xpinstall xpi
application/x-chrome-extension crx
Gravatar
Sun Oct 11 07:37:29 -0700 2009
1
2
3
fun {MergeSort Xs}
  case Xs
  of nil then nil
Gravatar
Fri Sep 04 07:06:12 -0700 2009
1
2
3
#include <iostream>
#include <cassert>
#define MAX_LINE 512
Gravatar
Fri Sep 04 07:04:02 -0700 2009
1
2
3
INT_LARGE = 100000
 
def succ(char)
Gravatar
Fri Sep 04 07:01:06 -0700 2009
1
2
3
def solve(words, pattern)
   matched = 0
 
Gravatar
Thu Sep 03 22:09:11 -0700 2009
1
2
3
*git-vim.txt* Git plugin for Vim
 
= git.vim
Gravatar
Wed Sep 02 04:54:26 -0700 2009
1
2
3
#include <stdio.h>
#include <unistd.h>
#include <dispatch/dispatch.h>
Gravatar
Wed Sep 02 04:50:21 -0700 2009
1
2
3
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Gravatar
Wed Sep 02 04:48:06 -0700 2009
1
2
3
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Gravatar
Fri Aug 28 09:22:26 -0700 2009
1
2
3
#include <stdio.h>
#include <dispatch/dispatch.h>
 
Gravatar
Wed Aug 12 19:48:53 -0700 2009
1
2
3
# A Software Transactional Memory implementation.
#
# from Beautiful Code Chapter 24.
Gravatar
Wed Aug 12 19:06:11 -0700 2009
1
2
3
# from Beautiful Code Sec 24, p.406
#
class Account
Gravatar
Wed Aug 12 19:02:13 -0700 2009
1
2
3
# from Beautiful Code Sec 24, p.406
#
require 'stm'
Gravatar
Wed Aug 12 07:40:24 -0700 2009
1
2
3
# from Beautiful Code Sec 24, p.406
class Account
  def withdraw(n)