136 private links
OK, if you have lots of Twitter embeds in your website, I've written an easy(ish) way to replace them with static images & alt text.
https://github.com/edent/Tweet2Img
Run:
python tweet2img.py 1234
And you'll get a ready-to-paste piece of HTML with a data-encoded image.
<a href="https:/ /twitter.com/edent/status/123"><img src="data:image/webp;base64,Ukl..." width="550" height="439" alt="text from tweet."/></a>
It also saves the WebP and alt text if you need them.
Tufte CSS provides tools to style web articles using the ideas demonstrated by Edward Tufte’s books and handouts. Tufte’s style is known for its simplicity, extensive use of sidenotes, tight integration of graphics with text, and carefully chosen typography.
Edward Tufte instead suggests the use of “sidenotes”:
Sidenotes are like footnotes, except they don’t force the reader to jump their eye to the bottom of the page, but instead display off to the side in the margin.
So my objective was to use the existing kramdown pipes and generate the footnotes, but display them off to the side in the margin instead of at the bottom.
Pulling this off is tricky with pure CSS but is baby talk for javascript. So I pulled out my trusty old jQuery2 chops and got this fun side project done.
Typesense is a fast, typo-tolerant search engine for building delightful search experiences.
Features
Typo Tolerance: Handles typographical errors elegantly, out-of-the-box.
Simple and Delightful: Simple to set-up, integrate with, operate and scale.
zap Blazing Fast: Built in C++. Meticulously architected from the ground-up for low-latency (<50ms) instant searches.
Tunable Ranking: Easy to tailor your search results to perfection.
Sorting: Sort results based on a particular field at query time (helpful for features like "Sort by Price (asc)").
Faceting & Filtering: Drill down and refine results.
Grouping & Distinct: Group similar results together to show more variety.
Scoped API Keys: Generate API keys that only allow access to certain records, for multi-tenant applications.Synonyms: Define words as equivalents of each other, so searching for a word will also return results for the synonyms defined.Curation & Merchandizing: Boost particular records to a fixed position in the search results, to feature them.
Raft-based Clustering: Setup a distributed cluster that is highly available.
Seamless Version Upgrades: As new versions of Typesense come out, upgrading is as simple as swapping out the binary and restarting Typesense.
A Docker build for Solr, to manage the official Docker hub solr image
Solr is the popular, blazing-fast, open source enterprise search platform built on Apache Lucene™.
A research project I spent time working on during my master’s required me to scrape, index and rerank a largish number of websites. While Google would certainly offer better search results for most of the queries that we were interested in, they no longer offer a cheap and convenient way of creating custom search engines.
This need, along with the desire to own and manage my own data spurred me to set about finding a workflow for retrieving decent results for search queries made against a predefined list of websites. That workflow is described here, providing what I hope shall serve as a useful reference for how to go about setting up a small search engine using free and open-source tools.
Note:
• The instructions here assume that you use some UNIX-like operating system (Linux, MacOS, *BSD).
• Any Python code has only been tested using Python 3.7 (The clock is ticking).
• Any code provided is free to use under the MIT license.
Austrian Whovians: The Day of The Doctor will be shown at Hayden Kino! http://t.co/5ZCxRVnueY #blog
Kennt Fr. Glawischnig Ihr eigenes Wahlprogramm? http://t.co/GqL4Sp7wH0 #rant #blog #fb
Zusammenfassung der Social Media-Angebote (Soziale #Netzwerke, #Blog, #Foren, #Videoportale)) von #Microsoft im Überblick: http://ow.ly/17fDL