This file contains hidden or 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
function draw_line_in_circle(offset, length, width, degree) | |
cairo_set_line_width(cr, width) | |
point = (math.pi / -180) * degree | |
start_x = 0 + (offset * math.sin(point)) | |
start_y = 0 - (offset * math.cos(point)) | |
end_x = 0 + ((offset + length) * math.sin(point)) | |
end_y = 0 - ((offset + length) * math.cos(point)) | |
cairo_move_to(cr, start_x + center_x, start_y + center_y) | |
cairo_line_to(cr, end_x + center_x, end_y + center_y) | |
cairo_set_source_rgb (cr, 0, 10, 10); |
This file contains hidden or 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
function draw_graph (conky_value, table_length, radius, circle_width, table) | |
cairo_set_source_rgba(cr,rgb_to_r_g_b(color, alpha)) | |
calculate_table(table_length, table) | |
for i = 1, table_length do | |
draw_line_in_circle(radius - (circle_width / 2), (circle_width / 100) * table[i], 4, (360 / table_length) * (i - 1), -1) | |
end | |
end | |
This file contains hidden or 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
function draw_graph (conky_value, table_length, radius, circle_width, table, line_width) | |
-- calculate table | |
for i = 1, table_length do | |
if table[i] == nil then | |
table[i] = 0 | |
end | |
end | |
for i = table_length, 2, -1 do | |
table[i] = table[i - 1] | |
end |
This file contains hidden or 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
function draw_graph (conky_value, table_length, radius, circle_width, table, line_width) | |
-- calculate table | |
for i = 1, table_length do | |
if table[i] == nil then | |
table[i] = 0 | |
end | |
end | |
for i = table_length, 2, -1 do | |
table[i] = table[i - 1] | |
end |
This file contains hidden or 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
#pacman -S deluge | |
resolving dependencies... | |
looking for conflicting packages... | |
Packages (1) deluge-2.0.3-1 | |
Total Installed Size: 10.34 MiB | |
Net Upgrade Size: -1.85 MiB | |
:: Proceed with installation? [Y/n] y |
This file contains hidden or 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
:: Running post-transaction hooks... | |
(1/4) Reloading system manager configuration... | |
debug: executing "/usr/share/libalpm/scripts/systemd-hook" under chroot "/" | |
debug: call to waitpid succeeded | |
(2/4) Creating system user accounts... | |
debug: executing "/usr/share/libalpm/scripts/systemd-hook" under chroot "/" | |
debug: call to waitpid succeeded | |
(3/4) Creating temporary files... | |
debug: executing "/usr/share/libalpm/scripts/systemd-hook" under chroot "/" | |
debug: call to waitpid succeeded |
This file contains hidden or 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
Unhandled error in Deferred: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.7/site-packages/deluge/transfer.py", line 130, in _handle_complete_message | |
rencode.loads(zlib.decompress(data), decode_utf8=True) | |
File "/usr/lib/python3.7/site-packages/deluge/ui/client.py", line 133, in message_received | |
d.callback(request[2]) | |
File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line 460, in callback | |
self._startRunCallbacks(result) | |
File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks |
This file contains hidden or 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
[o.core.downloaders.deluge] Failed to get all torrents: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:727) Traceback (most recent call last): File "/opt/couchpotato/couchpotato/core/downloaders/deluge.py", line 273, in get_alltorrents self.connect() File "/opt/couchpotato/couchpotato/core/downloaders/deluge.py", line 225, in connect self.client.connect(self.host, int(self.port), self.username, self.password) File "/opt/couchpotato/libs/synchronousdeluge/client.py", line 143, in connect self.transfer.connect((host, port)) File "/opt/couchpotato/libs/synchronousdeluge/transfer.py", line 22, in connect self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.PROTOCOL_TLSv1) File "/usr/lib/python2.7/ssl.py", line 931, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 599, in __init__ self.do_handshake() File "/usr/lib/python2.7/ssl.py", line 828, in do_handshake self._sslobj.do_handshake() SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert |
This file contains hidden or 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
[o.core.downloaders.deluge] Failed to get all torrents: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol | |
version (_ssl.c:727) Traceback (most recent call last): File "/opt/couchpotato/couchpotato/core/downloaders/deluge.py", | |
line 273, in get_alltorrents self.connect() File "/opt/couchpotato/couchpotato/core/downloaders/deluge.py", line 225, | |
in connect self.client.connect(self.host, int(self.port), self.username, self.password) | |
File "/opt/couchpotato/libs/synchronousdeluge/client.py", line 143, in connect self.transfer.connect((host, port)) | |
File "/opt/couchpotato/libs/synchronousdeluge/transfer.py", line 22, in connect self.conn = ssl.wrap_socket(self.sock, | |
None, None, False, ssl.CERT_NONE, ssl.PROTOCOL_TLSv1) File "/usr/lib/python2.7/ssl.py", line 931, in wrap_socket | |
ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 599, in __init__ self.do_handshake() | |
File "/usr/lib/python2.7/ssl.py", line 828, in do_handshake self._sslobj.do_handshake() | |
SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv |
This file contains hidden or 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
"use strict"; | |
module.exports = { | |
public: false, | |
host: undefined, | |
port: 9000, |
OlderNewer