Context
- nostr-protocol/nips#522
- https://stacker.news/items/177715
- https://snort.social/e/note1uushpz4zr4ak2fh60l8whww6mm0w6eh9s796m5tza5uz9jjjsl5szk55nn
Sure.
from langchain.agents import load_tools | |
from langchain.agents import initialize_agent | |
from langchain.agents import AgentType | |
from langchain.llms import OpenAI | |
llm = OpenAI(temperature=0, model="gpt-3.5-turbo-instruct") | |
from metaphor_python import Metaphor | |
client = Metaphor("") |
Inject this css snippet to remove all ads from your Twitter timeline.
div[data-testid="placementTracking"]:has(path[d="M19.498 3h-15c-1.381 0-2.5 1.12-2.5 2.5v13c0 1.38 1.119 2.5 2.5 2.5h15c1.381 0 2.5-1.12 2.5-2.5v-13c0-1.38-1.119-2.5-2.5-2.5zm-3.502 12h-2v-3.59l-5.293 5.3-1.414-1.42L12.581 10H8.996V8h7v7z"]) {
display: none;
}
-- The goal of this script is to trim messages that have been processed by | |
-- all extant groups from the a given Redis stream. It returns the number | |
-- of messages that were deleted from the stream, if any. I make no | |
-- guarantees about its performance, particularly if the stream is large | |
-- and not fully processed (so a simple XTRIM isn't possible). | |
-- First off, bail out early if the stream doesn't exist. | |
if redis.call("EXISTS", KEYS[1]) == 0 then | |
return false | |
end |
// Uses hypercore-next and hyperswarm V4 | |
// Server | |
const Hyperswarm = require('hyperswarm') | |
const Hypercore = require("hypercore") | |
const Hyperbee = require("hyperbee") | |
const ram = require("random-access-memory") | |
async function runServer(){ |
#!/bin/bash | |
add_user() { | |
getent passwd "$1" >>"$BUILDROOT/etc/passwd" | |
getent shadow "$1" >>"$BUILDROOT/etc/shadow" | |
getent group "$(id -Gn "$1")" >>"$BUILDROOT/etc/group" | |
} | |
build() { | |
add_systemd_unit cryptsetup-pre.target |
This is a very basic guide, just to understand what's needed to set it up.
If you have any questions you can find me at https://nostr.com/8355095016fddbe31fcf1453b26f613553e9758cf2263e190eac8fd96a3d3de9
Create a file that resolves to <domain>/.well-known/nostr.json, and fill it out like this (enter the name you want to use, and input your own public key, make sure its the HEX-key):
{
The goal of this protocol is for Bob to get Alice to perform a Diffie-Hellman key exchange blindly, such that when the unblinded value is returned, Alice recognizes it as her own, but can’t distinguish it from others (i.e. similar to a blind signature).
Alice:
A = a*G
return A
Bob:
Y = hash_to_curve(secret_message)
r = random blinding factor