I hereby claim:
- I am bfoz on github.
- I am bfoz (https://keybase.io/bfoz) on keybase.
- I have a public key whose fingerprint is B233 1462 880A 0173 5F31 0135 90BD 97D7 A09B FBF7
To claim this, I am signing this object:
require 'jsgf' | |
module JSGF | |
class Grammar | |
# Convert a {Grammar} into a set of sample utterances for Alexa | |
# @option slots [Array] The rule names that should be used as slot names | |
# @return [Array<String>] An array of the example strings | |
def to_examples(slots:[]) | |
raise StandardError, "The grammar must have at least one root rule" unless roots | |
raise StandardError, "The grammar must contain at least one public rule" if roots.empty? |
I hereby claim:
To claim this, I am signing this object:
module-starter --author="Brandon Fosdick" [email protected] --license=bsd |
%w(rubygems sequel fileutils yaml active_support/inflector).each{|g| require g} | |
require File.join(File.dirname(__FILE__), "downmark_it") | |
module WordPress | |
def self.import(database, user, password, table_prefix = "wp", host = 'localhost') | |
db = Sequel.mysql(database, :user => user, :password => password, :host => host, :encoding => 'utf8') | |
%w(_posts _drafts images/posts/featured).each{|folder| FileUtils.mkdir_p folder} |
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' |
build/ | |
# Xcode stuff | |
*.app | |
*.mode1v3 | |
*.pbxuser |
ASM= asx8051 | |
CC= sdcc | |
BOOTLOADER_ADDRESS=0x3000 | |
OUTPUT_DIR= build | |
.PHONY: $(OUTPUT_DIR) | |
.SUFFIXES: | |
.SUFFIXES: .asm .c .ihx .hex .rel |
# cd to cvs2svn dir | |
# create an options file for the project, then... | |
./cvs2git --options=cvs2git-ofx.options | |
# wait... | |
cd | |
mkdir myproj | |
cd myproj | |
git init | |
cat ~/cvs2svn-trunk/cvs2svn-tmp/git-blob.dat ~/cvs2svn-trunk/cvs2svn-tmp/git-dump.dat | git fast-import | |
# create a github repo, then... |