Skip to content

Instantly share code, notes, and snippets.

View mcoffin's full-sized avatar

Matt Coffin mcoffin

View GitHub Profile
@mcoffin
mcoffin / 2.12.150787_v14_release-notes.txt
Last active September 7, 2023 01:34
ArmA 3 2.12/2.14 Proton + BattlEye Regression Notes
2.12.150787 new PROFILING branch with PERFORMANCE binaries, v14, server and client, windows 32/64-bit, linux server 32/64-bit
- Tweaked: deleteVehicle is now able to delete #track/#mark type objects - https://feedback.bistudio.com/T172751
- Tweaked: The game date acquisition routine is now more optimized
- Fixed: When a vehicle is deleted not all tracks were deleted with it - https://feedback.bistudio.com/T172751
- Fixed: explosionForceCoef was ignored for direct hits
- Fixed: Vehicles on an empty layer in Eden Editor would be incorrectly assigned to a group if one was created earlier - https://feedback.bistudio.com/T169079
- Fixed: Pylon weapons did not trigger "GunParticles" effects
- Fixed: MusicStop Event Handler did not fire on 'playMusic ""' - https://feedback.bistudio.com/T173412
- Fixed: damageEffects material swap did not consider hiddenSelection material changes - https://feedback.bistudio.com/T173561
@mcoffin
mcoffin / move-setups.ps1
Created April 6, 2021 00:01
move-setups.ps1
Function Find-Setups([Parameter(Mandatory=$true)][String]$Season, [Parameter(Mandatory=$true)][String]$Track, [String]$Path = ".", [switch]$Recurse) {
$filter = "*$Season*$Track*.sto"
if ($Recurse) {
Get-ChildItem -Path "$Path" -Recurse -File -Filter "$filter"
} else {
Get-ChildItem -Path "$Path" -File -Filter "$filter"
}
}
Function Print-Debug(
#!/usr/bin/bash
set -e
protected_packages=(linux-amd-staging-drm-next)
protect_packages() {
local pkg_name
for pkg_name; do
protected_packages+=({,lib32-}"$pkg_name"{,-bin,-git,-hg})
done
@mcoffin
mcoffin / paclinux-install.sh
Created July 30, 2020 13:43
Pacman helper for AUR linux installing
#!/usr/bin/zsh
set -e
set -o pipefail
if [ $# -lt 1 ]; then
echo 'Usage: paclinux-install.sh VERSION' >&2
exit 1
fi
function print_pkg_files() {
echo -e '\033[1;36mpackage files:\033[0m'
@mcoffin
mcoffin / gpu-apply.sh
Last active July 9, 2020 17:31
pp_od_clk_voltage management script
#!/bin/bash
set -e
set -o pipefail
color_clocks() {
local esc=$(printf '\033')
sed -E "s/^([A-Z_]+):\$/${esc}[1;36m\1${esc}[0;0m:/g"
}
commit_clocks() {
#!/usr/bin/zsh
set -e
function print_usage() {
echo 'Usage: catdir DIR...'
}
function catdir() {
local d="${1:-.}"
for f in $(find "$d" -type f); do
@mcoffin
mcoffin / 0001-Use-system-libgit2.patch
Created March 4, 2020 23:59
AUR exa patch (system libgit2)
From 3369b92e4f3d9212f53f73ea4c0a0e9134760e54 Mon Sep 17 00:00:00 2001
From: Matt Coffin <mcoffin13@gmail.com>
Date: Wed, 4 Mar 2020 16:59:01 -0700
Subject: [PATCH] Use system libgit2
---
trunk/PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
diff -prN -U 1 ./nvidia-440.59/common/inc/nv-linux.h ./nvidia-440.59-patched/common/inc/nv-linux.h
--- ./nvidia-440.59/common/inc/nv-linux.h 2020-02-14 18:06:52.000000000 -0700
+++ ./nvidia-440.59-patched/common/inc/nv-linux.h 2020-02-21 13:02:48.000000000 -0700
@@ -531,2 +531,4 @@ static inline void *nv_ioremap(NvU64 phy
+#define ioremap_nocache ioremap
+
static inline void *nv_ioremap_nocache(NvU64 phys, NvU64 size)
diff -prN -U 1 ./nvidia-440.59/common/inc/nv-procfs.h ./nvidia-440.59-patched/common/inc/nv-procfs.h
--- ./nvidia-440.59/common/inc/nv-procfs.h 2020-02-14 18:06:52.000000000 -0700
@mcoffin
mcoffin / keybase.md
Created November 23, 2019 06:08
keybase.md

Keybase proof

I hereby claim:

  • I am mcoffin on github.
  • I am mcoffin (https://keybase.io/mcoffin) on keybase.
  • I have a public key ASC0wzbd44bwku8SPCdHNjyzIqj_JycSjSPWv6OENBTgtwo

To claim this, I am signing this object:

@mcoffin
mcoffin / node-overlay.sh
Last active August 13, 2019 17:47
script to create an overlayfs without a node_modules directory
#!/bin/bash
set -e
set -x
sourcedir=`readlink -f $1`
parentdir="$sourcedir/.."
base="$(basename $sourcedir)"
cd "$parentdir"