This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
import sys, os, os.path, time, urllib.request, json | |
#from PyQt4.QtNetwork import * | |
#from TxtStyle import * | |
downloadzip = "update.zip" | |
sdcardbase = "/media/sdcard/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
import sys, os, os.path, time, urllib.request, json | |
#from PyQt4.QtNetwork import * | |
#from TxtStyle import * | |
downloadzip = "update.zip" | |
sdcardbase = "/media/sdcard/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adacontrol - Ada rules controller | |
berusky - Logic game based on Sokoban | |
c-sig - signature tool for GNU Emacs | |
c2hs - C->Haskell Interface Generator | |
c2hs-doc - C->Haskell Interface Generator -- Documentation package | |
cairo-dock-switcher-plug-in - Switcher plug-in for Cairo-dock | |
cfget - featureful tool to read values from config files | |
chef-expander - systems integration framework - index bridge | |
cl-curry-compose-reader-macros - Reader macros for function partial application and composition. | |
cmt - a collection of LADSPA plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
current = current.replace("ü","ue") | |
current = current.replace("Ü","Ue") | |
current = current.replace("ä","ae") | |
current = current.replace("Ä","Ae") | |
current = current.replace("ö","oe") | |
current = current.replace("Ö","Oe") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/telepot/__init__.py", line 555, in handle | |
callback(update[key]) | |
File "music.py", line 200, in handle | |
bot.sendMessage(chat_id, 'Aktuelle Wiedergabe: ' + str(current)) | |
File "/usr/local/lib/python2.7/dist-packages/telepot/__init__.py", line 235, in sendMessage | |
return self._api_request('sendMessage', _rectify(p)) | |
File "/usr/local/lib/python2.7/dist-packages/telepot/__init__.py", line 224, in _api_request | |
return api.request((self._token, method, params, files), **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/telepot/api.py", line 131, in request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/lib/python3.4/urllib/request.py", line 1182, in do_open | |
File "/usr/lib/python3.4/http/client.py", line 1088, in request | |
File "/usr/lib/python3.4/http/client.py", line 1126, in _send_request | |
File "/usr/lib/python3.4/http/client.py", line 1084, in endheaders | |
File "/usr/lib/python3.4/http/client.py", line 922, in _send_output | |
File "/usr/lib/python3.4/http/client.py", line 857, in send | |
File "/usr/lib/python3.4/http/client.py", line 1231, in connect | |
File "/usr/lib/python3.4/ssl.py", line 365, in wrap_socket | |
File "/usr/lib/python3.4/ssl.py", line 583, in __init__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"appName": { | |
"Microsoft Internet Explorer": 1, | |
"Netscape": 837 | |
}, | |
"appVersion": { | |
"4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0)": 1, | |
"5.0 (Android)": 3, | |
"5.0 (Linux; Android 6.0.1; GT-I9195 Build/MOB30D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2718.2 Mobile Safari/537.36": 10, | |
"5.0 (Linux; Android 6.0.1; GT-I9195 Build/MOB30D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2723.0 Mobile Safari/537.36": 10, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raw_data = urllib.request.urlopen('https://api.github.com/repos/ftCommunity/ftcommunity-TXT/releases',context=ctx).read().decode() | |
all_releases = json.loads(raw_data) | |
##filter out to latest release | |
latest_release = all_releases[0] | |
##Getting version number | |
release_version = latest_release['tag_name'] | |
release_version = release_version.replace("v","") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@rpi-1bp-1:/irc3-master# pip install irc3 | |
Traceback (most recent call last): | |
File "/usr/bin/pip", line 9, in <module> | |
load_entry_point('pip==1.5.6', 'console_scripts', 'pip')() | |
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point | |
return ep.load() | |
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load | |
['__name__']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checking info@ftcommunity.de | |
looking up MX hosts on domain "ftcommunity.de" | |
bs30.ftcommunity.de (preference:10) | |
Trying TLS on bs30.ftcommunity.de[5.9.121.45] (10): | |
seconds test stage and result | |
[000.116] Connected to server | |
[000.719] <-- 220 bs30.ftcommunity.de ESMTP Postfix (Debian/GNU) | |
[000.720] We are allowed to connect | |
[000.720] --> EHLO checktls.com | |
[000.834] <-- 250-bs30.ftcommunity.de |
OlderNewer