tome export

This commit is contained in:
Oliver Davies 2025-05-30 02:14:32 +01:00
parent 52278c3a53
commit 7a52afab5f
960 changed files with 3670 additions and 2229 deletions

View file

@ -82,15 +82,15 @@
],
"body": [
{
"value": "\n <p>As well as PHP, JavaScript, HTML, CSS, etc, I write a lot of Bash scripts.<\/p>\n\n<p>From <a href=\"/daily\/2022\/08\/15\/using-run-file-simplify-project-tasks\">project-specific run files<\/a> to CI pipelines, Dockerfiles and deployment scripts, Bash is used a lot in the ops side of software development.<\/p>\n\n<p>Today, though, I wrote <a href=\"https:\/\/github.com\/opdavies\/dotfiles.nix\/blob\/a1ef2d1402c9c607e7a3e4427ce125d0cabeddcd\/lib\/shared\/scripts\/export-video-list.nix#L12-L31\">a small Bash script for my personal laptop<\/a>.<\/p>\n\n<p>I store an archive of video files on an external hard drive of conference talks, courses, tutorials or live streams that I want to keep or rewatch, and found that I've sometimes downloaded the same videos more than once, with the same files on my laptop and hard drive.<\/p>\n\n<p>A few days ago, I was watching a video that I thought I'd save, but wasn't sure if I already had, so this script dumps the contents of my hard drive into a JSON file that I can easily browse or search through to see if I already have a video archived.<\/p>\n\n<p>The script is fairly simple and uses <code>tree<\/code> and <code>jq<\/code> to display and format the data before saving it to a file on my laptop.<\/p>\n\n<p>When I need to update the file, I plug in the hard drive and run it again.<\/p>\n\n<p>A simple problem, and not something related to a particular project, but something I was able to solve with a Bash script.<\/p>\n\n ",
"value": "\n <p>As well as PHP, JavaScript, HTML, CSS, etc, I write a lot of Bash scripts.<\/p>\n\n<p>From <a href=\"\/daily\/2022\/08\/15\/using-run-file-simplify-project-tasks\">project-specific run files<\/a> to CI pipelines, Dockerfiles and deployment scripts, Bash is used a lot in the ops side of software development.<\/p>\n\n<p>Today, though, I wrote <a href=\"https:\/\/github.com\/opdavies\/dotfiles.nix\/blob\/a1ef2d1402c9c607e7a3e4427ce125d0cabeddcd\/lib\/shared\/scripts\/export-video-list.nix#L12-L31\">a small Bash script for my personal laptop<\/a>.<\/p>\n\n<p>I store an archive of video files on an external hard drive of conference talks, courses, tutorials or live streams that I want to keep or rewatch, and found that I've sometimes downloaded the same videos more than once, with the same files on my laptop and hard drive.<\/p>\n\n<p>A few days ago, I was watching a video that I thought I'd save, but wasn't sure if I already had, so this script dumps the contents of my hard drive into a JSON file that I can easily browse or search through to see if I already have a video archived.<\/p>\n\n<p>The script is fairly simple and uses <code>tree<\/code> and <code>jq<\/code> to display and format the data before saving it to a file on my laptop.<\/p>\n\n<p>When I need to update the file, I plug in the hard drive and run it again.<\/p>\n\n<p>A simple problem, and not something related to a particular project, but something I was able to solve with a Bash script.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>As well as PHP, JavaScript, HTML, CSS, etc, I write a lot of Bash scripts.<\/p>\n\n<p>From <a href=\"/daily\/2022\/08\/15\/using-run-file-simplify-project-tasks\">project-specific run files<\/a> to CI pipelines, Dockerfiles and deployment scripts, Bash is used a lot in the ops side of software development.<\/p>\n\n<p>Today, though, I wrote <a href=\"https:\/\/github.com\/opdavies\/dotfiles.nix\/blob\/a1ef2d1402c9c607e7a3e4427ce125d0cabeddcd\/lib\/shared\/scripts\/export-video-list.nix#L12-L31\">a small Bash script for my personal laptop<\/a>.<\/p>\n\n<p>I store an archive of video files on an external hard drive of conference talks, courses, tutorials or live streams that I want to keep or rewatch, and found that I've sometimes downloaded the same videos more than once, with the same files on my laptop and hard drive.<\/p>\n\n<p>A few days ago, I was watching a video that I thought I'd save, but wasn't sure if I already had, so this script dumps the contents of my hard drive into a JSON file that I can easily browse or search through to see if I already have a video archived.<\/p>\n\n<p>The script is fairly simple and uses <code>tree<\/code> and <code>jq<\/code> to display and format the data before saving it to a file on my laptop.<\/p>\n\n<p>When I need to update the file, I plug in the hard drive and run it again.<\/p>\n\n<p>A simple problem, and not something related to a particular project, but something I was able to solve with a Bash script.<\/p>\n\n ",
"processed": "\n <p>As well as PHP, JavaScript, HTML, CSS, etc, I write a lot of Bash scripts.<\/p>\n\n<p>From <a href=\"http:\/\/default\/daily\/2022\/08\/15\/using-run-file-simplify-project-tasks\">project-specific run files<\/a> to CI pipelines, Dockerfiles and deployment scripts, Bash is used a lot in the ops side of software development.<\/p>\n\n<p>Today, though, I wrote <a href=\"https:\/\/github.com\/opdavies\/dotfiles.nix\/blob\/a1ef2d1402c9c607e7a3e4427ce125d0cabeddcd\/lib\/shared\/scripts\/export-video-list.nix#L12-L31\">a small Bash script for my personal laptop<\/a>.<\/p>\n\n<p>I store an archive of video files on an external hard drive of conference talks, courses, tutorials or live streams that I want to keep or rewatch, and found that I've sometimes downloaded the same videos more than once, with the same files on my laptop and hard drive.<\/p>\n\n<p>A few days ago, I was watching a video that I thought I'd save, but wasn't sure if I already had, so this script dumps the contents of my hard drive into a JSON file that I can easily browse or search through to see if I already have a video archived.<\/p>\n\n<p>The script is fairly simple and uses <code>tree<\/code> and <code>jq<\/code> to display and format the data before saving it to a file on my laptop.<\/p>\n\n<p>When I need to update the file, I plug in the hard drive and run it again.<\/p>\n\n<p>A simple problem, and not something related to a particular project, but something I was able to solve with a Bash script.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "1970-01-01T00:33:45+00:00",
"imported": "1970-01-01T00:32:50+00:00",
"guid": null,
"hash": "d8356a3f3c57c5eb0702b65d33904107",
"target_type": "feeds_feed",