Skip to content

Instantly share code, notes, and snippets.

@phedders
phedders / gist:134d6b1c459e554c63f95489898dd51e
Created September 10, 2019 20:16
OLP crash - Debian testing/unstable
prh@knot:~/openlpbzr$ ./run_openlp.py
qt5ct: using qt5ct plugin
[31390:31497:0910/211456.702326:ERROR:nss_util.cc(727)] After loading Root Certs, loaded==false: NSS error code: -8018
qt5ct: D-Bus global menu: no
Received signal 11 SEGV_MAPERR 0000000001d8
#0 0x7f829e1dcbde <unknown>
#1 0x7f829e1dccf0 <unknown>
#2 0x7f829e1dd327 <unknown>
#3 0x7f82a6c39940 QBackingStore::endPaint() called with active painter on backingstore paint device
QBasicTimer::start: Timers cannot be started from another thread
Traceback (most recent call last):
File "/home/prh/openlp/openlp/core/ui/servicemanager.py", line 457, in on_load_service_clicked
self.load_file(file_path)
File "/home/prh/openlp/openlp/core/ui/servicemanager.py", line 700, in load_file
self.process_service_items(items)
File "/home/prh/openlp/openlp/core/ui/servicemanager.py", line 741, in process_service_items
new_item = Registry().get(service_item.name).service_load(service_item)
File "/home/prh/openlp/openlp/plugins/songs/lib/mediaitem.py", line 749, in service_load
self.on_search_text_button_clicked()
File "/home/prh/openlp/openlp/plugins/songs/lib/mediaitem.py", line 183, in on_search_text_button_clicked
@phedders
phedders / config.yml
Created August 16, 2017 22:33 — forked from Admicos/config.yml
Join Python receiver thingy
port: 1818
commands:
# Join Push Text : Command to run
"eg=:=shutdown": "systemctl poweroff"
Transformer Docked -> INSERT POWER TO DOCK CONNECTOR
D/PowerManagerService( 689): @PowerManagement: Release UWL 'StayOnWhilePluggedIn Screen Dim' flags [screen_dim]
D/PowerManagerService( 689): forceUserActivityLocked when usb changes
D/PowerManagerService( 689): @PowerManagement: Release UWL 'StayOnWhilePluggedIn Partial' flags [partial]
D/PowerManagerService( 689): IntentUserActivityLocked, send wakeup intent to Keyguard
D/KeyguardViewMediator( 689): Receive wakeup source, keyguard show:false
D/LowBatteryService( 9956): onReceive:Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) }
D/LowBatteryService( 9956): mAcOnline = false, mDeviceBatteryLevel = 85, mDockBatteryLevel = 0, mDockBatteryStatus = 0
D/LowBatteryService( 9956): Battery level is higher than threshold, no need to apply
@phedders
phedders / mosh-wrapper-simple
Created December 9, 2012 22:18
Very Simple shell mosh-{client,server} wrapper
h=1.2.3.4;
read a b port MOSH_KEY < <(ssh $h -t mosh-server 2>/dev/null|tr -d "\r"|grep MOSH); mosh-client $h $port
or
eval `ssh $h -t mosh-server 2>/dev/null|tr -d "\r"|awk '/^MOSH CONNECT/{print "MOSH_KEY=" $4,"mosh-client $h",$3}'`
@phedders
phedders / gist:1080013
Created July 13, 2011 09:53 — forked from technoweenie/gist:1072829
.netrc file so you can push/pull to https git repos without entering your creds all the time
machine github.com
login technoweenie
password SECRET
machine api.github.com
login technoweenie
password SECRET
#ruby find out midnight without activesupport
Time::utc(*Time.now.to_a.slice(3..10).insert(0,0,0,0))
# of course can replace Time.now