This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
""" | |
Convert roman numerals. To test: `nosetests roman.py`. | |
""" | |
import nose.tools | |
KNOWN_VALUES = [ | |
(1, 'I'), | |
(5, 'V'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"repo": "alumina", | |
"userName": "scraperwiki" | |
}, | |
{ | |
"repo": "box-helpers", | |
"userName": "scraperwiki" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
""" | |
usage: craftviz <file.craft> | |
""" | |
import re | |
from textwrap import dedent | |
import pyparsing as P |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"io" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"net/http/httptest" | |
"net/url" | |
"time" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net/http" | |
"net/http/cgi" | |
) | |
func Handler(w http.ResponseWriter, r *http.Request) { | |
w.WriteHeader(http.StatusOK) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"runtime" | |
"github.com/go-gl/gl" | |
glfw "github.com/go-gl/glfw3" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
glfw "github.com/go-gl/glfw3" | |
"github.com/go-gl/glu" | |
mgl "github.com/go-gl/mathgl/mgl64" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 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] |
OlderNewer