I hereby claim:
- I am will-in-wi on github.
- I am willinwi (https://keybase.io/willinwi) on keybase.
- I have a public key ASDmHXlBeEB7URpkGmjRNdy8dTtc6dV3SV4Evr20jmosugo
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Calendar Multires Demo</title> | |
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" /> | |
<style type="text/css"> | |
body { | |
font-family: Arial; |
(function($){ | |
// Properties is an object with the following keys: | |
// listpos (required) A comma delimited list (no spaces) of the used positions on this page. | |
// sitepage (optional) The page to be sent for the ad server. Defaults to the current page. | |
// | |
// Position is defined by the data-oas-pos attribute. The ad will be inserted inside. | |
$.fn.oas = function(properties) { | |
// Set default properties and fail on required properties. | |
if (typeof(properties.sitepage) === 'undefined') { |
<?php | |
class HelloWorld implements Serializable { | |
public $test; | |
public function __construct($str) | |
{ | |
$this->test = $str; | |
} |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Test time to duration</title> | |
<meta name="viewport" content="width=device-width, user-scalable=no" /> | |
<script src="script/soundmanager2.js"></script> |
class Dungeon < ActiveRecord::Base | |
has_many :wizards, through: :dungeon_wizard | |
has_many :dungeon_wizard | |
end |
d = Dungeon.create name: 'The Pit of Dispair' | |
w = Wizard.new name: 'Merlin' | |
w.dungeons << d | |
w.save |
(0.1ms) begin transaction | |
SQL (0.6ms) INSERT INTO "wizards" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-04-14 22:18:36.904177"], ["name", "Merlin"], ["updated_at", "2014-04-14 22:18:36.904177"]] | |
SQL (0.2ms) INSERT INTO "dungeon_wizards" ("created_at", "dungeon_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-04-14 22:18:36.906145"], ["dungeon_id", 2], ["updated_at", "2014-04-14 22:18:36.906145"]] | |
SQL (0.2ms) UPDATE "dungeon_wizards" SET "updated_at" = ?, "wizard_id" = ? WHERE "dungeon_wizards"."id" = 1 [["updated_at", "2014-04-14 22:18:36.907402"], ["wizard_id", 1]] | |
(1.3ms) commit transaction |
require 'pry' | |
# A linear algebra matrix row. | |
class Row | |
def initialize(arr) | |
@arr = arr.map(&:to_r) | |
end | |
def map_with_index | |
arr = @arr.map.with_index do |val, i| |
require "capistrano/setup" | |
require "capistrano/deploy" |
I hereby claim:
To claim this, I am signing this object: