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
public static class HtmlDocumentExtensions | |
{ | |
public static object ExecuteScript( this HtmlDocument document, string methodName, object[] args ) | |
{ | |
dynamic body = document.NativeElement; | |
object script = body.document.script; | |
return script.GetType().InvokeMember( methodName, System.Reflection.BindingFlags.InvokeMethod, null, script, args ); | |
} | |
} |
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
//============================================================================= | |
// SPG_GameInfo | |
// | |
// Game info which spawns the player controller, pawn and HUD for the player. | |
// | |
// Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. | |
//============================================================================= | |
class SPG_GameInfo extends SimpleGame; | |
// Variable which references the default pawn archetype stored within a package |
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
/** | |
* Camera: defines the Point of View of a player in world space. | |
* Copyright 1998-2012 Epic Games, Inc. All Rights Reserved. | |
*/ | |
class Camera extends Actor | |
notplaceable | |
native(Camera) | |
dependson(EngineBaseTypes) | |
transient; |
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
Request: | |
{ | |
"CourseCode":"70456", | |
"DisplayName":"Jax", | |
"PinCode": "12345" | |
} | |
Response: | |
{ | |
"AccessToken": |
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
--# Scratch | |
-- TRiver | |
-- Algorithm for flowing water: | |
-- Terms: | |
-- P = flow power. 2 power == 2 block slices | |
-- N = a river node | |
-- n.wl = water level for a node | |
-- n.wgl = water or ground level | |
-- Invariant: |
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
--# Debug | |
dbg = {} | |
setmetatable(dbg, { __index = dbg }) | |
dbg.traceback = function() | |
local level = 1 | |
while true do | |
local info = debug.getinfo(level, "Sl") | |
if not info then break end |
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
--# Debug | |
dbg = {} | |
setmetatable(dbg, { __index = dbg }) | |
dbg.traceback = function() | |
local level = 1 | |
while true do | |
local info = debug.getinfo(level, "Sl") | |
if not info then break end |
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
--# CaptureCode | |
local code = "" | |
function Tab(tabName) | |
local tabCode = debug.getinfo(2) | |
if #code > 0 then code = code.."\n" end | |
code = code.."--# "..tabName.."\n"..tabCode.source | |
end | |
function SaveTabs(key) |
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
[core] | |
autocrlf = true | |
[diff] | |
tool = bc3 | |
[difftool "bc3"] | |
cmd = \"c:/program files (x86)/beyond compare 3/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" | |
[merge] | |
tool = bc3 | |
[mergetool] | |
prompt = false |
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
& ("C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe") /nologo ` | |
../Ask3Cloud/Ask3Cloud.sln ` | |
/p:SkipInvalidConfigurations=true ` | |
/p:TargetProfile="Dev" ` | |
/t:"publish;Build" ` | |
/p:Configuration="Release" ` | |
/p:Platform="Any CPU" ` | |
/p:RunCodeAnalysis="False" ` | |
/v:minimal |
OlderNewer