I hereby claim:
- I am hibri on github.
- I am hibri (https://keybase.io/hibri) on keybase.
- I have a public key whose fingerprint is DAFD 811D 5E29 3DB6 B3D0 4562 2903 074E DF5C AAB6
To claim this, I am signing this object:
module FunctionalCheckout.Tests | |
open NUnit.Framework | |
open FsUnit | |
let discount(count:int, price:int, discountTrigger:int, discount:int) = | |
match count with | |
| _ when count >= discountTrigger -> (price * count) - (discount * (count / discountTrigger)) | |
| x -> (price * count) | |
let price(item:char, count:int) = |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
bower_concat: { | |
all: { | |
dest: 'public/javascripts/dist/_bower.js', | |
cssDest: 'public/stylesheets/_bower.css', | |
bowerOptions: { | |
relative: false |
I hereby claim:
To claim this, I am signing this object:
choco install google-chrome-x64 | |
choco install sublimetext3 | |
choco install console2 | |
choco install git | |
choco install poshgit | |
choco install github | |
choco install boxstarter | |
choco install IIS-WebServerRole -source windowsfeatures | |
choco install fiddler4 | |
choco install 7zip |
{ | |
"widgets" : [ | |
{"name" : "Widget 1"}, | |
{"name" : "Widget 2"} | |
] | |
} |
FROM ubuntu:15.04 | |
RUN apt-get update | |
RUN apt-get install -y build-essential | |
RUN apt-get install -y zip unzip | |
RUN apt-get install -y curl | |
RUN apt-get install -y wget | |
RUN wget http://download.redis.io/redis-stable.tar.gz | |
RUN tar xzf redis-stable.tar.gz |
using System; | |
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text; | |
using System.Xml; | |
using System.Xml.Serialization; | |
namespace ClassLibrary1 | |
{ | |
public class SignedXmlSerializer<T> : XmlSerializer where T : Signable |
#light | |
module Roman | |
open System | |
type RomanNumber ={ | |
num:string; | |
decimal_num:int; | |
left_bound:int; | |
right_bound:int; | |
} | |
require "activerecord" | |
class ActiveRecord::Base | |
class <<self | |
def hidden_columns(*hidden) | |
write_inheritable_array("hidden_column", hidden.collect(&:to_s)) | |
end | |
def columns_hidden | |
read_inheritable_attribute("hidden_column") || [] |
""" | |
Each new term in the Fibonacci sequence is generated by adding | |
the previous two terms. By starting with 1 and 2, the first | |
10 terms will be: | |
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... | |
By considering the terms in the Fibonacci sequence | |
whose values do not exceed four million, find the sum | |
of the even-valued terms. |