Skip to content

Instantly share code, notes, and snippets.

View pwaller's full-sized avatar
🔢
🔨

Peter Waller pwaller

🔢
🔨
  • Manchester, UK
View GitHub Profile
24770 execve("/usr/bin/docker", ["docker", "-d", "-D"], [/* 21 vars */]) = 0
24770 uname({sys="Linux", node="a.foo.to", ...}) = 0
24770 brk(0) = 0x1d5c000
24770 brk(0x1d5d1c0) = 0x1d5d1c0
24770 arch_prctl(ARCH_SET_FS, 0x1d5c880) = 0
24770 set_tid_address(0x1d5cb50) = 24770
24770 set_robust_list(0x1d5cb60, 24) = 0
24770 futex(0x7fff8ce724ec, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 1d5c880) = -1 EAGAIN (Resource temporarily unavailable)
24770 rt_sigaction(SIGRTMIN, {0x754b70, [], SA_RESTORER|SA_SIGINFO, 0x7551d0}, NULL, 8) = 0
24770 rt_sigaction(SIGRT_1, {0x754bf0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7551d0}, NULL, 8) = 0
[
{
"repo": "alumina",
"userName": "scraperwiki"
},
{
"repo": "box-helpers",
"userName": "scraperwiki"
},
{
#! /usr/bin/env python3
"""
usage: craftviz <file.craft>
"""
import re
from textwrap import dedent
import pyparsing as P
@pwaller
pwaller / cgi-reproduce.go
Created June 9, 2014 13:40
cgi handler which blocks
package main
import (
"io"
"io/ioutil"
"log"
"net/http"
"net/http/httptest"
"net/url"
"time"
@pwaller
pwaller / cgi.go
Last active August 29, 2015 14:03
go CGI demo
package main
import (
"fmt"
"net/http"
"net/http/cgi"
)
func Handler(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
@pwaller
pwaller / window.go
Created July 13, 2014 18:19
A go-gl glfw3 window implementation which enables toggling full screen with F11
package main
import (
"fmt"
"log"
"runtime"
"github.com/go-gl/gl"
glfw "github.com/go-gl/glfw3"
)
@pwaller
pwaller / arcball.go
Created July 13, 2014 18:22
Work in progress arcball implementation. Doesn't work correctly yet.
package main
import (
"log"
glfw "github.com/go-gl/glfw3"
"github.com/go-gl/glu"
mgl "github.com/go-gl/mathgl/mgl64"
)
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GLib" version="2.0"/>
<include name="GObject" version="2.0"/>
[ 721.044107] INFO: task find:3695 blocked for more than 120 seconds.
[ 721.047879] Not tainted 3.13.0-32-generic #57-Ubuntu
[ 721.051299] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 721.056039] find D ffff8801efc34440 0 3695 3692 0x00000000
[ 721.056044] ffff8800b72c5be0 0000000000000002 ffff8800eb2b97f0 ffff8800b72c5fd8 [0/596]
[ 721.056049] 0000000000014440 0000000000014440 ffff8800eb2b97f0 ffff8801e2806390
[ 721.056052] ffff8801e2806418 ffff8801e2806390 ffff8801e28064c0 ffff8800361d0cf8
[ 721.056055] Call Trace:
[ 721.056064] [<ffffffff817200d9>] schedule+0x29/0x70
[ 721.056080] [<ffffffffa0127a55>] wait_for_commit.isra.14+0x45/0x80 [btrfs]
[1093202.136107] INFO: task kworker/u30:1:31455 blocked for more than 120 seconds.
[1093202.141596] Tainted: GF 3.13.0-30-generic #54-Ubuntu
[1093202.146201] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[1093202.152408] kworker/u30:1 D ffff8801efc34440 0 31455 2 0x00000000
[1093202.152416] Workqueue: writeback bdi_writeback_workfn (flush-btrfs-1)
[1093202.152419] ffff880040d3b768 0000000000000002 ffff8800880f0000 ffff880040d3bfd8
[1093202.152422] 0000000000014440 0000000000014440 ffff8800880f0000 ffff8801efc34cd8
[1093202.152426] ffff8801effcefe8 ffff880040d3b7f0 0000000000000002 ffffffff8114e010
[1093202.152429] Call Trace:
[1093202.152435] [<ffffffff8114e010>] ? wait_on_page_read+0x60/0x60