- Jul 2023
-
github.com github.com
-
```js import { ThreadsAPI } from 'threads-api';
// or in Deno 🦖: // import { ThreadsAPI } from "npm:threads-api";
const main = async () => { const threadsAPI = new ThreadsAPI();
const username = '_junhoyeo'; const id = await threadsAPI.getUserIDfromUsername(username); console.log(id);
if (!id) { return; }
const user = await threadsAPI.getUserProfile(username, id); console.log(JSON.stringify(user));
const posts = await threadsAPI.getUserProfileThreads(username, id); console.log(JSON.stringify(posts));
const replies await threadsAPI.getUserProfileReplies(username, id); console.log(JSON.stringify(replies)); }; main(); ```
Tags
Annotators
URL
-
-
soundcloud.com soundcloud.com
-
delroywilson.bandcamp.com delroywilson.bandcamp.com
-
protobuf.dev protobuf.dev
Tags
Annotators
URL
-
-
soundcloud.com soundcloud.com
-
alton-ellis.bandcamp.com alton-ellis.bandcamp.com
-
fatfreddysdrop.bandcamp.com fatfreddysdrop.bandcamp.com
-
fatfreddysdrop.bandcamp.com fatfreddysdrop.bandcamp.com
-
fatfreddysdrop.bandcamp.com fatfreddysdrop.bandcamp.com
-
spotalike.com spotalike.com
-
-
twitter.com twitter.com
Tags
Annotators
URL
-
-
vprecordsofficial.bandcamp.com vprecordsofficial.bandcamp.com
-
help.instagram.com help.instagram.com
Tags
Annotators
URL
-
-
www.threads.net www.threads.net
Tags
Annotators
URL
-
-
blog.joinmastodon.org blog.joinmastodon.org
-
radiospi.api.bbci.co.uk radiospi.api.bbci.co.uk
-
xmlns.com xmlns.com
Tags
Annotators
URL
-
-
latenighttales.bandcamp.com latenighttales.bandcamp.com
-
latenighttales.bandcamp.com latenighttales.bandcamp.com
-
holliecook.bandcamp.com holliecook.bandcamp.com
-
holliecook.bandcamp.com holliecook.bandcamp.com
-
princefatty.bandcamp.com princefatty.bandcamp.com
-
thunderseethe.dev thunderseethe.dev
-
delasoul.bandcamp.com delasoul.bandcamp.com
-
delasoul.bandcamp.com delasoul.bandcamp.com
-
delasoul.bandcamp.com delasoul.bandcamp.com
-
datatracker.ietf.org datatracker.ietf.org
-
datatracker.ietf.org datatracker.ietf.org
-
dev.to dev.to
-
js function getFlagEmoji(countryCode) { const codePoints = countryCode .toUpperCase() .split('') .map(char => 127397 + char.charCodeAt()); return String.fromCodePoint(...codePoints); }
js getFlagEmoji('US') = 🇺🇸 getFlagEmoji('NL') = 🇳🇱 getFlagEmoji('CH') = 🇨🇭
-
-
www.mixcloud.com www.mixcloud.com
-
www.mixcloud.com www.mixcloud.com
-
www.youtube.com www.youtube.comYouTube3
Tags
- house
- music
- musicbrainz:series=28f1d8de-4d24-4989-98c7-0fd223a620bf
- remix
- musicbrainz:release=145ab4e5-83e4-4504-9951-f219c91ec60c
- nu jazz
- hotel costes
- musicbrainz:release=3d10c269-c0f9-4e9e-8b1c-1007b1c2ac40
- musicbrainz:release=579f8a38-dc43-442c-add8-d6fefc7aea3c
- electro
- stephane pompougnac
Annotators
URL
-
-
developer.mozilla.org developer.mozilla.org
-
soundcloud.com soundcloud.com
Tags
- musicbrainz:sample=bbf7a34a-7994-49af-94e0-b5aa5d5d6d11
- musicbrainz:work=f7587bf3-1014-3f68-9b44-74f7f9f306a3
- remix
- musicbrainz:recording=54e3665c-63c0-494a-ac43-8664469e1b2e
- musicbrainz:sample=f47637a2-489e-4675-af52-bf6b3b0a5e1c
- zero7
- radiohead
- music
- musicbrainz:remix=c7225576-001e-423c-adc1-58f0985dcb27
- triphop
Annotators
URL
-
-
www.imdb.com www.imdb.com
-
blogs.nvidia.com blogs.nvidia.com
Tags
- machine learning
- neural networks
- wikipedia:en=Self-supervised_learning
- wikipedia:en=Attention_(machine_learning)
- wikipedia:en=BERT_(language_model)
- wikipedia:en=Transformer_(machine_learning_model)
- cito:cites=doi:10.48550/arXiv.2108.07258
- wikipedia:en=Artificial_neural_network
- ai
- cito:cites=doi:10.48550/arXiv.1706.03762
Annotators
URL
-
-
apps.apple.com apps.apple.com
-
rubinsteiner.bandcamp.com rubinsteiner.bandcamp.com
-
www.discogs.com www.discogs.com
-
-
graphbrainz.fly.dev graphbrainz.fly.devGraphiQL1
Tags
Annotators
URL
-
-
djvadim.bandcamp.com djvadim.bandcamp.com
-
djvadim.bandcamp.com djvadim.bandcamp.com
-
soundcloud.com soundcloud.comQuit It1
-
soundcloud.com soundcloud.com
Tags
Annotators
URL
-
-
thechipletter.substack.com thechipletter.substack.com
-
blog.cloudflare.com blog.cloudflare.com
-
demo.mqtt.dev demo.mqtt.dev
Tags
Annotators
URL
-
-
github.com github.com
Tags
Annotators
URL
-
-
curves.xargs.org curves.xargs.org
-
www.imdb.com www.imdb.com
-
-
-
docs.oasis-open.org docs.oasis-open.org
-
docs.oasis-open.org docs.oasis-open.org
-
www.hivemq.com www.hivemq.com
-
-
www.hivemq.com www.hivemq.com
-
www.hivemq.com www.hivemq.com
Tags
Annotators
URL
-
-
developers.cloudflare.com developers.cloudflare.com
-
developers.cloudflare.com developers.cloudflare.com
-
developers.cloudflare.com developers.cloudflare.com
Tags
Annotators
URL
-
-
developers.cloudflare.com developers.cloudflare.com
-
WebSocket support in Pub/Sub works by encapsulating MQTT packets (Pub/Sub’s underlying native protocol) within WebSocket framesExternal link icon
```js // Ensure MQTT.js is installed first // > npm install mqtt import * as mqtt from "mqtt"
// Where 'url' is "mqtts://BROKER.NAMESPACE.cloudflarepubsub.com:8884" function example(url) { let client = mqtt.connect(url, { protocolVersion: 5, reconnectPeriod: 0, username: 'anything', password: jwt, // pass this from a form field in your app clientId: '', })
client.on('connect', function () { client.subscribe(topic, function (err) { if (err) { client.end(); } else { console.log(
subscribed to ${topic}
) } })client.on('message', function (topic, message) { let line = (new Date()).toLocaleString('en-US') + ": " + message.toString() + "\n"; console.log(line) }) } ```
-
-
-
-
www.mnot.net www.mnot.net
Tags
Annotators
URL
-
-
-
```js exports.handler = async (event) => { if (event.headers != undefined) { const headers = toLowerCaseProperties(event.headers);
if (headers['sec-websocket-protocol'] != undefined) { const subprotocolHeader = headers['sec-websocket-protocol']; const subprotocols = subprotocolHeader.split(','); if (subprotocols.indexOf('myprotocol') >= 0) { const response = { statusCode: 200, headers: { "Sec-WebSocket-Protocol" : "myprotocol" } }; return response; } } } const response = { statusCode: 400 }; return response;
};function toLowerCaseProperties(obj) { var wrapper = {}; for (var key in obj) { wrapper[key.toLowerCase()] = obj[key]; } return wrapper; } ```
-
-
developers.cloudflare.com developers.cloudflare.com
-
stackoverflow.com stackoverflow.com
-
```js async function main() { const blob = new Blob([new Uint8Array(10 * 1024 * 1024)]); // any Blob, including a File const uploadProgress = document.getElementById("upload-progress"); const downloadProgress = document.getElementById("download-progress");
const totalBytes = blob.size; let bytesUploaded = 0;
// Use a custom TransformStream to track upload progress const progressTrackingStream = new TransformStream({ transform(chunk, controller) { controller.enqueue(chunk); bytesUploaded += chunk.byteLength; console.log("upload progress:", bytesUploaded / totalBytes); uploadProgress.value = bytesUploaded / totalBytes; }, flush(controller) { console.log("completed stream"); }, }); const response = await fetch("https://httpbin.org/put", { method: "PUT", headers: { "Content-Type": "application/octet-stream" }, body: blob.stream().pipeThrough(progressTrackingStream), duplex: "half", });
// After the initial response headers have been received, display download progress for the response body let success = true; const totalDownloadBytes = response.headers.get("content-length"); let bytesDownloaded = 0; const reader = response.body.getReader(); while (true) { try { const { value, done } = await reader.read(); if (done) { break; } bytesDownloaded += value.length; if (totalDownloadBytes != undefined) { console.log("download progress:", bytesDownloaded / totalDownloadBytes); downloadProgress.value = bytesDownloaded / totalDownloadBytes; } else { console.log("download progress:", bytesDownloaded, ", unknown total"); } } catch (error) { console.error("error:", error); success = false; break; } }
console.log("success:", success); } main().catch(console.error); ```
-
-
-
On any Web page run the following code
js await startLocalServer(); let abortable = new AbortController; let {signal} = abortable; (await fetch('https://localhost:8443', { method: 'post', body: 'cat local_server_export.js', // Code executed in server, piped to browser duplex: 'half', headers: { 'Access-Control-Request-Private-Network': true }, signal })).body.pipeThrough(new TextDecoderStream()).pipeTo(new WritableStream({ write(v) { console.log(v); }, close() { console.log('close'); }, abort(reason) { console.log(reason); } })).catch(console.warn); await resetLocalServer();
-
-
www.mixcloud.com www.mixcloud.com
-
JAZZiroquai
-
-
docs.npmjs.com docs.npmjs.com
Tags
Annotators
URL
-
-
-
Tags
Annotators
URL
-
-
developer.mozilla.org developer.mozilla.org
-
www.w3.org www.w3.org
Tags
Annotators
URL
-
-
enterprise-knowledge.com enterprise-knowledge.com
-
w3c.github.io w3c.github.io
-
RDF-star: bridging the gap betweenLinked Data and Property Graphs
Tags
Annotators
URL
-
-
w3c.github.io w3c.github.io
-
www.youtube.com www.youtube.com
-
-
news.ycombinator.com news.ycombinator.com
Tags
Annotators
URL
-
-
www.datasciencecentral.com www.datasciencecentral.com
-
www.ontotext.com www.ontotext.com
-
w3c.github.io w3c.github.io
Tags
Annotators
URL
-
-
github.com github.com
-
github.com github.com
-
developers.cloudflare.com developers.cloudflare.com
-
The Hibernation API allows a Durable Object that is not currently running an event handler, such as handling a WebSocket message, HTTP request, or alarm, to be removed from memory while keeping its WebSockets connected (“hibernation”).
-
-
blog.scottlogic.com blog.scottlogic.com
-
stackoverflow.com stackoverflow.com
-
www.sencha.com www.sencha.com
Tags
Annotators
URL
-
-
vscode.dev vscode.dev
-
-
news.ycombinator.com news.ycombinator.com
Tags
Annotators
URL
-
-
news.ycombinator.com news.ycombinator.com
-
- Jun 2023
-
css-tricks.com css-tricks.com
-
graphdb.ontotext.com graphdb.ontotext.com
-
www.wikidata.org www.wikidata.org
Tags
Annotators
URL
-
-
linkedwiki.com linkedwiki.com
-
```sparql PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# PREFIX owl: http://www.w3.org/2002/07/owl#
SELECT ?superclass ?subclass FROM http://dbpedia.org WHERE {?superclass a owl:Class ; rdfs:subClassOf+ ?subclass }
LIMIT 100 ```
-
-
www.stardog.com www.stardog.com
-
-
www.youtube.com www.youtube.com
-
-
stackoverflow.com stackoverflow.com
-
en.wikibooks.org en.wikibooks.org
-
-
en.wikibooks.org en.wikibooks.org
Tags
Annotators
URL
-
-
www.w3.org www.w3.org
-
-
ishadeed.com ishadeed.com
Tags
Annotators
URL
-
-
rzine-reviews.github.io rzine-reviews.github.io
Tags
Annotators
URL
-
-
hypothes.is hypothes.is
Tags
Annotators
URL
-
-
jbarrasa.com jbarrasa.com
-
www.ahp-numerique.fr www.ahp-numerique.fr
-
www.ahp-numerique.fr www.ahp-numerique.fr
-
wdtaxonomy.readthedocs.io wdtaxonomy.readthedocs.io
-
mapping-commons.github.io mapping-commons.github.io
Tags
Annotators
URL
-
-
mapping-commons.github.io mapping-commons.github.io
-
nomisma.org nomisma.org
Tags
Annotators
URL
-
-
linkedwiki.com linkedwiki.com
-
```sparql PREFIX pm20: http://purl.org/pressemappe20/folder/ PREFIX p: http://www.wikidata.org/prop/ PREFIX pq: http://www.wikidata.org/prop/qualifier/ PREFIX skos: http://www.w3.org/2004/02/skos/core# PREFIX wdt: http://www.wikidata.org/prop/direct/ PREFIX wd: http://www.wikidata.org/entity/
SELECT ?wd ?skosRelation ?pm20
construct {
?wd ?skosRelation ?pm20 .
}
where { service https://query.wikidata.org/sparql { # wd items with PM20 ID ?wd wdt:P4293 ?pm20Id . filter(isLiteral(?pm20Id)) # # mapping relation optional { ?wd p:P4293/pq:P4390 ?relation . # URL of the equivalent skos property ?relation wdt:P2699 ?skosRelation1 . } } # bind as URIs bind(uri(concat('http://purl.org/pressemappe20/folder/', ?pm20Id)) as ?pm20) bind(if(bound(?skosRelation1), ?skosRelation1, uri('http://www.w3.org/2004/02/skos/core#exactMatch')) as ?skosRelation) } ```
-
-
stackoverflow.com stackoverflow.com
-
stackoverflow.com stackoverflow.com
-
stackoverflow.com stackoverflow.com
-
-
hal.archives-ouvertes.fr hal.archives-ouvertes.fr
-
-
bnf.hypotheses.org bnf.hypotheses.org
-
bnf.hypotheses.org bnf.hypotheses.org
Tags
Annotators
URL
-
-
campus.dariah.eu campus.dariah.eu
-
There are many different types of controlled vocabularies, the most common among them are: Thesaurus - a type of controlled vocabulary used in information systems that organizes concepts in hierarchical and/or associative relationships and provides their semantic definitions Classification schema - a system that based primarily on classifying things or concepts into groups or classes with a detailed explanation of those classification methods Subject heading list - a list of terms describing subjects in information system Taxonomy - a system that organizes things and concepts in groups based on their common characteristics and/or differences Terminology - a list of terms used to describe concepts in a certain domain Glossary - an alphabetical list of terms with their explanation used in a specific context
-
-
www.piaf-archives.org www.piaf-archives.org
-
dossierdoc.typepad.com dossierdoc.typepad.com
-
www.cs.vu.nl www.cs.vu.nl
Tags
Annotators
URL
-
-
publications-prairial.fr publications-prairial.fr
-
schema.org schema.org
-
schema.org schema.org
Tags
Annotators
URL
-
-
id.loc.gov id.loc.gov
-
id.loc.gov id.loc.gov
-
jakobib.github.io jakobib.github.io
-
link.springer.com link.springer.com
-
oscarp.bandcamp.com oscarp.bandcamp.com
-
oscarp.bandcamp.com oscarp.bandcamp.com
-
blog.domenic.me blog.domenic.me
Tags
Annotators
URL
-
-
selectakilla.bandcamp.com selectakilla.bandcamp.com
-
soundcloud.com soundcloud.comTa Ta Ta1
-
soundcloud.com soundcloud.com
Tags
Annotators
URL
-
-
hypothes.is hypothes.is
Tags
Annotators
URL
-
-
postcss.org postcss.org
Tags
Annotators
URL
-
-
betterprogramming.pub betterprogramming.pub
-
-
soundcloud.com soundcloud.com
-
www.bbc.co.uk www.bbc.co.uk
-
www.mixcloud.com www.mixcloud.com
-
www.bbc.co.uk www.bbc.co.uk