Skip to content

Instantly share code, notes, and snippets.

View MattSturgeon's full-sized avatar

Matt Sturgeon MattSturgeon

  • United Kingdom
  • 15:11 (UTC)
View GitHub Profile
{
"id": 5834728,
"name": "Protect release branches",
"target": "branch",
"source_type": "Repository",
"source": "MattSturgeonOrg/TestRepo",
"enforcement": "disabled",
"conditions": {
"ref_name": {
"exclude": [],
Running phase: createNugetDirs
@nix { "action": "setPhase", "phase": "createNugetDirs" }
The template "NuGet Config" was created successfully.
Processing post-creation actions...
Package source with Name: nuget disabled successfully.
Package source with Name: _nix added successfully.
Running phase: unpackPhase
From dd9bc8f95d99e7fd8ed58869137b66d837a49197 Mon Sep 17 00:00:00 2001
From: Sewer56 <[email protected]>
Date: Thu, 22 Aug 2024 00:15:30 +0100
Subject: [PATCH 1/3] Fixed: Alias USE_SYSTEM_EXTRACTOR and
NEXUSMODS_APP_USE_SYSTEM_EXTRACTOR
---
.../NexusMods.FileExtractor/Extractors/SevenZipExtractor.cs | 2 +-
.../build/NexusMods.FileExtractor.targets | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
@MattSturgeon
MattSturgeon / .gitignore
Created April 20, 2017 23:14 — forked from andykais/.gitignore
.gitignore file for my home directory
#blacklist top level folder
/*
#whitelist files & folders
!.gitignore
!README.md
!.i3/
!.i3status.conf
#include "utf.hpp"
#include <iostream>
#include <string>
int main()
{
// A UTF-8 literal
std::string utf8 = u8"z\u00df\u6c34\U0001d10b"; // or u8"zß水𝄋"
// or "\x7a\xc3\x9f\xe6\xb0\xb4\xf0\x9d\x84\x8b";
@MattSturgeon
MattSturgeon / platform_dirs.cpp
Last active September 30, 2016 23:31
A function to get the correct user config directory.
#include <cstdlib>
#include <string>
#include <iostream>
#define PROJECT_NAME "OpenBoardView"
//using namespace std;;
// on linux use $XDG_CONFIG_HOME || $HOME/.config
// on windows use %APPDATA%
$exePath = "$env:USERPROFILE\wix310.exe"
(New-Object Net.WebClient).DownloadFile('http://wixtoolset.org/downloads/v3.10.0.1823/wix310.exe', $exePath)
cmd /c start "$exePath" /q
@MattSturgeon
MattSturgeon / .gitignore
Last active July 8, 2016 19:55
Extract filetype filters
demo
*.o
@MattSturgeon
MattSturgeon / designer.html
Last active August 29, 2015 14:06
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {