Skip to content

Instantly share code, notes, and snippets.

View luxus's full-sized avatar

luxus luxus

  • Infoguard AG
  • Switzerland
  • 01:23 (UTC +02:00)
  • X @luxus
View GitHub Profile
#!/usr/bin/env python
#
# Find and replace tracker urls in a Deluge torrents.state
#
# Need to edit the variables: orig_tracker_url and new_tracker_url
import os
import sys
import platform
import shutil
{
"controller": {
"data": {
"value": null,
"type": "empty",
"nodeId": {
"value": 1,
"type": "int",
"invalidateTime": 1462643311,
"updateTime": 1462643312
{
"data": {
"structureChanged": true,
"updateTime": 1462675157,
"devices": [{
"creationTime": 1462643313,
"creatorId": 8,
"deviceType": "battery",
"h": -592588977,
"hasHistory": false,
docker run -t luxus/rpi-docker-zwaymqtt --name zwaymqtt -e ZWAY_SERVER=kaipi.local -e ZWAY_USER=admin -e ZWAY_PASS=dittarox -e MQTT_SERVER=m21.cloudmqtt.com:16704 -e MQTT_USER=zway -e MQTT_PASS=zway -e REFRESH=3
class Libtorrent < Formula
desc "BitTorrent library"
homepage "https://github.com/rakshasa/libtorrent"
url "git://github.com/rakshasa/libtorrent.git"
#sha256 "2838a08c96edfd936aff8fbf99ecbb930c2bfca3337dd1482eb5fccdb80d5a04"
bottle :disable,
"Cannot be built with Clang so bottle depends on GCC at runtime."
depends_on "autoconf" => :build
00:000 00:000 Ozmosis 1.03.167X-MASS RELEASE (2015-12-24 09:12:07 VS2013x86) on 2016-01-30 19:17:34
00:000 00:000 Found Firmware UEFI Spec :2.31:
00:000 00:000 Found Firmware Vendor :American Megatrends:
00:000 00:000 Found Firmware Revision :4.653:
02:867 02:867 BootOrder 01 02 03 04 05 06 07
02:867 00:000 Found Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz (3C.06.00) Cores 4 Threads 4
02:867 00:000 P-State Coordination Type HW_ALL -> SW_ANY = SW_ANY
02:867 00:000 Bus Ratio 8 - 32 (32)
02:867 00:000 Disabling Invalid Flex-Ratio 10000 -> 0 = 0
02:867 00:000 TSC Frequency 3199997880 3199MHz
g++-4.9 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -D_THREAD_SAFE -I/usr/local/Cellar/libtorrent/0.13.6/include -I/usr/local/Cellar/xmlrpc-c/1.39.07/include -MT element_chunks_seen.o -MD -MP -MF .deps/element_chunks_seen.Tpo -c -o element_chunks_seen.o element_chunks_seen.cc
mv -f .deps/element_chunks_seen.Tpo .deps/element_chunks_seen.Po
g++-4.9 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -D_THREAD_SAFE -I/usr/local/Cellar/libtorrent/0.13.6/include -I/usr/local/Cellar/xmlrpc-c/1.39.07/include -MT element_download_list.o -MD -MP -MF .deps/element_download_list.Tpo -c -o element_download_list.o element_download_list.cc
mv -f .deps/element_download_list.Tpo .deps/element_download_list.Po
g++-4.9 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -D_THREAD_SAFE -I/usr/local/Cellar/libtorrent/0.13.6/include -I/usr/local/Cellar/xmlrpc-c/1.39.07/include -MT element_file_list.o -MD -MP -MF .deps/element_file_list.Tpo -c -o element_file_lis
@luxus
luxus / zwave
Created October 25, 2015 10:46
15-10-25 11:45:41 ERROR (MainThread) [homeassistant.bootstrap] Error during setup of component zwave
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/python_openzwave_api-0.2.6-py3.4.egg/openzwave/option.py", line 67, in __init__
if os.path.exists(config_path):
File "/usr/lib/python3.4/genericpath.py", line 19, in exists
os.stat(path)
TypeError: stat: can't specify None for path argument
During handling of the above exception, another exception occurred: