Skip to content

Instantly share code, notes, and snippets.

View xenos1984's full-sized avatar

Manuel Hohmann xenos1984

View GitHub Profile
<root><random>true</random><length>242</length><fullscreen>0</fullscreen><volume>255</volume><time>12</time><audiodelay>0</audiodelay><position>0.052588164806366</position><equalizer/><videoeffects><hue>0</hue><gamma>1</gamma><contrast>1</contrast><saturation>1</saturation><brightness>1</brightness></videoeffects><repeat>false</repeat><loop>true</loop><state>playing</state><version>2.2.6 Umbrella</version><rate>1</rate><apiversion>3</apiversion><audiofilters><filter_0/></audiofilters><subtitledelay>0</subtitledelay><currentplid>7937</currentplid><information><category name="meta"><info name="artwork_url">file:///home/pi/.cache/vlc/art/arturl/4d697d9f55fd4c2638b39f95b725dd41/art.jpg</info><info name="title">Gunnar Graps &quot;Valge varju bluus&quot; (Magnetic Band, &quot;Rajalt maas&quot; 2003)</info><info name="filename">Gunnar Graps &quot;Valge varju bluus&quot; (Magnetic Band, &quot;Rajalt maas&quot; 2003)</info><info name="url">http://www.youtube.com/watch?v=nN6hiFgcZVo</info></category><category name="Str
<root><random>true</random><length>0</length><fullscreen>0</fullscreen><volume>255</volume><time>0</time><audiodelay>0</audiodelay><position>0</position><equalizer/><videoeffects><hue>0</hue><gamma>1</gamma><contrast>1</contrast><saturation>1</saturation><brightness>1</brightness></videoeffects><repeat>false</repeat><loop>true</loop><state>stopped</state><version>2.2.6 Umbrella</version><rate>1</rate><apiversion>3</apiversion><audiofilters><filter_0/></audiofilters><subtitledelay>0</subtitledelay><currentplid>-1</currentplid><information><category name="meta">
</category></information><stats>
</stats></root>
define deimos_vlc HTTPMOD http://deimos:8080/requests/status.xml 5
attr deimos_vlc userattr get01DeleteIfUnmatched get01Encode get01Name get01TextArg:0,1 get01URL get01XPath-Strict getHeader1 reading01Name reading01XPath-Strict reading02Name reading02XPath-Strict reading03Name reading03XPath-Strict reading04Name reading04XPath-Strict reading05Name reading05XPath-Strict reading06DeleteIfUnmatched reading06Encode reading06Name reading06XPath-Strict reading07DeleteIfUnmatched reading07Encode reading07Name reading07XPath-Strict replacement01Regex requestHeader1 set01Name set01NoArg:0,1 set01Replacement01Value set02Name set02NoArg:0,1 set02Replacement01Value set03Name set03NoArg:0,1 set03Replacement01Value set04Name set04NoArg:0,1 set04Replacement01Value set05Name set05URL set06Name set06TextArg:0,1 set06URL setHeader1 setURL
attr deimos_vlc devStateIcon stopped:audio_stop@red playing:audio_play@green paused:audio_pause@yellow
attr deimos_vlc disable 0
attr deimos_vlc get01DeleteIfUnmatched 1
attr deimos_vlc get01
FUNCTION <SNR>73_RequestSignatureHelp()
Defined: ~/.vim/bundle/YouCompleteMe/autoload/youcompleteme.vim:938
Called 25 times
Total time: 0.019903
Self time: 0.005862
count total (s) self (s)
25 0.005100 0.000509 if !s:ShouldUseSignatureHelp()
return
25 0.000062 endif
@xenos1984
xenos1984 / gist:2353bbdb48fd6ef63b1ece72760567ac
Created November 28, 2019 08:56
VIM + YCM error report
vim --version:
VIM - Vi IMproved 8.1 (2018 May 18, compiled Nov 26 2019 13:18:48)
Included patches: 1-2345
Modified by jonathon.fernyhough@york.ac.uk
Compiled by jonathon.fernyhough@york.ac.uk
Huge version with GTK3 GUI. Features included (+) or not (-):
+acl -farsi -mouse_sysmouse -tag_any_white
+arabic +file_in_path +mouse_urxvt +tcl
+autocmd +find_in_path +mouse_xterm +termguicolors
<?php
header("Content-Type: text/plain");
//$osm = json_decode(file_get_contents('http://overpass-api.de/api/interpreter?data=' . urlencode('[out:json][timeout:120];area["name"="Eesti"]->.area;(relation["type"="boundary"]["boundary"="administrative"](area.area););out tags;')));
$osm = json_decode(file_get_contents("overpass.json"), true);
$csv = fopen("maakond.csv", "rt");
$headerm = fgetcsv($csv, 1024, ',', '"', "\\");
$ehakm = array();
while(!feof($csv))