Skip to content

Instantly share code, notes, and snippets.

// Shortcut: shift option control f11
// Menu: Mute Meet
// Description: Search the meet tab on the browser and mute it.
// Author: @viroide
// Twitter: @viroide
await applescript(`
tell application "Brave Browser"
activate
// Shortcut: shift option control f9
// Name: Translate with DeepL
// Author: Jon E. Eguiluz
// Twitter: @viroide
import "@johnlindquist/kit"
let DEEPL_API_KEY = await env("DEEPL_API_KEY", {
hint: md(
// Shortcut: shift option control f9
// Name: Translate with DeepL
// Author: Jon E. Eguiluz
// Twitter: @viroide
import "@johnlindquist/kit"
let DEEPL_API_KEY = await env("DEEPL_API_KEY", {
hint: md(
AssertionError: 5 is a too small bet on default - AUD
AssertionError: 10 is a too small bet on default - AUD
AssertionError: 20 is a too small bet on default - AUD
AssertionError: 30 is a too small bet on default - AUD
AssertionError: 40 is a too small bet on default - AUD
AssertionError: 50 is a too small bet on default - AUD
AssertionError: 100 is a too small bet on default - AUD
AssertionError: 10 is a too small bet on default - AZN
AssertionError: 20 is a too small bet on default - AZN
AssertionError: 40 is a too small bet on default - AZN
{
"bet": {
"CASH": 20
},
"gameInstanceId": 417080885,
"gameId": "VEGANS_VS_VAMPIRES",
"games": [
{
"height": 7,
"reels": [[103,103,103,32,203,104,204],[105,31,31,31,31,31,31],[103,103,103,103,103,32,31],[31,103,103,103,103,103,103],[105,105,105,105,32,101,201]],
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_ortho_4x4(
MEH(KC_LEFT), MEH(KC_DOWN), MEH(KC_UP), MEH(KC_RGHT),
G(KC_1), A(G(KC_L)), C(KC_T), A(G(KC_M)),
LOL_LOL, LOL_WAT, LOL_YAY, LOL_SHRUG,
LOL_FUU, LOL_NO, KC_TRNS, S(G(KC_4))
)
};
@Viroide
Viroide / Sky-1M-loadtesting.md
Last active April 14, 2020 07:52
Sky 1M ticket loadtesting

Final testing

  • Production BD
  • A swarm of locust playing games
  • A local locust asking for unclaimed tickets
  • 1,000,000 tickets

Production BD:

  • 34Gb (compressed)
@Viroide
Viroide / character-profile.md
Last active August 15, 2018 15:37 — forked from oneeyedman/character-profile.md
Ficha de personaje: Eduardo Fonseca

Ficha de personaje

Datos personales

  • Nombre: Eduardo Fonseca
  • Ilustración: (pendiente)

Historia

Estudiante modelo, terminó Derecho el primero de su graduación. Durante la carrera lideró el equipo de ajedrez de la universidad. Tras terminar sus estudios se preparó las oposiciones para abogado del estado y saco plaza a la primera. Tras varios años de ejerciendo el cargo fue fichado para trabajar en el CNI (o como se llame actualmente), para encargarse de la burocracia y posibles contigencias legales de los agentes.

Aficiones

@Viroide
Viroide / printHierarchy.js
Created December 13, 2017 10:04
print PIXI hierarchy
function printHierarchy(node, padding="") {
let newPadding = padding;
if (node.name) {
newPadding += " |";
console.log(`${padding}-${node.name}`);
}
node.children.forEach(child => printHierarchy(child, newPadding));
}
@Viroide
Viroide / pre-commit
Last active October 10, 2017 10:04
#!/bin/sh
if [[ $(ag '\.only|debugger') ]]; then
echo 'Ups, you should remove your 💩 !'
ag '\.only|debugger'
exit 1
else
echo 'no 💩 , here is your 🎖'
exit 0
fi