- Google takeout subscription and watch history
- convert the watch-history.html to history.json using the js script below
- upload to invidious
# Part one# Part one| #!/usr/bin/env python3 | |
| # Python implementation of Lars's Haskell based `pledge_model`. | |
| # https://github.com/brunjlar/pledging-model | |
| # | |
| # Install: | |
| # python -m pip install numpy argparse | |
| import random | |
| import numpy as np | |
| import argparse |
$ mkdir recover && cd recover
# 1. Save the recover.js javascript below as recover.js
# 2. Install prereqs
$ npm i cbor [email protected]
# 3. Create a password file with the password candidates, 1-per-line| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE DeriveAnyClass #-} | |
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE NoImplicitPrelude #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE TemplateHaskell #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE TypeFamilies #-} |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE DeriveAnyClass #-} | |
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE NoImplicitPrelude #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE TemplateHaskell #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE TypeFamilies #-} |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE DeriveAnyClass #-} | |
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE NoImplicitPrelude #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE TemplateHaskell #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE TypeFamilies #-} |
This gist describes how we can retrieve the cardano-node's build based on Github tags.
Unfortunately Hydra's API does not provide any easy way to get a build based on a git commit.
The first step is to
You must be able to run ss or lsof as root to gather the node-s PID in their ouput,
as I HIGHLY DO NOT RECOMMEND running a node and this script as root.
The easiest way is just add simmilar entries as the following into the /etc/sudoers or create a file under /etc/sudoers.d/
The /etc/sudoers example, but pls ensure that the path to those files are correct:
User_Alias SPO=spo,ahtn,shmn