This file contains hidden or 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
select PossibleA.SystemName, | |
PossibleA.SystemDescription, | |
PossibleA.SortOrder, | |
TotalA.TotalA, | |
TotalB.TotalB, | |
PossibleA.Buildings as PossibleABuildings, | |
PossibleA.EHT as PossibleAEHT, | |
PossibleA.Electrical as PossibleAElectrical, |
This file contains hidden or 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
Public Function GetSQLServerConnection() As Connection | |
Dim con As Connection | |
Set con = New Connection | |
con.connectionString = CurrentDb.TableDefs(10).Connect | |
con.Open | |
Set GetSQLServerConnection = con | |
End Function | |
This file contains hidden or 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
Public Function RunCommandAgainstSQLServer(cmd as Command) | |
command.ActiveDatabaseConnection = GetConnectionString 'also opens the connection | |
command.Execute | |
command.ActiveDatabaseConnection.Close | |
End Function |
This file contains hidden or 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
<html> | |
<script src="processing.js"></script> | |
<script type="application/processing" data-processing-target="pjs"> | |
int blobCount = 10; | |
GlowingBlob[] blobs = new GlowingBlob[blobCount]; | |
void setup() { | |
size(500, 500); | |
background(100); | |
stroke(255); |
This file contains hidden or 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
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
var margin = {top: 20, right: 20, bottom: 30, left: 40}, | |
width = 960 - margin.left - margin.right, | |
height = 500 - margin.top - margin.bottom; | |
var formatPercent = d3.format(".0%"); | |
var x = d3.scale.ordinal() |
This file contains hidden or 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
public class TagInformationResolver: IResolver | |
{ | |
//The cache keeps track of the last n tags so we don't have to keep going to the database | |
//for data which isn't really changing | |
private static TagCache{get; set;} | |
public TagInformationResolver(ITagRepository tagRepository) | |
{//we could probably make the cache responsible for resolving its own information but that limits our ability | |
//to use dependency injection for different strategies. | |
TagCache.SetResolver(tagRepository); |
This file contains hidden or 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
public class TokenReplacementCheckSheetProcessor : BaseChecksheetDecorator, IChecksheetDecorator | |
{ | |
//A list of all the token resolvers known to the container | |
public IEnumerable<ITokenResolver> Resolvers {get;set;} | |
//A cache of the tokens to replace in a single check sheet | |
//It is time consuming to search a word document for the | |
//tokens so we try to do it only once for each sort of checkseet | |
public ICheckSheetTokenCache CheckSheetTokenCache {get;set;} | |
This file contains hidden or 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
<Import Project="$(MSBuildToolsPath)\Novell\Novell.MonoDroid.CSharp.targets" Condition = "Exists ('/Developer/MonoAndroid/License.rtf') And !Exist('/Developer/MonoTouch/License.rtf')"/> |
This file contains hidden or 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
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" Condition = "Exists ('/Developer/MonoAndroid/License.rtf') And !Exists ('/Developer/MonoTouch/License.rtf')"/> |
This file contains hidden or 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
<PropertyGroup Condition = "Exists ('/Developer/MonoAndroid/License.rtf') And !Exists ('/Developer/MonoTouch/License.rtf')"> | |
<TargetFrameworkIdentifier>MonoAndroid</TargetFrameworkIdentifier> | |
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | |
</PropertyGroup> |