Below notes are my highlights from reading SCARF: a brain-based model for collaborating with and influencing others.
Index of Contents
| (function () { | |
| const org = 'ORG' | |
| const nodes = document.querySelectorAll('.Box-row'); | |
| const rows = [ ...nodes ]; | |
| const orgRows = rows.filter((e) => e.innerText.startsWith(` ${org}/`)); | |
| const orgUnsubButtons = orgRows.map(row => row.querySelector('button.select-menu-item[value="included')); | |
| orgUnsubButtons.forEach(button => console.log(button.click())); | |
Below notes are my highlights from reading SCARF: a brain-based model for collaborating with and influencing others.
Index of Contents
Table of Contents
| defmodule HashID do | |
| @coder Hashids.new( | |
| salt: "HmPbtapoe1FGfTFbEEeZcWKuakIQp3L0", | |
| min_en: 6 | |
| ) | |
| def encode(id, type) do | |
| type = | |
| type | |
| |> to_string |
| package fal | |
| import ( | |
| "bytes" | |
| "context" | |
| "encoding/json" | |
| "fmt" | |
| "io" | |
| "net/http" | |
| "time" |
| # Rate limiting zones | |
| limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; | |
| limit_conn_zone $binary_remote_addr zone=addr:10m; | |
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| root /home/$USER/dev/www/default; | |
| index index.html index.htm; |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Welcome</title> | |
| <style> | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, sans-serif; | |
| line-height: 1.6; | |
| margin: 0; |
| #!/bin/bash | |
| command=$1 | |
| domain=$2 | |
| show_help() { | |
| echo "Usage: $0 <command> <domain>" | |
| echo "" | |
| echo "Commands:" | |
| echo " create <domain> Create a new website configuration" |