Skip to content

Instantly share code, notes, and snippets.

@wiiaboo
wiiaboo / andQueries.js
Created October 25, 2024 10:18
andQueries.js
* Join an arbitrary number of encoded queries with a global AND.
* @param {...String[]|String} query - Zero or more encoded queries or arrays of encoded queries. Arrays are interpreted as encoded queries to be joined by OR (^NQ)
* @returns {String}
* @example
* andQueries('active=true', 'locked_out=false') === 'active=true^locked_out=false'
* andQueries('active=true^NQactive=false', 'locked_out=false') === 'active=true^locked_out=false^NQactive=false^locked_out=false'
* andQueries('a=b', 'd=e', ['f=g', 'h=i', 'j=k']) === 'a=b^d=e^f=g^NQa=b^d=e^h=i^NQa=b^d=e^j=k'
* andQueries('a=b', 'd=e', 'f=g^NQh=i^NQj=k') === 'a=b^d=e^f=g^NQa=b^d=e^h=i^NQa=b^d=e^j=k'
* andQueries('active=true', []) === 'active=true'
const MAX_LEVEL = 90;
const craftables = [
{
level: 21,
name: 'lv20 grade 4 ishgard',
xp: 67771,
maximumLevel: 41,
},
{
level: 41,
@wiiaboo
wiiaboo / sectors?map_id=4.json
Last active May 22, 2022 21:09
Mogship - Sirensong Sea with breakpoints
{
"results": [
{
"breakpoints": {
"favor": 210,
"retrieval": {
"norm": 260,
"optim": 305
},
"surveillance": {
From ceb2d2edaf3f3755f7407e522cb59fa033d1f9f3 Mon Sep 17 00:00:00 2001
From: Ricardo Constantino <[email protected]>
Date: Wed, 10 Mar 2021 22:53:32 +0000
Subject: [PATCH] Update to build against nginx-mainline-src
---
.SRCINFO | 10 +++-------
PKGBUILD | 31 ++++++++++++++++---------------
2 files changed, 19 insertions(+), 22 deletions(-)
From ea5fb57c14794a4f3f0851bf4768a697d323611f Mon Sep 17 00:00:00 2001
From: Ricardo Constantino <[email protected]>
Date: Sun, 21 Jun 2020 12:00:42 +0100
Subject: [PATCH] Add some systemd files
---
.SRCINFO | 9 +++++++++
.gitignore | 1 +
PKGBUILD | 19 ++++++++++++++++---
komga.env | 13 +++++++++++++
From 9585df20e053dfecb341005cab4808332620236b Mon Sep 17 00:00:00 2001
From: Jing SUN <[email protected]>
Date: Fri, 31 May 2019 13:37:54 +0800
Subject: [PATCH 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper
Signed-off-by: Zhengxu Huang <[email protected]>
Signed-off-by: Hassene Tmar <[email protected]>
Signed-off-by: Jun Zhao <[email protected]>
Signed-off-by: Jing Sun <[email protected]>
---
-- autoloadtxt.lua
-- autoload .txt subtitles respecting --sub-auto setting
-- hacked from autoload.lua
local msg = require 'mp.msg'
local options = require 'mp.options'
local utils = require 'mp.utils'
o = { disabled = false }

Keybase proof

I hereby claim:

  • I am wiiaboo on github.
  • I am ricon (https://keybase.io/ricon) on keybase.
  • I have a public key whose fingerprint is CB39 1133 DF0B D5BC 6AA3 2CFF EFD1 6019 AE4F F531

To claim this, I am signing this object:

@-moz-document url("https://www.wanikani.com/"), url("https://www.wanikani.com/dashboard") {
#timeln .link {
color: #ccc
}
#timeline .label-x text, #timeline .label-y text {
fill: #ccc;
stroke-width: 0;
}
#timeline .arrows .bur {
stroke: #eee;
@wiiaboo
wiiaboo / Makefile
Last active May 25, 2016 22:47 — forked from rossy/Makefile
Makefile for ANGLE
VERSION = 2.1.9e54b5af8988
CXX ?= g++
AR ?= ar
RANLIB ?= ranlib
INSTALL ?= install
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
LIBDIR ?= $(PREFIX)/lib
INCLUDEDIR ?= $(PREFIX)/include