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
| return { | |
| aliceblue = {0.94117647058824, 0.97254901960784, 1}, | |
| antiquewhite = {0.98039215686275, 0.92156862745098, 0.84313725490196}, | |
| aqua = {0, 1, 1}, | |
| aquamarine = {0.49803921568627, 1, 0.83137254901961}, | |
| azure = {0.94117647058824, 1, 1}, | |
| beige = {0.96078431372549, 0.96078431372549, 0.86274509803922}, | |
| bisque = {1, 0.89411764705882, 0.76862745098039}, | |
| black = {0, 0, 0}, | |
| blanchedalmond = {1, 0.92156862745098, 0.80392156862745}, |
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
| -- debug console | |
| local widget = require("widget") | |
| local lib = {} | |
| local originalPrintFunc = print | |
| local debugPrintFunc = nil | |
| local showingDebugConsole = false |
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
| Vector2D = {} | |
| function Vector2D:new(x, y) | |
| local object = { x = x, y = y } | |
| setmetatable(object, { __index = Vector2D }) | |
| return object | |
| end | |
| function Vector2D:copy() | |
| return Vector2D:new(self.x, self.y) |
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.IO; | |
| using System.Linq; | |
| using System.Text.RegularExpressions; | |
| using GeoTimeZone; // Import from Nuget package "GeoTimeZone" (https://github.com/mj1856/GeoTimeZone) | |
| using TimeZoneConverter; // Import from Nuget package "TimeZoneConverter" (https://github.com/mj1856/TimeZoneConverter) | |
| namespace AirportTimeZones.DataBuilder | |
| { |
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.Text; | |
| using System.Net.Sockets; | |
| using System.Data; | |
| using System.Net; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using System.Reactive.Linq; |
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.Diagnostics; | |
| using System.Linq; | |
| using Duality; | |
| using Duality.Components.Physics; | |
| using Duality.Components.Renderers; | |
| using Duality.Input; | |
| using TinyTween; |
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
| // TinyTween.cs | |
| // | |
| // Copyright (c) 2013 Nick Gravelyn | |
| // | |
| // 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: | |
| // |
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
| void function(global){ | |
| if ('DataView' in global && 'ArrayBuffer' in global) { | |
| return; | |
| } | |
| var hide = (function(){ | |
| // check if we're in ES5 | |
| if (typeof Object.getOwnPropertyNames === 'function' && !('prototype' in Object.getOwnPropertyNames)) { | |
| var hidden = { enumerable: false }; |
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
| @echo off | |
| REM place this in C:\ and install teamviewer.reg below. Then you should be able to | |
| REM openteamviewers from the webbrowser with teamviewer://1234 | |
| set protocolString=%1 | |
| REM uncomment below for testing | |
| REM set protocolString="teamviewer://795143153" | |
| set protocolString=%protocolString:"=% |
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
| // | |
| // BitwiseOptions.swift | |
| // | |
| // Created by Gregory Higley on 11/24/14. | |
| // Copyright (c) 2014 Prosumma LLC. All rights reserved. | |
| // | |
| // 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 |