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
@Cyberboss
Cyberboss / GetRefExample.cs
Created October 3, 2018 00:17
A byond like interface for asyncrounously cloning or fetching a repo at a given path and checking out a given reference
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 July 17, 2018 02:28
Try to bind 3337
using System;
using System.Net;
using System.Net.Sockets;
namespace Test3337
{
class Program
{
static void Main()
{
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>
@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>