Never finished...
Never finished...
// Meilisearch is setting the document for you, this way. | |
let doc = #{ title: "star wars" }; | |
print(doc); | |
// -- script starts here -- | |
fn to_title_case() { | |
let title_cased = ""; | |
let must_upper_case = true; |
[ | |
{ | |
"bindings": { | |
"cmd-shift-[": "pane::ActivatePrevItem", | |
"cmd-shift-]": "pane::ActivateNextItem", | |
"ctrl-pagedown": "pane::ActivatePrevItem", | |
"ctrl-pageup": "pane::ActivateNextItem", | |
"ctrl-shift-tab": "pane::ActivateNextItem", | |
"ctrl-tab": "pane::ActivatePrevItem", | |
"cmd-+": "zed::IncreaseBufferFontSize" |
# Create an API KEY there: https://pushover.net/apps/build | |
# Find your user TOKEN here: https://pushover.net | |
# | |
# Note that the `title` field is optional and don't forget to put double quotes | |
# around your argument when calling this function. | |
# | |
# Here is a small example of pipping logs through pushover: | |
# | |
# nohup tail -f nohup.out | while read l; do pushover "$l"; done & | |
# |
/* | |
* par_build_tree.cpp | |
* | |
* Move this in the examples folder of Annoy and compile it like the other c++ example. | |
* | |
* Created on: Dec 6, 2023 | |
* Author: Clément Renault | |
*/ |
{} |
//! A small program that computes the stats of an LMDB Meilisearch index. | |
//! | |
//! ```cargo | |
//! [dependencies] | |
//! anyhow = "1.0.71" | |
//! clap = { version = "4.3.5", features = ["derive"] } | |
//! heed = "0.20.0-alpha.1" | |
//! ``` | |
use std::path::PathBuf; |
We extract the movie titles along with the crew names and much more. You can also look at what BurntSushi have done for renaming series titles. The original IMDb datasets (TSVs) can be found on there official documentation.
We use the imdb-sqlite
python script to help us do that. The command line generates an SQLite database in the imdb.db
file.
pip install imdb-sqlite
fswatch --exclude '.git' --exclude 'target' . | while read num; do | |
rsync -azP --exclude=.git --exclude=target -e 'ssh -i ~/.ssh/id_rsa' . root@xxx.xxx.xxx.xxx:<DEST> | |
done |
/// An adapter function that returns an iterator associated | |
/// to a boolean indicating if this is the first item returned. | |
/// | |
/// https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=7ea95cd91a26de21c680ad7de8669c8d | |
/// | |
/// ``` | |
/// let words = ["Hello", "world", "!"]; | |
/// let mut iter = is_first(&words); | |
/// | |
/// assert_eq!(iter.next(), Some((true, "Hello"))); |