Skip to content

Instantly share code, notes, and snippets.

Graham Weldon predominant

Block or report user

Report or block predominant

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
View core-plans-sources.txt
✗ find . -iname plan.sh | xargs -I {} cat {} | grep pkg_source | sed -E 's/pkg_source="?(https?:\/\/|ftp:\/\/)([^"]+)"?/\2/' | sed -E 's/^([^\/]+)\/.*/\1/' | sort | uniq -c | sort -r
150 github.com
48 ftp.gnu.org
38 www.x.org
24 downloads.sourceforge.net
13 ftp.postgresql.org
10 www.kernel.org
10 download.gnome.org
10 archive.apache.org
9 llvm.org
@predominant
predominant / groundskeeper-output.txt
Last active Jul 21, 2019
Output sampling for releases of Groundskeeper
View groundskeeper-output.txt
| 7zip 16.02 16.02
> R 3.5.0 3.6.1
| acbuild 0.4.0 0.4.0
| acl 2.2.53 2.2.53 (base-plan)
| alex 3.2.4 3.2.4
| alsa-lib 1.1.9 1.1.9
| ansible 2.8.2 2.8.2
| ant 1.10.6 1.10.6
| apr-util 1.6.1 1.6.1
| apr 1.7.0 1.7.0
View haproxy2.0-pr-all-versions.txt
😡 core-plans git:(predominant/haproxy2) ✗ ./test-haproxy.sh
hab-studio: Importing 'rakops' secret origin key
» Importing origin key from standard input
★ Imported secret origin key rakops-20181017052326.
hab-studio: Importing 'rakops' public origin key
» Importing origin key from standard input
★ Imported public origin key rakops-20181017052326.
hab-studio: Exported: HAB_AUTH_TOKEN=[redacted]
hab-studio: Exported: HAB_LICENSE=accept-no-persist
hab-studio: Exported: HAB_ORIGIN=rakops
@predominant
predominant / start-live-coding.sh
Created May 14, 2019
A Bash-entering script that sets up a nice, clean PS1 for live coding/presentations.
View start-live-coding.sh
#!/bin/sh
PROMPT_COMMAND=__prompt_command
export PROMPT_COMMAND
__prompt_command() {
local EXIT="$?"
local RCol='\[\e[0m\]'
local Red='\[\e[0;31m\]'
View mongod.conf
# cat etc/mongod.conf
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: /var/lib/mongodb
journal:
View build_log.txt
✗ hab studio enter
hab-studio: Creating Studio at /hab/studios/src (default)
hab-studio: Importing 'rakops' secret origin key
» Importing origin key from standard input
★ Imported secret origin key rakops-20170308101305.
hab-studio: Importing 'rakops' public origin key
» Importing origin key from standard input
★ Imported public origin key rakops-20170308101305.
hab-studio: Entering Studio at /hab/studios/src (default)
hab-studio: Exported: HAB_AUTH_TOKEN=[redacted]
@predominant
predominant / Vagrantfile
Created Jul 5, 2018
Habitat 3-node supervisor ring in Vagrant/Virtualbox
View Vagrantfile
$script = <<SCRIPT
groupadd hab
useradd hab -g hab
curl https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh | bash
hab pkg install core/cacerts
hab pkg install core/hab-sup
cat <<EOT > /hab/cache/keys/vagrantring-20180621073652.sym.key
SYM-SEC-1
vagrantring-20180621073652
View genesis_public_key
04c6d35cecc09c976e653916cdc2f46422d3358908756faf6cf582ad32cbf4c94d2a8fd36a4aaaffe25e0203077bea718e0e5c12d6f610f7a1506a46940f25129b
View arm-clfs-tree.txt
$ tree
|-- bin
| |-- ash -> busybox
| |-- base64 -> busybox
| |-- busybox
| |-- cat -> busybox
| |-- catv -> busybox
| |-- chattr -> busybox
| |-- chgrp -> busybox
| |-- chmod -> busybox
View gcc-6.2.0-update-1.patch
diff --git a/gcc/ubsan.c b/gcc/ubsan.c
index 5cbc98d..d3bd8e3 100644
--- a/gcc/ubsan.c
+++ b/gcc/ubsan.c
@@ -1469,7 +1469,7 @@ ubsan_use_new_style_p (location_t loc)
expanded_location xloc = expand_location (loc);
if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0
- || xloc.file == '\0' || xloc.file[0] == '\xff'
+ || xloc.file[0] == '\0' || xloc.file[0] == '\xff'
You can’t perform that action at this time.