Skip to content

Instantly share code, notes, and snippets.

Dan Ziemba zman0900

  • Columbus, OH
Block or report user

Report or block zman0900

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zman0900
zman0900 / interfaces.conf
Last active Aug 11, 2019
Add ULA address to pfsense LAN
View interfaces.conf
# Put in /usr/local/etc/devd/interfaces.conf
# Adds ULA address later - using VIP feature breaks RA of prefix delegated from WAN.
# Based on https://web.archive.org/web/20190811062325/https://old.reddit.com/r/PFSENSE/comments/97b5zj/ipv6_isp_assigned_prefixes_how_to_assign_ip/
notify 1 {
match "system" "IFNET";
match "subsystem" "igb1";
match "type" "LINK_UP";
action "/sbin/ifconfig igb1 inet6 fd00::1 prefixlen 64 alias";
};
View unifi-controller-systemd-nspawn.md

Running Unifi Controller in systemd-nspawn with cloud-init

This uses Ubuntu's server cloud image as a stateless container to run the UBNT Unifi Controller software. Configuration data is stored in a directory outside the container. Cloud-init is used to automatically set up the container image, so a new version can be dropped in with minimal effort. This should work with pretty much any modern Linux distro with systemd.

Setup

Systemd-nspawn prefers to store its machines on btrfs, so if your /var/lib/machines is not currently btrfs, you should create one and mount it there. Otherwise it will automatically create an image file at /var/lib/machines.raw and mount it.

Create a device

View transgui-fix.patch
diff --git a/PKGBUILD b/PKGBUILD
index 5243ecf..4b3b941 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,6 +29,7 @@ package_transgui-qt() {
cd "${srcdir}/${pkgbase}-${pkgver}"
+ make clean
lazbuild "${pkgbase}.lpi" \
@zman0900
zman0900 / arch-config-diff.groovy
Created Nov 8, 2018
Simple groovy script to show changes in Arch Linux kernel config
View arch-config-diff.groovy
#!/usr/bin/env groovy
if (!args) {
throw new IllegalArgumentException('Expected commit as only arg')
}
def commit = args[0]
println "Getting changes for commit: $commit"
def url = "https://git.archlinux.org/svntogit/packages.git/patch/trunk/config?id=$commit".toURL()
View 0001-Package-cleanup.patch
From f004c034358ee588b6bd2ecf2cd876ff054db569 Mon Sep 17 00:00:00 2001
From: Dan Ziemba <zman0900@gmail.com>
Date: Mon, 8 Jan 2018 13:23:28 -0500
Subject: [PATCH] Package cleanup
- Fixed LICENSE.txt -> LICENSE
- Better version numbering
- Removed .install file, no longer necessary
- Removed unneeded dependencies
- Added more package conflicts
View transmission-remote-gui-gtk2.patch
diff --git a/PKGBUILD b/PKGBUILD
index 79af1e5..a974c4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,32 +3,32 @@
pkgname=transmission-remote-gui-gtk2
_pkgname=transgui
-pkgver=5.11.0
+pkgver=5.12.0
View transgui-gtk2-git.patch
diff --git a/PKGBUILD b/PKGBUILD
index e1b8861..e363167 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,38 +4,38 @@
pkgname=transgui-gtk2-git
_pkgname=transgui
-pkgver=8b2a878
+pkgver=6a96f67
View idea-perms-fix.patch
diff --git a/PKGBUILD b/PKGBUILD
index e47d4d0..c2b699a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,6 @@ arch=('any')
pkgdesc="An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity."
url="https://www.jetbrains.com/idea/"
license=('Commercial')
-makedepends=('rsync')
options=(!strip)
View idea-fixes.patch
diff --git a/PKGBUILD b/PKGBUILD
index 00f5b19..d502054 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,13 +10,12 @@ pkgdesc="An intelligent IDE for Java, Groovy and other programming languages wit
url="https://www.jetbrains.com/idea/"
license=('Commercial')
depends=('java-environment' 'giflib' 'libxtst')
+makedepends=('rsync')
options=(!strip)
@zman0900
zman0900 / lib32-libgcrypt15-fix-build.patch
Created Aug 20, 2016
Patch for lib32-libgcrypt15 PKGBUILD to correctly build as 32 bit
View lib32-libgcrypt15-fix-build.patch
diff --git a/PKGBUILD b/PKGBUILD
index a43ce0e..2df703b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,20 +17,16 @@ sha512sums=('8fced63f1bb2f3b60d456df168479ebe77acf2a8963f5dc831a25e839e0930148e2
'SKIP')
validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch <https://www.gnupg.org/signature_key.html>
-prepare() {
- cd libgcrypt-${pkgver}
You can’t perform that action at this time.