Skip to content

Instantly share code, notes, and snippets.

View Cyberboss's full-sized avatar
💭
Always preocupied

Jordan Dominion Cyberboss

💭
Always preocupied
View GitHub Profile
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";
@Cyberboss
Cyberboss / ResumeAllThreads.cs
Last active December 8, 2017 00:12
Resume all thread
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace ResumeAllThreads
{
static class Program
{
enum ThreadAccess : int
{
@Cyberboss
Cyberboss / App.config
Last active October 24, 2017 02:40
Veb Gasp counter
<?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>
@Cyberboss
Cyberboss / App.config
Created August 24, 2017 13:59
How I got 30k
<?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>
TGS
- https://github.com/tgstation/tgstation-server/issues/1577 - open dream
- https://github.com/tgstation/tgstation-server/issues/1633 - mariadb mirror api
- https://github.com/tgstation/tgstation-server/issues/1589 - V6
SS13 general
- https://github.com/spacestation13/byond-rich-presence
- dm code coverage
- spaceman SHOULD_NOT_SLEEP fix
- /tg/ SHOULD_NOT_SLEEP fixes
#!/bin/bash
for ID in "$@"
do
git branch -D pr-$ID
done
set -e
git reset --hard
git checkout master
git fetch upstream
@Cyberboss
Cyberboss / AutoModule.hpp
Last active November 2, 2016 16:09
A typesafe system for calling shared libraries in C++. Main functionality in the AutoModule class and macro header. See Main.cpp for usage.
namespace Modules {
/*!
@brief AutoModule internal helper for functions that rely on the state of AOptionalFunctions. Should not be used directly
@tparam AOptionalFunctions Whether or not the AutoModule allows optional functions
@tparam AN The number of functions the AutoModule will load
*/
template <bool AOptionalFunctions, unsigned int AN> class AutoModuleOptionalHelpers {};
/*!
@brief Automated intialization, function loading, and calling of module functions
@tparam AN The number of functions the AutoModule will load<BR>