Skip to content

Instantly share code, notes, and snippets.

make[1]: Entering directory `/home/james/plex-home-theater-public/xbmc/main'
CPP xbmc/main/main.o
In file included from /home/james/plex-home-theater-public/xbmc/FileItem.h:27:0,
from /home/james/plex-home-theater-public/xbmc/settings/AppParamParser.h:22,
from main.cpp:22:
/home/james/plex-home-theater-public/xbmc/guilib/GUIListItem.h:43:23: fatal error: PlexTypes.h: No such file or directory
#include "PlexTypes.h"
^
compilation terminated.
make[1]: *** [main.o] Error 1
##########################################################################################
@route(VIDEO_PREFIX + "/Sports")
def Sports(channel_id = None, thumb = ''):
oc = ObjectContainer(title2 = "Sports")
url = WIZIWIG_URL + "/index.php?part=sports"
html = HTTP.Request(url).content
soup = BeautifulSoup(html)
match_table = soup.find("div", "subheaderSports")
url = li.find("a")["href"]
title = "%s" % li.find("a").find(text=True)
o = urlparse(url)
q = parse_qs(o.query)
##q = {u'discipline': [u'americanfootball'], u'part': [u'sports']}
Log(q)
thumb = WIZIWIG_URL + "/gfx/disciplines/" + q["discipline"] + ".gif"
returns error
input {
file {
path => "/tmp/*_log"
}
tcp {
port => 5000
type => syslog
}
udp {
port => 5000
filter {
if [type] == "syslog" {
grok {
match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message}" }
add_field => [ "received_at", "%{@timestamp}" ]
add_field => [ "received_from", "%{host}" ]
}
syslog_pri { }
date {
match => [ "syslog_timestamp", "MMM d HH:mm:ss", "MMM dd HH:mm:ss" ]
filter {
if ("syslog" in [type]) {
grok {
match => { "message" => "(?:%{SYSLOGTIMESTAMP:timestamp}|%{TIMESTAMP_ISO8601:timestamp8601}) (?:%{SYSLOGHOST:logsource}) (?:%{SYSLOGPROG}): (?<messagebody>(?:\[(?<esxi_thread_id>[0-9A-Z]{8,8}) %{DATA:esxi_loglevel} \'%{DATA:esxi_service}\'\] %{GREEDYDATA:esxi_message}|%{GREEDYDATA}))" }
add_field => [ "received_at", "%{@timestamp}" ]
add_field => [ "received_from", "%{host}" ]
}
grok {
match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message}" }
<166>2014-11-11T09:25:01.578Z esxi-2.tandyuk.com hostd-probe: [FFD14CB0 warning 'Default'] Unrecognized log/level 'audit' using 'info'
<166>2014-11-11T09:25:01.578Z esxi-2.tandyuk.com hostd-probe: [FFD14CB0 info 'Default'] Logging uses fast path: true
<166>2014-11-11T09:25:01.579Z esxi-2.tandyuk.com hostd-probe: [FFD14CB0 info 'Default'] Handling bora/lib logs with VmaCore facilities
<166>2014-11-11T09:25:01.579Z esxi-2.tandyuk.com hostd-probe: [FFD14CB0 info 'Default'] Initialized channel manager
<166>2014-11-11T09:25:01.579Z esxi-2.tandyuk.com hostd-probe: [FFD14CB0 info 'Default'] Current working directory: /var/log/vmware
<166>2014-11-11T09:25:01.581Z esxi-2.tandyuk.com hostd-probe: [FFD14CB0 info 'Default'] Vmacore::InitSSL: handshakeTimeoutUs = 20000000
<166>2014-11-11T09:25:01.582Z esxi-2.tandyuk.com Rhttpproxy: [358C6B90 verbose 'Proxy Req 16576'] New proxy client TCP(local=127.0.0.1:80, peer=127.0.0.1:55717)
<166>2014-11-11T09:25:01.584Z esxi-2.tandyuk.com hostd-probe: [FFDFAB90 info 'Libs'] VThreadB
The config:
input {
udp {
port => 515
type => esxi
}
}
filter {
W W W W
a a a a
n n n n
1 2 3 4
V V V V
L L L L
A A A A
N N N N
1 2 3 4
0 0 0 0
C:\WINDOWS\system32>tracert -d -6 tandyuk.com
Tracing route to tandyuk.com [2001:1b40:5000:22:1::85]
over a maximum of 30 hops:
1 <1 ms 1 ms <1 ms 2001:4d48:ad53:2f00:1::
Trace complete.
C:\WINDOWS\system32>tracert -d -4 tandyuk.com