Skip to content

Instantly share code, notes, and snippets.

View haste's full-sized avatar

Trond A Ekseth haste

  • FSI Evolution
  • Oslo, Norway
View GitHub Profile
SELECT ts_rank(tsvector, tsquery), tsvector @@ tsquery AS match, tsvector, tsquery FROM to_tsvector('simple', 'Wisby Pils') tsvector, to_tsquery('simple', 'Wisby & Pils') tsquery;
ts_rank | match | tsvector | tsquery
-----------+-------+--------------------+------------------
0.0991032 | t | 'pils':2 'wisby':1 | 'wisby' & 'pils'
INPUT:
--[[ frame:EnableElement(name, unit)
Used to activate an element for the given unit frame.
* self - unit frame for whom the element should be enabled
* name - name of the element to be enabled
* unit - unit to be passed to the element's Enable function. Defaults to the frame's unit
--]]
LEXER:
{typ:2 pos:1 val:--[[ line:2}

Keybase proof

I hereby claim:

  • I am haste on github.
  • I am troeks (https://keybase.io/troeks) on keybase.
  • I have a public key ASD_2eqn_66mdL1f-1f7pvLSJOnBsHBufbSs5Oz2-HyNfgo

To claim this, I am signing this object: