Skip to content

Instantly share code, notes, and snippets.

View fake-name's full-sized avatar
💭
Full of rage. Or tacos.

C W fake-name

💭
Full of rage. Or tacos.
  • Your github issues
View GitHub Profile

I'm trying to build/run calibre from git. It's super annoying to do so, 98% because doing so is completely undocumented, and the way releases are built is obsured by many, many layers of container idiocy.

I don't care if you relaly like docker/qemu, write a damn simple shell script so that people who don't use $CONTAINER_AGENT_OF_CHOICE can actually get somewhere.

Apt dependencies:

<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title>WebSocket Test</title>
</head>
<body>
<h2>WebSocket Test</h2>
<div id="output"></div>
--style=allman
--add-braces
--align-method-colon
--align-pointer=type
--align-reference=name
--attach-return-type-decl
--attach-return-type
--break-after-logical
--break-blocks
## Now with python3k support!
$ python foo.py &
[1] 21377
$ gdb -p 21377
GNU gdb (GDB) Fedora 7.7.1-17.fc20
[... gdb loading messages ...]
0x00007f9a09af46e3 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:81
81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
@fake-name
fake-name / gist:8350183
Created January 10, 2014 11:05
Minimal script to shove data into a emoncms instance.
#!/usr/bin/python
"""
All Emoncms code is released under the GNU Affero General Public License.
See COPYRIGHT.txt and LICENSE.txt.
---------------------------------------------------------------------
Emoncms - open source energy visualisation
Part of the OpenEnergyMonitor project: