I hereby claim:
- I am chrisb on github.
- I am chrisbielinski (https://keybase.io/chrisbielinski) on keybase.
- I have a public key ASC_Wjhp356cZLu8wCkgPi-sn2UJ6D0MVmNorIiejf-JlQo
To claim this, I am signing this object:
function wysiwymTslt(strKey) { | |
var locale = $('html').attr('lang'); | |
return { | |
'bold': { en: 'Bold', fr: '' }, | |
'italic': { en: 'Italic', fr: '' }, | |
'italics': { en: 'italics', fr: '' }, | |
'link': { en: 'Link', fr: '' }, | |
'blockquote': { en: 'Blockquote', fr: '' }, | |
'large_code_block': { en: 'Large Code Block', fr: '' }, | |
'quote': { en: 'Quote', fr: '' }, |
# untained_csv_each(File.open('my.csv'),'Date') do |row| | |
# # do something with row | |
# end | |
def untainted_csv_each(file,line_match,&block) | |
tmp_file = File.open(file.path+"-tmp","w+") | |
garbage_passed = false | |
file.each do |line| | |
garbage_passed = true if line =~ /^"(.*)#{line_match}"/ && !garbage_passed |
require 'rubygems' | |
require 'active_support/all' | |
class MyEngine < Object | |
class Configuration | |
include ActiveSupport::Configurable | |
def self.method_missing(meth, *args) | |
self.config.send meth, *args | |
end | |
end |
all_hypos = [ | |
[ "have perpetual cheese-breath", "sweat chocolate" ], | |
[ "be forced to eat blood for one year", "eat bugs for the rest of your life" ], | |
[ "always smell of poop", "look like a reptile" ] | |
] |
I hereby claim:
To claim this, I am signing this object:
Here's what I did to get things working.
Yep, over at: https://developer.apple.com