I hereby claim:
- I am bobthemighty on github.
- I am pathogenix (https://keybase.io/pathogenix) on keybase.
- I have a public key whose fingerprint is 49CE FED3 0B35 4794 00CA 20C6 710A 1AA3 2A42 69F8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Commands encapsulate requests to DO something in the system. Each command uses the imperative tense ("CreateWidget", "MakeCustomerHappy", "UseTheForce"). A command is an immutable value object with no behaviour of its own. Commands are processed by Command Handlers. Each command must have exactly one command handler.
class CreateWidgetCommand
{
function __construct($widgetColour, $widgetHeight, $widgetWidth){ ...}
will_respond_with( | |
{ | |
status: 200, | |
headers: { | |
'Content-Type': 'application/atom+xml' | |
}, | |
schema: { | |
# this is the document we expect the mock server to return. | |
example: '<atom:entry> | |
<atom:title>Atom-Powered Robots Run Amok</atom:title> |
<!doctype html> | |
<html lang="en_GB" ng-app="ogs"> | |
<head> |
using(var cn = new SqlConnection(MA_CONNECSHUNS)) | |
using (var cmd = new SqlCommand(MA_QUERIES, cn)) | |
{ | |
cn.Open(); | |
using (var reader = cmd.ExecuteReader()) | |
while (reader.Read()) | |
{ | |
SqlXml xml = reader.GetSqlXml(1); | |
using (var xr = xml.CreateReader()) |
module FunkyInt64 = | |
(* This is Thomas Wang's int64 hash function *) | |
let hash (k:int64) = | |
let k = uint64 k | |
let k = k |> (~~~) |> ((+) (k <<< 21)) | |
let k = (k ^^^ (k >>> 24)) | |
let k = (k + (k <<< 3 )) + (k <<< 8) | |
let k = k ^^^ (k >>> 14) | |
let k = k + (k <<< 2) + ( k <<< 4 ) |
Private Sub Command1_Click() | |
If Text1.Text = xCode Then | |
Unload Me | |
Form1.Show | |
Else | |
y = MsgBox("Incorrect", 17, "Access Denied") | |
If y = 1 Then Text1.Text = "" | |
End If | |
End Sub |
OGS is a safe place for people to learn and have fun. If you act with that spirit, we will have no problems.
Other than that, OGS is a free speech zone with the following caveats: