Skip to content

Instantly share code, notes, and snippets.

View xavierzwirtz's full-sized avatar

Xavier Zwirtz xavierzwirtz

  • BirdDog Software
  • Oklahoma City
View GitHub Profile
.binding-error {
border: 4px dashed red !important;
background-color: #F88 !important;
margin-bottom: 0;
}
//changed from :after psuedo to handle form elements.
.binding-error-message {
display: block !important;
padding: 0.33333rem 0.5rem 0.5rem !important;
margin-top: -1px !important;
Function makeRandom($length){
$text = '';
for($i=1; $i -le $length; $i++){
$text += [char](get-random -Minimum 65 -Maximum 90);
}
return $text
}
mkdir repo
cd repo
"foo" | Set-Content helloworld.txt
hg add helloworld.txt
hg commit -m "added helloworld"
(Measure-Command { hg log -G -l 5 }).TotalSeconds
PS C:\Birddog\Trunk\9.6pointercat> hg log -G -l 5 --profile
@ changeset: 37477:2b0eb5ee3a9e
| branch: pretty-urls-and-entity-forms
| tag: tip
| user: Xavier Zwirtz
| date: Wed Feb 04 01:54:40 2015 -0600
| summary: modify helloworld.txt
|
o changeset: 37476:aef336c2c53e
| branch: pretty-urls-and-entity-forms
$nextTagID = 0;
Function getTag() {
$global:nextTagID += 1;
return 'foo' + $global:nextTagID
}
Function makeRandom($length){
$text = '';
for($i=1; $i -le $length; $i++){
$text += [char](get-random -Minimum 65 -Maximum 90);
//Copyright (c) 2015, Xavier Zwirtz
//
//Permission is hereby granted, free of charge, to any person obtaining a copy of
//this software and associated documentation files (the "Software"), to deal in
//the Software without restriction, including without limitation the rights to
//use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
//of the Software, and to permit persons to whom the Software is furnished to do
//so, subject to the following conditions:
//
//The above copyright notice and this permission notice shall be included in all
pushing to https://bitbucket.org/birddogsoftware/birddogdev-9.6
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 27 changes to 27 files (+1 heads)
remote:
remote: .-. .-.
remote: ( | )
remote: .-.: | ;,-.
let translate expression =
//QueryTranslator().Translate(expression)
let rec mapFun e : ExpressionResult * list<string> option =
let map = map(mapFun)
let bin (e : BinaryExpression) text =
Some (["("] @ map(e.Left) @ [text] @ map(e.Right) @ [")"])
let result =
let translate expression =
//QueryTranslator().Translate(expression)
let rec mapFun e : ExpressionResult * list<string> option =
let map = map(mapFun)
let bin (e : BinaryExpression) text =
Some (["("] @ map(e.Left) @ [text] @ map(e.Right) @ [")"])
let result =
module SqlServerQueryTranslatorTest
open NUnit.Framework
open FSharp.QueryProvider
open Models
let provider = EmptyQueryProvider.EmptyQueryProvider()
let queryable<'T> = Queryable.Query(provider, None)