Instantly share code, notes, and snippets.

View stellaris-pound-icon-list.txt
£1
£9
£Ancienne
£Chambres
£Champ
£Croissance
£D
£Failles
£Mine
£Pop
View wifi-benchmark-parse
#!/usr/bin/env python3
import itertools as it, operator as op, functools as ft
import os, sys, logging, pathlib, shutil, contextlib, collections
import math, hashlib, base64, json, re, datetime as dt
try: from pyaml import p
except ImportError:
from pprint import pprint as p
def pprint(data):
View systemd-fsck-root-ro.log
# root@tester:~# systemctl status systemd-fsck-root
● systemd-fsck-root.service - File System Check on Root Device
Loaded: loaded (/usr/lib/systemd/system/systemd-fsck-root.service; enabled-runtime; vendor preset: disabled)
Active: active (exited) since Fri 2018-07-06 00:46:41 +05; 2 months 5 days ago
Docs: man:systemd-fsck-root.service(8)
Main PID: 193 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 2060)
CGroup: /system.slice/systemd-fsck-root.service
Jul 06 00:46:41 tester systemd-fsck[193]: /dev/mmcblk0p2: clean, 74321/186624 files, 461207/786432 blocks
View fsck-root.log
# root@tester:~# systemctl status systemd-fsck-root
● systemd-fsck-root.service - File System Check on Root Device
Loaded: loaded (/usr/lib/systemd/system/systemd-fsck-root.service; enabled-runtime; vendor preset: disabled)
Active: inactive (dead)
Condition: start condition failed at Fri 2018-07-06 00:46:41 +05; 2 months 5 days ago
Docs: man:systemd-fsck-root.service(8)
# root@tester:~# systemctl is-enabled systemd-fsck-root
enabled-runtime
View weston@.service
[Unit]
Conflicts=getty@%i.service
[Service]
User=gui
PAMName=login
# Note: weston.ini must have [core] modules=systemd-notify.so
Type=notify
TimeoutStartSec=60
View test2.output.log
% py3 test2.py
current event loop: True
aio sleep
twisted sleep
Exception in callback main.<locals>.<lambda>(<Task finishe...cfacd35c18>')>) at test2.py:21
handle: <Handle main.<locals>.<lambda>(<Task finishe...cfacd35c18>')>) at test2.py:21>
Traceback (most recent call last):
File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "test2.py", line 21, in <lambda>
View test.output.log
main function encountered error
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/twisted/internet/task.py", line 908, in react
finished = main(_reactor, *argv)
File "test.py", line 30, in main
return defer.ensureDeferred(test(loop, queue))
File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line 911, in ensureDeferred
return _cancellableInlineCallbacks(coro)
File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks
_inlineCallbacks(None, g, status)
View xdpyinfo.out
name of display: :1.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 12000000
X.Org version: 1.20.0
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
View xrandr.out
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm panning 1920x1080+0+0
1920x1080 60.00*+
1680x1050 59.88
1600x900 60.00
1280x1024 60.02
1280x960 60.00
1280x800 59.91
1280x720 60.00
View splash.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <jpeglib.h>
#include "VG/openvg.h"
#include "VG/vgu.h"
#include "./src/fontinfo.h"
#include "./src/libshapes.h"
/*