⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ReSharper* | |
*.user | |
*.suo | |
*.pidb | |
*.userprefs | |
obj | |
bin | |
Bin | |
logs | |
ndepend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"a" slist => {1,2}; | |
"b" slist => {58, a[1]}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:
- 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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"widgets" : [ | |
{"name" : "Widget 1"}, | |
{"name" : "Widget 2"} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] | |
public void Should_match_any_request_that_was_made_with_specific_query_params() | |
{ | |
var queryParams = new Dictionary<string, string> { { "a", "a" } }; | |
var stubHttp = HttpMockRepository.At(_hostUrl); | |
stubHttp.Stub(x => x.Get("/endpoint/handler")) | |
.Return("OK") | |
.OK(); |