Skip to content

Instantly share code, notes, and snippets.

Rebuilding...
gems-app-1 |
gems-app-1 | Done in 257ms.
gems-app-1 | Compiling 2 files (.ex)
gems-app-1 | Generated gems app
gems-app-1 | [info] POST /api/v1/search
gems-app-1 | [debug] Processing with GemsWeb.API.Search.search/2
gems-app-1 | Parameters: %{"query" => "mindfulness"}
gems-app-1 | Pipelines: [:api, :authenticated]
gems-app-1 | [(gems 0.1.0) lib/gems/schema/user_tokens.ex:37: Gems.UserTokens.validate_and_insert_token/1]
@JonasCz
JonasCz / Cycle-view.render.xml
Created November 17, 2019 13:38
Omand rendering XML which higlights cycle paths & routes more. Drop it in /Android/data/net.osmand/files/rendering
<renderingStyle depends="Touring-view_(more-contrast-and-details)" defaultColor="#f1eae4" version="1">
<renderingConstant name="blackCycleWayColor" value="#000000"/>
<renderingConstant name="blackCycleRouteColor" value="#85000000"/>
<renderingConstant name="contourLineColor" value="#2Aff7c00"/>
<renderingConstant name="contourLineColor50m" value="#2Aea7300"/>
<text>
<case tag="place" value="island" disable="true"/>
</text>
# Contributor: Vojtech Kral <vojtech_kral^hk>
pkgname='libopencl'
pkgver=2.0
pkgrel=3
_appsdk_ver='3.0.0'
pkgdesc='AMD OpenCL library and ICD loader'
arch=('i686' 'x86_64')
url="http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/"
@JonasCz
JonasCz / kodi_debug_log_1.txt
Created April 3, 2018 17:16
kodi_debug_log_1
19:12:29.446 T:140224820197760 NOTICE: special://profile/ is mapped to: special://masterprofile/
19:12:29.446 T:140224820197760 NOTICE: -----------------------------------------------------------------------
19:12:29.446 T:140224820197760 NOTICE: Starting Kodi (17.6 Git:20171114-a9a7a20). Platform: Linux x86 64-bit
19:12:29.446 T:140224820197760 NOTICE: Using Release Kodi x64 build
19:12:29.446 T:140224820197760 NOTICE: Kodi compiled Nov 4 2012 by GCC 5.4.0 for Linux x86 64-bit version 4.4.90 (263258)
19:12:29.446 T:140224820197760 NOTICE: Running on Ubuntu 16.04.4 LTS, kernel: Linux x86 64-bit version 4.13.0-37-generic
19:12:29.446 T:140224820197760 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
19:12:29.446 T:140224820197760 NOTICE: Host CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 4 cores available
19:12:29.446 T:140224820197760 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
19:12:29.446 T:140224820197760 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/x86_64-linux-gnu/kodi
@JonasCz
JonasCz / jsoupLinkExtraction
Last active May 20, 2021 04:58
Email and link / URL extraction using Jsoup
package jsouptest;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jsoup.nodes.Document;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Element;
public class JSoupTest {
public static void main(String[] args) throws IOException {
String myHtml = "<A HREF=\"junklink\">Junk Info</A>&nbsp;&nbsp;Link Id: A2&nbsp;&nbsp;<A HREF=\"Junk Link></A>";
Document doc = Jsoup.parseBodyFragment(myHtml, "http://your.baseurl");
System.out.println(doc.text());