sin_free_for_00_days

joined 2 years ago
The sun is the same in a relative way
    but you're older      <- Time, Pink Floyd

A friend of mine is a musician. About a decade or two ago I went over to his house and he said that he had to get a new fan to fix his computer. I asked him what was going on, so he turned it on and I heard that tick-tick-tick of the read head. I had to let him know it was his hard drive. He had a lot backed up, but not everything, and not the stuff he'd been working on the past couple weeks. Just a bummer. But he did set up a backup program after that.

I configured the newsboat rss reader for my youtube subscriptions, but you may want to configure another reader that allows you to download/watch videos. An alternative to @cow@lemmy.world's javascript code, you can go onto the homepage of a youtube channel, open up the page source and search for "rssurl". That will give you the rss feed for the channel.

A lot of readers can do this automatically. It really is nice to watch videos without any of the suggestions or ads. Also, if you use mpv to watch the videos, you can install a sponsorblock script that does away with the paid promotions in the video.

[–] sin_free_for_00_days@lemmy.one 1 points 2 years ago (1 children)

pdfimages is what you want, I believe. It's in the poppler-utils package in Debian.

That just brings me back to starting the compile, getting something to eat, doing chores, and whatever else. Then when it was finally done, booting it up only for it to not boot because I forgot some checkbox. Repeat a couple of times. Nights getting the thing working. And then on the next kernel release, trying to make sure I remembered all the checks because it didn't let you export the current config back then.

[–] sin_free_for_00_days@lemmy.one 2 points 2 years ago (1 children)

It's so fucking easy to do so. Even run it off a rented host.

That would be a pretty basic bash script, but as others have said, really not recommended.

You can also check out https://github.com/hnhx/librex I've used one of the listed sites several times and it's been acceptable.

[–] sin_free_for_00_days@lemmy.one 87 points 2 years ago (45 children)

If a website doesn't want me to see their shit, then I guess i won't see their shit. I already have some sites that don't work because of my aggressive use of lists on my pihole, in addition to the usual browser plugins. If a site doesn't work now, I just move on. I don't give a shit about any site enough to put up with this type of bullshit.

[–] sin_free_for_00_days@lemmy.one 0 points 2 years ago (1 children)

Yeah, I didn't think any of that would make a difference. It's just not showing under active scripts when I'm on lemmy.one

 

This is probably not the right place, but I figured I'd give it a try. I've been trying to copy this website so I could have offline access when tooling around the Channel Islands. I could (and probably will), just copy/paste whatever info I need for my little trips, but the fact that I can't copy it ass over is annoying the hell out of me. I've tried variations of wget -r ... as well as httrack with no success. Anyone have any idea how I can get this?

 

My Grey has taken to "falling" into tight places and it's kind of freaking me out. Clothes hamper, newly emptied trash can, behind the couch, etc. I've had the thing for 25+ years and this is new behavior. Although to be honest, like most of what he does, it's kind of funny.

 

Any idea for what to use as a media manager? I'm getting ready to go on a small trip and I would like to be able to import all my videos/pictures from an SD card and have them filed based on the meta data. At least by date. I've always done this manually and it's not awful, but there has to be a better way.

2
Using at command (lemmy.one)
submitted 2 years ago* (last edited 2 years ago) by sin_free_for_00_days@lemmy.one to c/bash@lemmy.ml
 

A lot of people haven't heard of the at command, and I just figured I'd post up a little bit about it. I use it as a semi-alarm clock type reminder.

Structure of command the way I use it:

echo "notify-send -u critical -t 0 'YOUR URGENT MESSAGE'" | at "2pm Jun 18"

I actually wrote a tiny function so that I don't have to remember the -u critical -t 0 part. That is to keep the notification box from timing out. Now tomorrow (June 18th) at 2pm, a message box will pop up with the text "YOUR URGENT MESSAGE".

There are options for running commands (like cron, but you don't have to edit, then delete your edit after running). It is great if you don't want to mess with cron, or another utility for a quick reminder.

My quick little function looks like this:

notify_me ()
{
    if [[ $# -ne 2 ]]; then
        echo 'Usage:  notify_me "message" time/date' 1>&2;
        echo '                   make sure to enclose message in quotes' 1>&2;
        echo "                   also enclose date if it's more than just a time" 1>&2;
        return;
    fi;
    echo "notify-send -u critical -t 0 '$1'" | at "$2"
}

So say I have to remind myself to call the wife when the work day is over. I'll do something like:

notify_me "Check with the ol' ball and chain" "4:45pm"

I'm sure if you wanted to, you could make a very quick zenity (or whatever you like) gui for it, if that's the way you roll. Now I'll get a nice little pop-up 15 minutes before I check out. Tiny little things like this are why I enjoy the command line so much.

For more uses, check out the man page, or the tldr. It's not complicated and I find it useful.

view more: next ›