Skip to content

Instantly share code, notes, and snippets.

@Duncaen
Duncaen / stdin
Created October 28, 2016 14:23
stdin
--- srcpkgs/linux4.9/files/x86_64-dotconfig 2016-10-28 15:59:57.592044442 +0200
+++ masterdir/builddir/linux-4.9-rc2/.config 2016-10-28 16:21:53.724617685 +0200
@@ -2,3 +2,3 @@
# Automatically generated file; DO NOT EDIT.
-# Linux/x86_64 4.8.0-rc8 Kernel Configuration
+# Linux/x86_64 4.9.0-rc2 Kernel Configuration
#
@@ -48,2 +48,3 @@ CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y
+CONFIG_THREAD_INFO_IN_TASK=y
[pid 18825] open(".", O_RDONLY|O_DIRECTORY|O_CLOEXEC) = 3
[pid 18825] fchdir(3) = 0
[pid 18825] access("redo.o", F_OK) = 0
[pid 18825] open(".dep.redo.o", O_RDONLY) = 6
[pid 18825] fstat(6, {st_mode=S_IFREG|0600, st_size=421, ...}) = 0
[pid 18825] read(6, "-./redo.o.do\n-./default.o.do\n-./"..., 4096) = 421
[pid 18825] access("./redo.o.do", F_OK) = -1 ENOENT (No such file or directory)
[pid 18825] access("./default.o.do", F_OK) = -1 ENOENT (No such file or directory)
[pid 18825] access("./default.do", F_OK) = -1 ENOENT (No such file or directory)
[pid 18825] access("./../default.o.do", F_OK) = -1 ENOENT (No such file or directory)
@Duncaen
Duncaen / plan9.sh
Created October 13, 2016 00:07
plan9.sh
#!/bin/sh
tmp=$(mktemp -d /tmp/plan9-XXXXXX)
binds="
mkdir -p usr/bin usr/lib tmp;
mount -t tmpfs tmp
mkdir -p tmp/.X11-unix
touch tmp/.X11-unix/X0
mount -v --bind /tmp/.X11-unix/X1 tmp/.X11-unix/X0;
@Duncaen
Duncaen / plan9.sh
Created October 12, 2016 23:09
plan9.sh
#!/bin/sh
binds="
mkdir -p usr/bin usr/lib;
mount -v --bind /usr/lib/ usr/lib;
mount -v --bind /usr/bin/ usr/bin;
ln -sf usr/lib lib;
ln -sf usr/bin bin;
touch dev/tty2
@Duncaen
Duncaen / stdin
Created October 12, 2016 14:16
stdin
cache directory /hostdir/ccache/
primary config /hostdir/ccache//ccache.conf
secondary config (readonly) /etc/ccache.conf
cache hit (direct) 45598
cache hit (preprocessed) 6369
cache miss 148468
cache hit rate 25.93 %
called for link 23168
called for preprocessing 10480
multiple source files 16
@Duncaen
Duncaen / masterxbps.py
Created October 12, 2016 13:45
master/xbps.py
from twisted.internet import defer
from twisted.python import log
from buildbot.plugins import util, steps
from buildbot.process import buildstep, logobserver
from buildbot.schedulers.basic import SingleBranchScheduler, AnyBranchScheduler
from buildbot.process.factory import BuildFactory
from buildbot.process.properties import Properties
@Duncaen
Duncaen / stdin
Created September 26, 2016 14:23
stdin
--- masterdir-i686/builddir/linux-4.8-rc8/.config.old 2016-09-26 16:09:13.799101612 +0200
+++ masterdir-i686/builddir/linux-4.8-rc8/.config 2016-09-26 16:22:56.994810069 +0200
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/i386 4.7.0 Kernel Configuration
+# Linux/i386 4.8.0-rc8 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
@Duncaen
Duncaen / stdin
Created September 26, 2016 14:00
stdin
--- masterdir/builddir/linux-4.8-rc8/.config 2016-09-26 15:59:22.759467470 +0200
+++ masterdir/builddir/linux-4.8-rc8/.config.old 2016-09-26 15:41:04.818890392 +0200
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86_64 4.8.0-rc8 Kernel Configuration
+# Linux/x86_64 4.7.0-rc7 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
@Duncaen
Duncaen / stdin
Created September 21, 2016 22:56
stdin
64310 png
9173 svg
4046 py
1595 3
1531 gz
1282 vim
966 3p
949 mo
747 bin
468 2
@Duncaen
Duncaen / us-chris2.map
Created September 21, 2016 22:15
us-chris2.map
include "/usr/share/kbd/keymaps/i386/qwerty/us.map.gz"
! map CapsLock to AltGr, cant add new modifiers
keycode 58 = AltGr
! allow Shift+AltGr
keymaps 3-5
! caps-u ü
altgr keycode 22 = udiaeresis