Skip to content

Instantly share code, notes, and snippets.

View TheBrambleShark's full-sized avatar

TheBrambleShark TheBrambleShark

View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Devin Duanne",
"label": ".NET Developer",
"image": "https://cdn.discordapp.com/attachments/468748717684686868/838571583815286824/1526425392360.png",
"email": "devin.duanne@protonmail.com",
"summary": "C# development in desktop, front end, or full stack roles with server administration and application management duties.",
"location": {
"city": "Merriam",
@TheBrambleShark
TheBrambleShark / AsyncTaskCodeActivity.cs
Last active August 22, 2022 04:13
Open source Task-based Code Activity for use with Workflow Foundation. Licensed under the MIT license.
/*
* AsyncTaskCodeActivity
*
* Copyright (c) LuzFaltex, LLC.
* All rights reserved.
*
* MIT License
*
* 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
@TheBrambleShark
TheBrambleShark / LuzFaltexCommunitySeedDesc.md
Created April 9, 2020 07:26
LuzFaltex Community Seed Template

Thank you for your interest in this template. This template is the most basic of the templates I will be providing and is designed to function as a generic seed for any kind of community.

In accordance with LuzFaltex best practice on RBAC (Role Based Access Control), all roles represent a single business responsibility. This means:

  1. Administrators have permissions related to managing the guild and nothing else.
  2. Moderators have permissions related to managing users and nothing else.

If you have a user that needs to complete both duties, assign the user to both roles. Here are a list of roles in the template:

  1. Administrators - Manages the guild
@TheBrambleShark
TheBrambleShark / AggregateThrowable.java
Last active July 14, 2019 04:44
A Java throwable which holds a collection of other throwables. Useful for when an operation throws multiple times.
/*
* MIT License
*
* Copyright (c) 2019 LuzFaltex
*
* 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
59>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(321,5): error MSB3491: Could not write lines to file "PInvoke_SafeHandle_MarshalAs_Interface.dir\Debug\PInvoke_.A2DBD5FD.tlog\PInvoke_SafeHandle_MarshalAs_Interface.lastbuildstate". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. [C:\Users\Foxtrek_64\Documents\Projects\Microsoft\coreclr\bin\tests\obj\Windows_NT.x64.Debug\Native\src\Interop\PInvoke\SafeHandles\Interface\PInvoke_SafeHandle_MarshalAs_Interface.vcxproj]
68>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(321,5): error MSB3491: Could not write lines to file "ReversePInvokePassingByRefNative.dir\Debug\ReverseP.824D51CD.tlog\ReversePInvokePassingByRefNative.lastbuildstate". The specified path, file name, or both are too long. The fully qualified f
private static int ReadInt(int min = int.MinValue, int max = int.MaxValue)
{
StringBuilder sb = new StringBuilder();
do
{
ConsoleKeyInfo key = Console.ReadKey(true);
if (char.IsNumber(key.KeyChar))
{
Console.Write(key.KeyChar);
## See the default craftbukkit.jar.conf for a detailed documentation of the
## format of this file.
[config]
name = SpongeForge 1.13
source = https://repo.spongepowered.org/maven/org/spongepowered/spongeforge/1.12.2-2768-7.1.5/spongeforge-1.12.2-2768-7.1.5.jar
configSource = https://gist.githubusercontent.com/Foxtrek64/5f1d1482efba16c012a9ed87eab53f2c/raw/8b2338177b318ff876d93fc76e9faccf9e87d246/paperclip.jar.conf
category = Mods
[encoding]
#encode = system
## See the default craftbukkit.jar.conf for a detailed documentation of the
## format of this file.
[config]
name = Paper 1.13
source = https://papermc.io/ci/job/Paper-1.13/lastSuccessfulBuild/artifact/paperclip.jar
configSource = https://gist.githubusercontent.com/Foxtrek64/5f1d1482efba16c012a9ed87eab53f2c/raw/8b2338177b318ff876d93fc76e9faccf9e87d246/paperclip.jar.conf
category = Mods
[encoding]
#encode = system
bash-4.2$ /opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild
Rebuilding the system configuration...
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-10 Perl: 5.16.3 OS: linux Time: Thu Jan 31 03:34:11 2019
Message: Loading the YAML string failed:
Traceback (12747):
Module: Kernel::System::YAML::Load Line: 117
Module: Kernel::System::SysConfig::DB::DefaultSettingListGet Line: 1390
Module: Kernel::System::SysConfig::_GetSettingsToDeploy Line: 5816
@TheBrambleShark
TheBrambleShark / LuzFaltex_CLA.md
Last active January 31, 2019 00:25
LuzFaltex Contributor License Agreement

LuzFaltex Contributor License Agreement

Thank you for your interest in contributing to LuzFaltex projects (“Projects”). This Contributor License Agreement (“Agreement”) sets out the terms governing any lore, source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to LuzFaltex in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact opensource@luzfaltex.com.

Human-Readable Summary

The following summary provides an "at a glance" understanding of the Contributor License Agreement. The following is not a replacement for the full text of the license agreement (section titled "The Agreement") below.

  • This Contributor License Agreement applies to all past, present, and future contributions.
  • This Contributor License Agreement gives us a perpetual, irrevocab