Skip to content

Instantly share code, notes, and snippets.

View asac's full-sized avatar

Alexander Sack asac

View GitHub Profile
[root@d8873234127a SOURCES]# cat 0001-add-json-format-option-for-ot-remote-builtin-summary.patch
From cbebf3f93a54ceb45e22099c2acb19ce872850f7 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Fri, 23 Oct 2020 14:10:09 +0000
Subject: [PATCH] add-json-format-option-for-ot-remote-builtin-summary
---
Makefile-ostree.am | 4 +--
configure.ac | 3 ++
src/ostree/ot-builtin-show.c | 4 +++
@asac
asac / drb.conf
Last active August 21, 2020 08:53
srslte default config files used by enb.conf
// All times are in ms. Use -1 for infinity, where available
qci_config = (
{
qci=7;
pdcp_config = {
discard_timer = 100;
pdcp_sn_size = 12;
}
cat wg.sh
#!/bin/sh
# in cloudflare
echo 1 > /proc/sys/net/ipv4/ip_forward
# get wgcf
wget -O /usr/local/bin/wgcf \
https://github.com/ViRb3/wgcf/releases/download/v1.0.6/wgcf_1.0.6_linux_armv7
chmod a+x /usr/local/bin/wgcf
@asac
asac / apply-ph-vpn.sh
Last active February 25, 2020 13:09
configure your pantahub device ph-vpn credentials from a tarball
#!/bin/sh
#
# Usage: $0 <devicenick> <tarball>
#
# expected tarball format:
#
# tar tf ../asac_rpi0w.tar
# ./
@asac
asac / weave-daemonset-k8s-1.6-arm.yaml
Last active June 5, 2017 13:13
Kubernetes daemon set and role/user definitions for deploying weave-arm using https://hub.docker.com/u/asac/ docker containers
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: weave-net
rules:
- apiGroups:
- ""
resources:
- pods
- namespaces
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: ServiceAccount
metadata:
name: weave-net
labels:
name: weave-net
- apiVersion: rbac.authorization.k8s.io/v1beta1
@asac
asac / kbuild.diff
Created January 6, 2016 11:01
snapcraft kbuild discussion
diff --git a/examples/busybox/icon.png b/examples/busybox/icon.png
new file mode 100644
index 0000000..05b7f56
Binary files /dev/null and b/examples/busybox/icon.png differ
diff --git a/examples/busybox/snapcraft.yaml b/examples/busybox/snapcraft.yaml
new file mode 100644
index 0000000..93d8528
--- /dev/null
+++ b/examples/busybox/snapcraft.yaml
@@ -0,0 +1,17 @@