Skip to content

Instantly share code, notes, and snippets.

💭
Don't @ me

Jordan Brown Cyberboss

💭
Don't @ me
  • Rockstar Games
  • Mississauga, Ontario, CA, NA, Earth, Sol, Local Cluster, Milky Way, DD-Gamma
Block or report user

Report or block Cyberboss

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Cyberboss
Cyberboss / Program.cs
Created Oct 20, 2018
Symlink test one off
View Program.cs
using System;
using BetterWin32Errors;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.Text;
namespace Tgstation.Server.Host
{
@Cyberboss
Cyberboss / Program.cs
Created Oct 20, 2018
TGS4 diagnostic quickie
View Program.cs
using System;
using System.IO;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Tgstation.Server.Api;
using Tgstation.Server.Api.Models;
using Tgstation.Server.Client;
namespace ConsoleApp1
{
@Cyberboss
Cyberboss / GetRefExample.cs
Created Oct 3, 2018
A byond like interface for asyncrounously cloning or fetching a repo at a given path and checking out a given reference
View GetRefExample.cs
using LibGit2Sharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace GetRefExample
{
@Cyberboss
Cyberboss / Program.cs
Last active Jul 17, 2018
Try to bind 3337
View Program.cs
using System;
using System.Net;
using System.Net.Sockets;
namespace Test3337
{
class Program
{
static void Main()
{
@Cyberboss
Cyberboss / tg_test.bat
Last active Feb 1, 2019
Quickly launch and join a tg test server. (Requires byond and docker installations)
View tg_test.bat
@echo off
REM Shuts down when exiting dream seeker (Requires byond and docker installations)
REM remember to change the join ip if using a remote docker host
call docker pull tgstation/tgstation:latest
call docker run --rm -d --name=tg_quicktest -p 0.0.0.0:1337:1337 tgstation/tgstation:latest
call "%ProgramFiles(x86)%\BYOND\bin\dreamseeker.exe" 127.0.0.1:1337
View ShutDownEverything.cs
using Octokit;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
namespace ShutDownEverything
{
static class Program
{
const string APIKey = "HAHAH NO NOT THIS TIME FUCK YOU";
View ResumeAllThreads.cs
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace ResumeAllThreads
{
static class Program
{
enum ThreadAccess : int
{
@Cyberboss
Cyberboss / App.config
Last active Oct 24, 2017
Veb Gasp counter
View App.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WindowsFormsApp1.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
View App.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="OpenPRWhenIssueNIsReached.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
@Cyberboss
Cyberboss / tgstation TODO list
Last active Nov 28, 2018
HE CAN'T KEEP GETTING AWAY WITH THIS
View tgstation TODO list
TGS 4
air alarm rewrite
Out of repo maps
oracle credits
Fel's telesci
You can’t perform that action at this time.