Skip to content

Instantly share code, notes, and snippets.

View stintel's full-sized avatar
💭
Renovating my house

Stijn Tintel stintel

💭
Renovating my house
View GitHub Profile
# damnslack.pl
#
# Removes Slack <-> IRC annoyances
use strict;
use vars qw($VERSION %IRSSI);
use Irssi;
$VERSION = '0.2';
@stintel
stintel / gen.sh
Created August 17, 2017 00:02
gen.sh
#!/bin/sh
VHOST="$1"
TYPE="ecdsa"
DIGEST="sha512"
for san in $@; do
SAN+="--san $san "
done
@stintel
stintel / gist:82d5af1ef3594b93e859f477d35685cb
Created August 29, 2017 09:25
CloudFlare blocks 'Python-urllib/2.7' UserAgent :/
stijn@taz ~/projects/ansible $ curl --head --user-agent 'CloudFlareYU403ME?!?!' https://download.invoiceninja.com/ninja-v3.5.0.zip
HTTP/1.1 200 OK
Date: Tue, 29 Aug 2017 09:24:25 GMT
Content-Type: application/zip
Content-Length: 107763343
Connection: keep-alive
Set-Cookie: __cfduid=d4ffebdc003e118cd787a4e50eb8a02121503998664; expires=Wed, 29-Aug-18 09:24:24 GMT; path=/; domain=.invoiceninja.com; HttpOnly
Last-Modified: Mon, 17 Jul 2017 17:33:42 GMT
ETag: "596cf4f6-66c568f"
Accept-Ranges: bytes
@stintel
stintel / zimbracert.yml
Created December 26, 2017 10:37
zimbracert.yml
---
- name: facts
vars:
cfiles:
- src: certs/{{ zimbra__fqdn }}.crt
dest: /opt/zimbra/ssl/zimbra/commercial/commercial.crt
- src: certs/{{ zimbra__fqdn }}.pem
dest: /opt/zimbra/ssl/zimbra/commercial/commercial.key
hosts: mail
tasks:
@stintel
stintel / stdin
Created April 5, 2018 09:32
stdin
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 9e2717e788..335fae7fca 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -75,7 +75,7 @@ ifneq ($(PKG_NAME),toolchain)
if [ -f "$(PKG_INFO_DIR)/$(1).missing" ]; then \
echo "Package $(1) is missing dependencies for the following libraries:" >&2; \
cat "$(PKG_INFO_DIR)/$(1).missing" >&2; \
- false; \
+ true; \
@stintel
stintel / stdin
Created October 17, 2018 17:05
stdin
diff --git a/config/Config-build.in b/config/Config-build.in
index a082a5e0e2..7aced23a97 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -84,6 +84,14 @@ menu "Global build settings"
Useful for release builds, so that kernel issues can be debugged offline
later.
+ config PKG_LTO
+ bool
@stintel
stintel / stdin
Created December 11, 2018 11:29
stdin
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 3269459397..958e818da1 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -129,7 +129,11 @@ define KernelPackage/dma-buf
TITLE:=DMA shared buffer support
HIDDEN:=1
KCONFIG:=CONFIG_DMA_SHARED_BUFFER
- FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
+ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

CONFIG_TARGET_brcm2708=y
CONFIG_TARGET_brcm2708_bcm2708=y
CONFIG_TARGET_brcm2708_bcm2708_DEVICE_rpi=y
CONFIG_DEVEL=y
CONFIG_BUILD_LOG=y
CONFIG_BUILD_PATENTED=y
CONFIG_DEBUG=y
CONFIG_DROPBEAR_ECC=y
CONFIG_DROPBEAR_ECC_FULL=y
CONFIG_GNUTLS_ALPN=y
@stintel
stintel / OpenWrt-APU2.config
Last active March 4, 2020 12:14
OpenWrt-APU2.config
CONFIG_TARGET_x86=y
CONFIG_TARGET_x86_64=y
CONFIG_TARGET_x86_64_Generic=y
CONFIG_DEVEL=y
CONFIG_BUILD_LOG=y
CONFIG_BUILD_PATENTED=y
CONFIG_DROPBEAR_ECC=y
CONFIG_DROPBEAR_ECC_FULL=y
CONFIG_ETHTOOL_PRETTY_DUMP=y
CONFIG_GRUB_TIMEOUT="2"