This file contains hidden or 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 org.yaaic.deckster; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.Display; | |
import android.view.KeyEvent; | |
import android.view.View; | |
import android.widget.AdapterView; | |
import android.widget.Gallery; |
This file contains hidden or 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/ruby1.9.1 | |
# Brainfuck Interpreter | |
# (C) Sebastian Kaspari 2009 | |
# Usage: bf4 [FILE] | |
# This code is much much faster than the last one, which did | |
# a lot of unnecessary loops which could also lead to bugs | |
# | |
# There's now a bracket map which stores starting and ending | |
# brackets for direct "jumps", that should speed up things too |
This file contains hidden or 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/ruby | |
# Brainfuck Interpreter | |
# (C) Sebastian Kaspari 2009 | |
# Usage: bf2 [FILE] | |
require 'rubygems' | |
require "highline/system_extensions" | |
include HighLine::SystemExtensions | |
code = ARGF.read # code |
NewerOlder