Skip to content

Instantly share code, notes, and snippets.

View tru's full-sized avatar

Tobias Hieta tru

View GitHub Profile
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/keyboardlayout.dtd"> <!--Last edited by Ukelele version 1.8b5 on 2008-02-19 at 03:55 (CET)--> <keyboard group="0" id="5000" name="blowrak" maxout="1"> <layouts> <layout first="0" last="0" modifiers="48" mapSet="312"/> </layouts> <modifierMap id="48" defaultIndex="0"> <keyMapSelect mapIndex="0"> <modifier keys=""/> </keyMapSelect> <keyMapSelect mapIndex="1"> <modifier keys="anyShift caps?"/> </keyMapSelect> <keyMapSelect mapIndex="2"> <modifier keys="caps"/> </keyMapSelect> <keyMapSelect mapIndex="3"> <modifier keys="anyOption"/> </keyMapSelect> <keyMapSelect mapIndex="4"> <modifier keys="anyShift caps? anyOption"/> </keyMapSelect> <keyMapSelect mapIndex="5"> <modifier keys="caps anyOption"/> </keyMapSelect> <keyMapS
from conans.model import Generator
from conans import ConanFile
TEMPLATE="""#!/usr/bin/env python
import os, sys, subprocess
ENV={environment}
if __name__ == '__main__':
2016-11-21 10:22:07 [ INFO ] Log.cpp @ 115 - Starting Plex Media Player version: 1.2.0.dev-9fc351e2 build date: 2016-11-20
2016-11-21 10:22:07 [ INFO ] Log.cpp @ 116 - Running on: Ubuntu 16.04.1 LTS [4.4.0-47-generic] arch x86_64
2016-11-21 10:22:07 [ INFO ] Log.cpp @ 117 - Qt Version: 5.7.1 [x86_64-little_endian-lp64]
2016-11-21 10:22:07 [ DEBUG ] UpdateManager.cpp @ 45 - No Update directory found, exiting
2016-11-21 10:22:07 [ WARN ] Log.cpp @ 35 - "QObject::connect: invalid null parameter"
2016-11-21 10:22:07 [ WARN ] SettingsSection.cpp @ 82 - Looking for value: "advanced" in section: "audio" but it can't be found
2016-11-21 10:22:07 [ INFO ] ComponentManager.cpp @ 41 - Component: settings inited
2016-11-21 10:22:07 [ DEBUG ] HTTPServer.cpp @ 32 - Listening to port: 32433
2016-11-21 10:22:07 [ INFO ] InputMapping.cpp @ 113 - Loading inputmaps from: ":/inputmaps"
2016-11-21 10:22:07 [ WARN ] InputMapping.cpp @ 92 - Missing element 'idmatcher' from mapping file: ":/inputmaps/dualshock4-
Exporting package recipe
WARN: Conanfile doesn't have a 'license'.
It is recommended to add the package license as attribute
OpenSSL/1.0.2j@plex/stable: The stored package has not changed
Requirements
OpenSSL/1.0.2j@plex/stable from local
zlib-ng/1.2.8@plex/stable from plex
Packages
OpenSSL/1.0.2j@plex/stable:50226c39b5383d65f182fb984bda21c6497142ba
zlib-ng/1.2.8@plex/stable:dfaeed675a0f450dbc88fe8262d9d89b3e8509b0
@tru
tru / gist:0e5fe868a874e1a61b50651795a80917
Created August 31, 2016 12:38
Dumb conan source function :-)
def source(self):
tools.download("http://llvm.org/pre-releases/3.9.0/rc3/llvm-%s.src.tar.xz" % (self.version), "llvm.tar.xz")
# this is dumb, fix this better in the future.
self.run("xz -d llvm.tar.xz" % self.version)
self.run("gzip -1 llvm.tar" % p)
tools.unzip("llvm.tar.gz" % p, dest)
os.rename(os.path.join(dest, "llvm-%s.src" % (p, self.version)), os.path.join(dest, dname))
os.unlink("llvm.tar.gz" % p)
@tru
tru / -
Created August 3, 2016 07:37
diff --git a/src/settings/SettingsSection.cpp b/src/settings/SettingsSection.cpp
index 7519345..fe0e87f 100644
--- a/src/settings/SettingsSection.cpp
+++ b/src/settings/SettingsSection.cpp
@@ -172,3 +172,11 @@ bool SettingsSection::isHidden() const
bool correctPlatform = ((m_platform & Utils::CurrentPlatform()) == Utils::CurrentPlatform());
return (m_hidden || !correctPlatform);
}
+
+/////////////////////////////////////////////////////////////////////////////////////////
@tru
tru / -
Created June 21, 2016 13:23
diff --git a/conans/client/printer.py b/conans/client/printer.py
index a321e4a..e66d007 100644
--- a/conans/client/printer.py
+++ b/conans/client/printer.py
@@ -56,6 +56,18 @@ class Printer(object):
return True
return False
+ for level in deps_graph.propagate_info():
+ for node in level:
@tru
tru / -
Last active May 23, 2016 17:00
diff --git a/CMake/Targets/ServerTests/CMakeLists.txt b/CMake/Targets/ServerTests/CMakeLists.txt
index 873def9..af8777e 100644
--- a/CMake/Targets/ServerTests/CMakeLists.txt
+++ b/CMake/Targets/ServerTests/CMakeLists.txt
@@ -29,8 +29,13 @@ else(APPLE)
set(SERVER_TEST_SOURCES ${SERVER_TEST_SOURCES_})
endif(APPLE)
+if(XCODE)
+ get_resources_source_list(ServerTests TEST_RESOURCES)
#!/usr/bin/python
import sys
import os
import subprocess
import shutil
import re
import select
# ---------------------- Configuration section ------------------------------
#!/usr/bin/env python
import requests
from requests.auth import HTTPBasicAuth
import sys
import json
project_map = {
"plex-home-theater": ("plexinc/plex-home-theater", 2)
}