Skip to content

Instantly share code, notes, and snippets.

View X39's full-sized avatar
:octocat:
Busy with reallife

Marco Silipo X39

:octocat:
Busy with reallife
View GitHub Profile
@X39
X39 / Attached.tt
Created March 22, 2018 19:38
T4 Template for AttachedProperties to wpf control events (UIControl, FrameworkElement and Control)
<#@ template debug="true" hostspecific="false" language="C#" #>
<#@ assembly name="System.Core" #>
<#@ assembly name="PresentationCore" #>
<#@ assembly name="PresentationFramework" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Windows" #>
<#@ import namespace="System.Windows.Controls" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #>
@X39
X39 / Promise.sqf
Last active December 13, 2018 22:09
Promise system for SQF
////////////////////////////////////////////////////////////////////////////////////
// MIT License //
// //
// Copyright (c) 2018 Marco Silipo (X39) //
// //
// 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 //
@X39
X39 / xml_fnc_parse.sqf
Created October 15, 2019 15:49
XML Parser
////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2019 Marco "X39" Silipo //
// //
// 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 furnished to do so, subject to //
// the following conditions: //