I hereby claim:
- I am ttdonovan on github.
- I am ttdonovan (https://keybase.io/ttdonovan) on keybase.
- I have a public key ASD8-U3m-u6InTc7xO3EvuL6Cg3KT27l5TELUr8IErtUpgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
extern crate csv; | |
use std::collections::HashMap; | |
use std::sync::Arc; | |
mod rows { | |
pub type Category = (String, String); | |
pub type Shirt = (String, String, String); | |
} |
extern crate rand; | |
trait Animal<'a> { | |
fn make_sound(&self) -> String; | |
fn move_within(&mut self, yard: &'a Yard); | |
} | |
#[derive(Debug)] | |
struct Area { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://rawgit.com/lodash/lodash/3.0.1/lodash.min.js"></script> | |
<meta charset="utf-8"> | |
<title>Ember Starter Kit</title> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script src="http://builds.emberjs.com/tags/v1.11.3/ember-template-compiler.js"></script> | |
<script src="http://builds.emberjs.com/tags/v1.11.3/ember.debug.js"></script> |
use std::os; | |
#[allow(unused_variables)] | |
fn main() { | |
let width = 2u8; | |
let height = 3u8; | |
let size = 4u8; | |
let pitch = width * size; | |
let (mut x_offset, mut y_offset) = (0u8, 0u8); |
/* global require, module */ | |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
var app = new EmberApp(); | |
// Use `app.import` to add additional libraries to the generated | |
// output files. | |
// | |
// If you need to use different assets in different |
# Ruby Console | |
>> data = "super_secret_data" | |
=> "super_secret_data" | |
>> rc4_smp = RC4.new('1234567890') | |
>> rc4_ens = RC4.new('1234567890') # ActionScript something like? ARC4('49505152535455565748') key:ByteArray | |
>> enc = rc4_smp.encrypt(data) | |
=> "\xB9Y\x85d*\x05a$\xA7\xFB|\x1DW\xD5\xBAUq" | |
>> dec = rc4_ens.decrypt(enc) | |
=> "super_secret_data" |
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") | |
require 'steak' | |
require 'capybara/rails' | |
require 'capybara/session' | |
Spec::Runner.configure do |config| | |
config.include Capybara | |
end | |
# Put your acceptance spec helpers inside /spec/acceptance/support |
# Setup for Heroku, Rails 2.3.5, Bundler 0.9.7, Clearance 0.8.6 (and Plugins) | |
$ gem uninstall bundler | |
$ gem install bundler --version '=0.9.7' | |
$ gem install heroku | |
$ rails heroku_gems_and_plugins_01 | |
$ cd heroku_gems_and_plugins_01 | |
$ bundle init | |
$ mate Gemfile |
source :gemcutter | |
source 'http://gems.github.com' | |
gem 'rubygems-update' | |
gem 'bundler', '0.9.7' | |
gem 'rails', '2.3.5', :require => nil | |
gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3' | |
gem 'test-unit', '1.2.3' |