Two complementary frameworks for thinking about agent complexity:
- Quadrant → "what tool should I use for THIS job?"
- Ladder → "where is the agent on the evolution path?"
| # Admin API key goes here | |
| KEY="[FIND ME IN THE ADMIN SETTINGS]" | |
| # Split the key into ID and SECRET | |
| TMPIFS=$IFS | |
| IFS=':' read ID SECRET <<< "$KEY" | |
| IFS=$TMPIFS | |
| # Prepare header and payload | |
| NOW=$(date +'%s') |
| { | |
| "color": { | |
| "amber": { | |
| "amber1": { | |
| "value": "hsl(39, 70.0%, 99.0%)", | |
| "type": "color" | |
| }, | |
| "amber2": { | |
| "value": "hsl(40, 100%, 96.5%)", | |
| "type": "color" |
That's legitimately a good default position to hold, however, in this case, the free money is a function of time, and not only charity.
In February 2020, in order to promote Handshake (HNS) to developers, an airdrop was offered to any Github user with more than 15 followers. The Airdrop would give you 4246HNS, at the time worth around at $0.08USD per coin, for a total of $339.68USD, pretty generous!
Today, 4246HNS is worth around $4000 dollarydoos, and there are plenty of github users who haven't claimed theirs.
| import * as React from "react"; | |
| import { useMousePosition } from "~/hooks/useMousePosition"; | |
| /** Component to cover the area between the mouse cursor and the sub-menu, to allow moving cursor to lower parts of sub-menu without the sub-menu disappearing. */ | |
| export function MouseSafeArea(props: { parentRef: React.RefObject<HTMLDivElement> }) { | |
| const { x = 0, y = 0, height: h = 0, width: w = 0 } = props.parentRef.current?.getBoundingClientRect() || {}; | |
| const [mouseX, mouseY] = useMousePosition(); | |
| const positions = { x, y, h, w, mouseX, mouseY }; | |
| return ( | |
| <div |
| #!/usr/bin/env python3 | |
| # See https://github.com/facebook/flipper/issues/262 | |
| import os | |
| import sys | |
| import syslog | |
| import shlex | |
| import time | |
| import subprocess |
| import React from 'react' | |
| const VideoEmbedPreview = ({ value }) => { | |
| const url = value.url | |
| const responsiveVideoContainer = { | |
| padding: "56.25% 0 0 0", | |
| position: "relative" | |
| } |
| colors = ["#f23f3f", "#ff7f3b", "#f2c83f", "#3ac95c", "#4a95ff", "#ac59ff", "#ff8aed", "#3bbdca"] | |
| fetti_bag = [] | |
| exports.kaboom = () -> | |
| unless fetti_bag.length > 1 | |
| for i in [0..100] | |
| fetti = new Layer | |
| width: 20, height: 20 | |
| scale: Utils.randomNumber(0.75, 1.25) |
| .root { | |
| display: block; | |
| position: relative; | |
| } | |
| .lqip { | |
| image-rendering: pixelated; | |
| width: 100%; | |
| opacity: 1; | |
| transition: opacity 50ms 100ms ease-out; |