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
| class Home : Route | |
| { | |
| public Home() | |
| { | |
| Get = _ => "Hello, World"; | |
| } | |
| } | |
| class Sub : Home | |
| { |
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
| {"activeCameraID":"90952b01-c37b-474a-b442-bf0a1478e914","ambientColor":[0,0,0],"autoClear":true,"cameras":[{"applyGravity":false,"checkCollisions":false,"ellipsoid":null,"fov":0.8,"id":"90952b01-c37b-474a-b442-bf0a1478e914","inertia":0.9,"maxZ":153.773575,"minZ":0.1,"name":"Default camera","position":[19.46006,26.2412624,17.3412666],"rotation":[0,0,0],"speed":0.76886785,"target":[-0.0186986923,0.0389003754,-2.95426655]}],"clearColor":[0.2,0.2,0.3],"fogColor":null,"fogDensity":0,"fogEnd":0,"fogMode":0,"fogStart":0,"gravity":[0,0,-0.9],"lights":[{"diffuse":[1,1,1],"direction":null,"id":"5860fe13-8229-4903-8add-2148a29dfe5e","intensity":1,"name":"Default light","position":[19.46006,26.2412624,17.3412666],"specular":[1,1,1],"type":0}],"materials":[{"alpha":1,"ambient":[1,1,1],"ambientTexture":null,"backFaceCulling":true,"bumpTexture":null,"diffuse":[0.588,0.588,0.588],"diffuseTexture":{"animations":null,"coordinatesIndex":0,"coordinatesMode":0,"hasAlpha":false,"isCube":false,"isRenderTarget":false,"level":1,"mir |
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 Model | |
| { | |
| public string activeCameraID { get; set; } | |
| public int[] ambientColor { get; set; } | |
| public bool autoClear { get; set; } | |
| public Camera[] cameras { get; set; } | |
| public float[] clearColor { get; set; } | |
| public object fogColor { get; set; } | |
| public int fogDensity { get; set; } | |
| public int fogEnd { 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
| window.conesoft_applinks = function() { | |
| alert('conesoft applinks running now'); | |
| console.log('conesoft_applinks()...') | |
| NodeList.prototype.forEach = Array.prototype.forEach; | |
| var convertlink = function(link) { | |
| console.log('converting link: ' + link); | |
| return 'metrotube:VideoPage?Url=' + encodeURIComponent(link); | |
| }; | |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Reflection; | |
| namespace YantrIoC | |
| { | |
| //todo : move each type of resolution to a factory, and move the bind expressions between each factory, | |
| //this will mean we ont have to keep checking on which dictionary/list things belong i. and we ca just go ahead and invoke the corrisponding factory. | |
| public class IoCContainer |
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
| class StartScreen : Scene<EmptyModel> | |
| { | |
| public StartScreen() | |
| { | |
| var mesh = Helpers.StreamLoader<Mesh>.Load(Environment.CurrentDirectory + "/schiff V37.faroffmesh", file => file.Load()); | |
| var timer = new Timer(); | |
| var start = new Vector3(0, 10, 30); | |
| var position = start; |
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
| console.log('here i am'); | |
| (function() { | |
| var Bindings = function(mapping) { | |
| for(var i=0;i<mapping.length;i+=2) { | |
| var elements = mapping[i]; | |
| for(var element in elements) { | |
| this[elements[element]] = mapping[i+1]; | |
| } | |
| } |
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
| // project has to be dotnet4.5.1 before install-package Portable-Models-Loader | |
| // to make it reference all the xna dlls it needs.. | |
| using Microsoft.Xna.Framework.Content.Pipeline; | |
| using System; | |
| class Context : ContentImporterContext | |
| { | |
| public override void AddDependency(string filename) { throw new NotImplementedException(); } | |
| public override string IntermediateDirectory { get { return Environment.CurrentDirectory; } } |
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
| internalapis\vscommon\inc\vsshlids.h: // Guid for Tool window goto bitmaps... {65ED2DB5-9942-4664-BA7C-CBE2B79AE7A8} | |
| ndp\cdf\src\NetFx20\system.transactions\dtcproxyshim\dtcproxyshim.cpp: goto Done; | |
| ndp\cdf\src\NetFx20\system.transactions\dtcproxyshim\dtcproxyshim.cpp: goto Done; | |
| ndp\cdf\src\NetFx20\system.transactions\dtcproxyshim\dtcproxyshim.cpp: goto Done; | |
| ndp\cdf\src\NetFx20\system.transactions\dtcproxyshim\enlistmentnotifyshim.cpp: goto ErrorExit; | |
| ndp\cdf\src\NetFx20\system.transactions\dtcproxyshim\enlistmentnotifyshim.cpp: goto ErrorExit; | |
| ndp\cdf\src\NetFx20\system.transactions\dtcproxyshim\enlistmentnotifyshim.cpp: goto ErrorExit; | |
| ndp\cdf\src\NetFx20\system.transactions\dtcproxyshim\notificationshimfactory.cpp: goto ErrorExit; | |
| ndp\cdf\src\NetFx20\system.transactions\dtcproxyshim\notificationshimfactory.cpp: goto ErrorExit; | |
| ndp\cdf\src\NetFx20\system.transactions\dtcproxyshim\notificationshimfactory.cpp: goto ErrorExit; |
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 Notified : INotifyPropertyChanged | |
| { | |
| protected T Get<T>(ref T source, [CallerMemberName] string name = null) | |
| { | |
| Track(new InstanceProperty(this, name)); | |
| return source; | |
| } | |
| protected void Set<T>(ref T target, T value, [CallerMemberName] string name = null) | |
| { |