Skip to content

Instantly share code, notes, and snippets.

@graysky2
graysky2 / fix.patch
Created October 14, 2019 10:21
fix waylandpp-git
--- a 2019-10-14 06:17:57.571316152 -0400
+++ PKGBUILD 2019-10-14 06:19:07.572774596 -0400
@@ -1,15 +1,15 @@
# Maintainer: Nils Christopher Brause <nilschrbrause@googlemail.com>
pkgname=waylandpp-git
-pkgver=210
-pkgrel=2
+pkgver=294
+pkgrel=1
pkgdesc='Wayland C++ bindings'
@graysky2
graysky2 / config
Created November 9, 2019 08:26
crosstool-ng config
#
# Automatically generated file; DO NOT EDIT.
# crosstool-NG Configuration
#
CT_CONFIGURE_has_static_link=y
CT_CONFIGURE_has_cxx11=y
CT_CONFIGURE_has_wget=y
CT_CONFIGURE_has_curl=y
CT_CONFIGURE_has_make_3_81_or_newer=y
CT_CONFIGURE_has_make_4_0_or_newer=y
@graysky2
graysky2 / config
Created March 15, 2020 21:38
crosstool-ng config for x86_64 on Arch ARM
#
# Automatically generated file; DO NOT EDIT.
# crosstool-NG Configuration
#
CT_CONFIGURE_has_static_link=y
CT_CONFIGURE_has_cxx11=y
CT_CONFIGURE_has_lzip=y
CT_CONFIGURE_has_wget=y
CT_CONFIGURE_has_curl=y
CT_CONFIGURE_has_make_3_81_or_newer=y
From 8b2b5c8a0cda4551827580c1edf6dd0b8ba0d29f Mon Sep 17 00:00:00 2001
From: graysky2
Date: Sat, 14 Nov 2020 07:10:29 -0500
Subject: [PATCH] enable jumbo frames
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 2 +-
include/linux/if_vlan.h | 4 ++--
include/uapi/linux/if_ether.h | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
@graysky2
graysky2 / config.txt
Created November 26, 2020 15:00
raspbian config 64-bit under 5.4.51
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.4.51 Kernel Configuration
#
#
# Compiler: aarch64-linux-gnu-gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=50400
@graysky2
graysky2 / config.txt
Created November 26, 2020 15:03
raspbian config 64-bit under 5.4.72
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.4.72 Kernel Configuration
#
#
# Compiler: aarch64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90300
@graysky2
graysky2 / rrdbackup
Last active September 18, 2021 10:00
OpenWrt /etc/init.d/ script to backup and restore the rrd (collectd) database, to preserve data across reboots
#!/bin/sh /etc/rc.common
# OpenWrt /etc/init.d/ script to backup and restore the rrd (collectd) database, to preserve data across reboots
#
#
# howto:
# - upload this file as /etc/init.d/rrdbackup
# - (optional) adjust BACKUP_DIR below to point to a different target directory for the backup (e.g., a USB drive)
# - # chmod +x /etc/init.d/rrdbackup
# - # /etc/init.d/rrdbackup enable
@graysky2
graysky2 / PKGBUILD
Created June 6, 2021 16:59
5.12.9 with clang and thinlto
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgbase=linux
pkgver=5.12.9.arch1
pkgrel=1
pkgdesc='Linux'
_srctag=v${pkgver%.*}-${pkgver##*.}
url="https://git.archlinux.org/linux.git/log/?h=$_srctag"
arch=(x86_64)
license=(GPL2)