Skip to content

Instantly share code, notes, and snippets.

@tdurieux
tdurieux / postDataYQL.xml
Created August 7, 2014 21:03
HTML pages that need post data
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Christian Heilmann</author>
<description>HTML pages that need post data</description>
<sampleQuery><![CDATA[
select * from {table} where
url='http://isithackday.com/hacks/htmlpost/index.php'
and postdata="foo=foo&bar=bar" and xpath="//p"]]></sampleQuery>
<documentationURL></documentationURL>
<VirtualHost *:80>
ServerName demo.bluelatex.org
ProxyPreserveHost On
ProxyPass / http://localhost:18080/ retry=0
ProxyPassReverse / http://localhost:18080
</VirtualHost>
<VirtualHost *:443>
ServerName demo.bluelatex.org
ProxyPreserveHost On
class SyncTeXLexer
constructor: (@input) ->
@pointer = 0
current: =>
if @eos()
undefined
else
@input.slice @pointer
@tdurieux
tdurieux / SabajA4.irplus
Last active January 10, 2019 14:04
Sabaj A4 IRPlus
<irplus>
<device manufacturer="Sabaj" model="A4" columns="3" format="WINLIRC_SPACEENC" bits="16" pre-bits="16" toggle-bit-pos="0" gap-pulse="686" gap-space="108572" one-pulse="679" one-space="1581" zero-pulse="679" zero-space="452" header-pulse="9176" header-space="4407">
<button label="" alt="PWR" labelcolor="FFC84334" span="1">0x5EA1 0xF807</button>
<button label="" alt="UP" span="1">0x5EA1 0x58A7</button>
<button label="INPUT" span="1">0x5EA1 0x08F7</button>
<button label="" alt="LEFT" span="1">0x5EA1 0x7887</button>
<button label="OK" span="1">0x5EA1 0xF00F</button>
<button label="" alt="RIGHT" span="1">0x5EA1 0xA05F</button>
<button label="OUT" span="1">0x5EA1 0x48B7</button>
<button label="" alt="DOWN" span="1">0x5EA1 0xD827</button>
@tdurieux
tdurieux / SMSLAD18.irplus
Created January 10, 2019 14:05
IR plus SMSL AD18
<irplus>
<device manufacturer="SMSL" model="RC-1" columns="3" format="WINLIRC_SPACEENC" bits="16" pre-bits="16" toggle-bit-pos="0" gap-pulse="686" gap-space="108572" one-pulse="679" one-space="1581" zero-pulse="679" zero-space="452" header-pulse="9176" header-space="4407">
<button label="" alt="PWR" labelcolor="FFC84334" span="1">0x482C 0x807F</button>
<button label="" alt="UP" span="1">0x482C 0x40BF</button>
<button label="INPUT" span="1">0x482C 0xE01F</button>
<button label="" alt="LEFT" span="1">0x482C 0xC03F</button>
<button label="OK" span="1">0x482C 0x20DF</button>
<button label="" alt="RIGHT" span="1">0x482C 0xA05F</button>
<button label="EQ" span="1">0x482C 0x10EF</button>
<button label="" alt="DOWN" span="1">0x482C 0x609F</button>