Each day at our company, developers are required to document their activities, painstakingly jotting down their daily work and future plans. A monotonous chore that I just really dislike.
So now, there's a scribe for that :
javascript:(function(){try{navigator.clipboard.readText().then(function(t){if(t){var e=window.open("","_blank","width=800,height=600");e.document.open(),e.document.write(t),e.document.close()}else alert("Clipboard is empty. Please copy some text to the clipboard first.")}).catch(function(t){console.error("Failed to read clipboard contents: ",t),alert("An error occurred while trying to access the clipboard. Please ensure your browser allows clipboard access.")})}catch(t){console.error("An error occurred:",t),alert("An error occurred while trying to open the new window with the clipboard content.")}})();//bookmarklet_title: HTML Preview from Clipboard |
// ==UserScript== | |
// @name HN Chat Mode | |
// @namespace https://news.ycombinator.com/ | |
// @version 2024-09-18 | |
// @description live comments updater | |
// @author You | |
// @match https://news.ycombinator.com/item* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=news.ycombinator.com | |
// @grant none | |
// ==/UserScript== |
export const Component = () => { | |
const servicesRef = useRef<HTMLAnchorElement>(null); | |
const isServicesHovered = useHover(servicesRef); | |
return ( | |
<Popover.Root open={isServicesHovered}> | |
<Popover.Trigger asChild> | |
<Link href="/" ref={servicesRef}> | |
Services | |
</Link> |
Each day at our company, developers are required to document their activities, painstakingly jotting down their daily work and future plans. A monotonous chore that I just really dislike.
So now, there's a scribe for that :
MONGODB_URI=[YOUR_MONGO_DB_URL] | |
GITLAB_HOST=[YOUR_GITLABHOST_URL] | |
GITLAB_PROJECT_ID=[YOUR_GITLAB_PROJECT_ID] | |
GITLAB_BRANCH=[YOUR_GITLAB_BRANCH] | |
GITLAB_PERSONAL_ACCESS_TOKEN=[YOUR_GITLAB_TOKEN] | |
TINA_PUBLIC_IS_LOCAL=false | |
# _optionally_ Use Tina Cloud for user authentication | |
#NEXT_PUBLIC_TINA_CLIENT_ID=*** |
The screenshots were taken on different sessions.
The entire sessions are included on the screenshots.
I lost the original prompts, so I had to reconstruct them, and still managed to reproduce.
The "compressed" version is actually longer! Emojis and abbreviations use more tokens than common words.
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.13; | |
import 'erc721a/contracts/ERC721A.sol'; | |
import 'erc721a-upgradeable/contracts/ERC721AUpgradeable.sol'; | |
import '@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol'; | |
import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; | |
import "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol"; | |
import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; | |
import "operator-filter-registry/src/upgradeable/OperatorFiltererUpgradeable.sol"; |
Title
Buzzed Bees DAO
TL;DR
Save Bees while maintaining & improving the new "Existing Communities" Nouns Builder feature
Description
The Buzzed Bee DAO has 2 very clear objectives.
# Code extracted from https://github.com/parlance-zz/g-diffuser-bot/tree/g-diffuser-bot-diffuserslib-beta | |
# | |
# `pip install numpy image scikit-image` should cover all dependencies, but they are probably installed if you're using SD. | |
# | |
# The GitHub recommends a denoising strength of 0.6 and config scale of 10. | |
# I've found a bit higher values for the denoising strength to work better, ymmv | |
import os, sys | |
from PIL import Image |