Skip to content

Instantly share code, notes, and snippets.

View pschmitt's full-sized avatar
🧠
spaces > tabs

Philipp Schmitt pschmitt

🧠
spaces > tabs
View GitHub Profile
@pschmitt
pschmitt / gist:7568112
Created November 20, 2013 18:11
alarmpi locale-gen issue
[root@alarmpi /]# locale-gen
Generating locales...
en_US.UTF-8.../usr/bin/locale-gen: line 41: 15845 Killed localedef -i $input -c -f $ch
arset -A /usr/share/locale/locale.alias $locale
@pschmitt
pschmitt / ril_export.html
Created February 28, 2014 06:07
Wallabag can't import this file
<!DOCTYPE html>
<html>
<!--So long and thanks for all the fish-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Pocket Export</title>
</head>
<body>
<h1>Unread</h1>
<ul>
Mar 06 22:20:19 yoga kernel: ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x40000 action 0x6 frozen
Mar 06 22:21:19 yoga kernel: ata1: SError: { CommWake }
Mar 06 22:21:19 yoga kernel: ata1.00: failed command: READ FPDMA QUEUED
Mar 06 22:21:19 yoga kernel: ata1.00: cmd 60/20:00:c0:cb:b6/00:00:00:00:00/40 tag 0 ncq 16384 in
res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Mar 06 22:21:19 yoga kernel: ata1.00: status: { DRDY }
Mar 06 22:21:19 yoga kernel: ata1: hard resetting link
Mar 06 22:21:19 yoga kernel: ata1: link is slow to respond, please be patient (ready=0)
Mar 06 22:21:19 yoga kernel: ata1: COMRESET failed (errno=-16)
Mar 06 22:21:19 yoga kernel: ata1: hard resetting link
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Device 0a0c (rev 09)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
/dev/sda:
ATA device, with non-removable media
Model Number: SAMSUNG MZ7TD256HAFV-000L9
Serial Number: S17LNYADA08216
Firmware Revision: DXT02L5Q
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0039)
Supported: 9 8 7 6 5
isfrontend
ports=12345
rawports=2222
protos=http,https,raw,ssh
domain=*:*.MYDOMAIN:MYKEY
[ 7610.054]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 7610.054] X Protocol Version 11, Revision 0
[ 7610.055] Build Operating System: Linux 3.14.0-4-ARCH x86_64
[ 7610.055] Current Operating System: Linux LaXLinux 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64
[ 7610.055] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=100d0c13-5b94-432f-85af-087e28653cd6 rw quiet
[ 7610.055] Build Date: 14 April 2014 08:39:09AM
[ 7610.055]
[ 7610.055] Current version of pixman: 0.32.4
[ 8429.477]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 8429.477] X Protocol Version 11, Revision 0
[ 8429.477] Build Operating System: Linux 3.14.0-4-ARCH x86_64
[ 8429.477] Current Operating System: Linux LaXLinux 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64
[ 8429.477] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=100d0c13-5b94-432f-85af-087e28653cd6 rw quiet
[ 8429.477] Build Date: 14 April 2014 08:39:09AM
[ 8429.477]
[ 8429.477] Current version of pixman: 0.32.4
@pschmitt
pschmitt / taskd.service
Created September 11, 2014 18:03
taskd service file
[Unit]
Description=TaskWarrior sync server
[Service]
User=task
Type=forking
PIDFile=/var/lib/task/taskd.pid
Requires=network-online.target
Environment="TASKDDATA=/var/lib/task/data"
ExecStart=/usr/bin/taskdctl start
@pschmitt
pschmitt / trace
Created April 20, 2016 07:24
pysimplesoap pip error
$ python --version
Python 2.7.11
$ pip install pysimplesoap master
Collecting pysimplesoap
Using cached PySimpleSOAP-1.16.tar.gz
Building wheels for collected packages: pysimplesoap
Running setup.py bdist_wheel for pysimplesoap ... error
Complete output from command /home/pschmitt/.local/share/virtualenvs/mdm/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5vfFTH/pysimplesoap/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpc5q7_5pip-wheel- --python-tag cp27:
running bdist_wheel
running build