Algolia
How to add Algolia InstantSearch to your Next.js application
float[][] result; | |
float t, c; | |
float ease(float p) { | |
p = c01(p); | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { |
@use "sass:string"; | |
@use 'sass:meta'; | |
@use "sass:map"; | |
@function str-replace($string, $search, $replace: "") { | |
$index: str-index($string, $search); | |
@if $index { | |
@return str-slice($string, 1, $index - 1) + $replace + | |
str-replace(str-slice($string, $index + str-length($search)), $search, $replace); | |
} |
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*- | |
(setq | |
user-full-name "Miroslav Toman" | |
user-mail-address "toman@fastmail.com" | |
;; doom-theme 'doom-sourcerer | |
doom-theme 'doom-gruvbox | |
; doom-font (font-spec :family "Essential Pragmata Pro" :size 18) | |
doom-font (font-spec :family "Tamzen" :size 16) | |
doom-big-font (font-spec :family "Essential Pragmata Pro" :size 24) |
/**************** | |
* drones101.js * | |
**************** | |
* | |
* Do you remember, my dear Professor, a certain introductory | |
* computational rationality class you taught long ago? Assignment | |
* #2, behavior functions of autonomous agents? I remember that one | |
* fondly - but attack drones are so much easier to reason about | |
* when they're not staring you in the face, I would imagine! |
from scipy.stats import entropy | |
import numpy as np | |
def label_informativeness(edge_index, labels): | |
''' | |
Computes the label informativeness metric proposed in | |
Platonov et al. (2022) | |
Characterizing Graph Datasets for Node Classification: | |
Beyond Homophily-Heterophily Dichotomy | |
https://arxiv.org/abs/2209.06177 |
Rank | Bot | Approximate Server Count | Library |
---|---|---|---|
1 | MEE6 | 19,800,000 | Custom Python |
2 | Rythm |
16,000,000 | JDA |
3 | Groovy |
11,200,000 | JDA, Discord4J |
4 | Dank Memer | 9,230,000 | Custom TypeScript |
5 | ProBot |
order += "disk /" | |
order += "cpu_usage" | |
order += "battery 0" | |
order += "memory" | |
general { | |
colors = true | |
color_good = "#a3be8c" | |
color_bad = "#bf616a" | |
color_degraded = "#ebcb8b" |
##### Scenario: | |
# You are getting 'x509: certificate signed by unknown authority' trying to | |
# run a simple finch container on your mac. | |
# $ finch run --rm public.ecr.aws/finch/hello-finch | |
# public.ecr.aws/finch/hello-finch:latest: resolving |--------------------------------------| | |
# elapsed: 0.1 s total: 0.0 B (0.0 B/s) | |
# INFO[0000] trying next host error="failed to do request: Head \"https://public.ecr.aws/v2/finch/hello-finch/manifests/latest\": x509: certificate signed by unknown authority" host=public.ecr.aws | |
# FATA[0000] failed to resolve reference "public.ecr.aws/finch/hello-finch:latest": failed to do request: Head "https://public.ecr.aws/v2/finch/hello-finch/manifests/latest": x509: certificate signed by unknown authority | |
# FATA[0000] exit status 1 |
/** Disabled dates color **/ | |
.bfwc-optimise-colours .ui-datepicker td.ui-state-disabled { | |
background: #FF0000 !important; | |
opacity: 1 !important; | |
} | |
/** Fix calendar next/previous icons **/ | |
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span{ | |
display: none !important; |