This file contains 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
Path = class (path): /path = path. | |
Path read = (): | |
file = File (/path, "r+") | |
r = file read (100) | |
contents = (r) | |
while (r != nil): | |
r = file read (100) | |
contents append (r) | |
. |
This file contains 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
package main | |
import ( | |
"fmt" | |
"flag" | |
"crypto/sha1" | |
"time" | |
"strconv" | |
"io/ioutil" | |
sqlite3 "github.com/kuroneko/gosqlite3" |
This file contains 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
class Symbol | |
def / sym | |
:"#{self}/#{sym}" | |
end | |
def ~ | |
Checklist.lists[self].start | |
end | |
end |
This file contains 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
require "pathname" | |
require "digest/sha1" | |
require "yaml" | |
require 'trollop' | |
module DirScan | |
class Scanner | |
def initialize dir=Dir.pwd, options={:verbose => false} |
This file contains 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
require "yaml" | |
class Clip < Shoes::Widget | |
attr_reader :content | |
def initialize(content=nil) | |
@content = content || app.clipboard.strip | |
stack :margin => 5 do |
This file contains 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
" Vim syntax file | |
" Language: Glyph | |
" Last Change: 2010-04-21 | |
" Author: Fabio Cevasco <h3rald@h3rald.com> | |
if exists("b:current_syntax") | |
finish | |
endif | |
"setlocal autoindent |
This file contains 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
require 'yaml' | |
require 'digest/sha2' | |
require 'rubygems' | |
require 'sequel' | |
class LiteStore | |
attr_reader :artifacts | |
attr_reader :db |
This file contains 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
#!usr/bin/env ruby | |
require 'irb' | |
require 'irb/completion' | |
require 'rubygems' | |
require 'rawline' | |
require 'pathname' | |
require 'extlib' | |
# System extensions |