Skip to content

Instantly share code, notes, and snippets.

@strikeout
strikeout / BitMEX Jazz BEEP
Last active July 30, 2020 19:06
Aural indication of XBTUSD price movements via BitMEX websocket realtime-trade data. Uses the blues scale to add some funk to your trading. Copy & paste into your browser's console..
/**
* BitMEX JAZZ BEEP
*
* Aural indication of XBTUSD price movements via BitMEX websocket realtime-trade data.
* Uses the blues scale to add some funk to your trading.
*
*/
var options = {
@strikeout
strikeout / README.md
Created August 10, 2019 14:50 — forked from magnetikonline/README.md
Setting Nginx FastCGI response buffer sizes.
@strikeout
strikeout / Hasura Keycloak.md
Created June 20, 2020 11:04 — forked from webdeb/Hasura Keycloak.md
Basic Keycloak Script Mapper to provide Hasura claims

Steps to provide Hasura Claims in Keycloak generated JWT

  1. Create your realm / client
  2. Inside client configuration go to "Mappers"
  3. Click on "Create"
  4. Name it "hasura"
  5. Choose Mapper Type "Script Mapper"
  6. Add following script to demonstrate how it works