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
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 | |
B085E65E 2F5F5360 8489D422 FB8FC1AA | |
93F6323C FD7F7544 3F39C318 D95E6480 | |
FCCC7561 8A4A1741 68FA4223 ADCEDE07 |
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
var express = require('express'); | |
var app = express(); | |
var bodyparser = require('body-parser'); | |
var morgan = require('morgan'); | |
app.use(bodyparser.json()); | |
app.use(morgan('dev')); | |
app.get('/', function (request, response) { |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Timers; | |
using System.Xml.Linq; | |
namespace FileWatcher { |
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
using System; | |
using System.IO; | |
using System.Net; | |
public static class FileDownloader | |
{ | |
private const string GOOGLE_DRIVE_DOMAIN = "drive.google.com"; | |
private const string GOOGLE_DRIVE_DOMAIN2 = "https://drive.google.com"; | |
// Normal example: FileDownloader.DownloadFileFromURLToPath( "http://example.com/file/download/link", @"C:\file.txt" ); |
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
using SkyLar.Config; | |
using System; | |
using System.IO; | |
using System.Xml.Serialization; | |
using SkyLar.Extensions; | |
using Autofac.Core; | |
using Autofac; | |
using SkyLar.Services; | |
namespace SkyLar |
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
using Autofac; | |
using DSharpPlus; | |
using DSharpPlus.CommandsNext; | |
using DSharpPlus.Interactivity; | |
using NLog; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Xml.Serialization; | |
using MongoDB.Bson; | |
using MongoDB.Bson.Serialization.Attributes; |
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
int __cdecl main(int argc, char **argv) | |
{ | |
__int64 v2; // rax@1 | |
__int64 v3; // rax@1 | |
__int64 v4; // rax@1 | |
__int64 v5; // rax@1 | |
__int64 v6; // rax@1 | |
__int64 v7; // rax@1 | |
__int64 v8; // rax@1 | |
int v9; // eax@8 |
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
Script.ReloadScript("scripts/gamerules/SinglePlayer.lua"); | |
function GameRulesSetStandardFuncs(gamerules) | |
if (not gamerules) then | |
return; | |
end; | |
-- ///////// Server/Client ///////// | |
if (not gamerules.Server) then |
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
private static string PrintF(params object[] a) | |
{ | |
if (a == null || a.Length == 0) return string.Empty; | |
int[] i = { 1 }; | |
string s = (a[0] is string) ? System.Text.RegularExpressions.Regex.Replace((string)a[0], "%[sdi%]", | |
match => match.Value == "%%" ? "%" : i[0] < a.Length ? a[i[0]++].ToString() : match.Value) : a[0].ToString(); | |
for (; i[0] < a.Length; i[0]++) | |
s += " " + a[i[0]]; | |
return s; | |
} |
OlderNewer