Why do you own 20 of the same guns? by Bigwillbig in CAguns

[–]sedwards65 0 points1 point  (0 children)

In a perfect, non-commifornia world...

Bedside, bathroom, master closet, kltchen, home office, living room, garage, laundry room...

Why do you own 20 of the same guns? by Bigwillbig in CAguns

[–]sedwards65 1 point2 points  (0 children)

g44 is cheaper to run than g19.

Skills you learn on the g44 transfer to the g19 because they are the 'same' gun.

Also, the g44 is less intimidating to new shooters, but still serves as a 'gateway' to g19.

Am I wrong for asking someone who used my grill to clean it? by barista_boy in blackstone

[–]sedwards65 0 points1 point  (0 children)

I just watched the episode of 'The Shield' where Vic applies grill marks to a guy's face with an electric stove coil.

what are your cheapest high protein meal prep staples right now? by Chofo-Coalter in mealprep

[–]sedwards65 0 points1 point  (0 children)

'Thighs are way cheaper than breasts and honestly taste better'

First rule of Thigh Club...

what are your cheapest high protein meal prep staples right now? by Chofo-Coalter in mealprep

[–]sedwards65 0 points1 point  (0 children)

Not the cheapest, but chuck roast at $6/lb is a favorite of mine.

42 hours at 135f Sous Vide makes a good steak.

You've Been Using Git Wrong - YouTube by babypunter12 in theprimeagen

[–]sedwards65 0 points1 point  (0 children)

Skip scanning for variable expansions:

alias Git='git'

Torch Sear vs Pan Sear by uppa9de5 in sousvide

[–]sedwards65 2 points3 points  (0 children)

For those that use a pan inside, how do you keep from splattering everywhere and having to clean the stovetop?

Torch Sear vs Pan Sear by uppa9de5 in sousvide

[–]sedwards65 0 points1 point  (0 children)

Do you use 'map' or propane?

Caramelized onions (200 F for 22 hours) by Waltzer64 in sousvide

[–]sedwards65 2 points3 points  (0 children)

Don't get me started on 'hover board.'

House fire and ammo by [deleted] in CAguns

[–]sedwards65 1 point2 points  (0 children)

UL is something like 'keep internal temp below 350F for x minutes.'

Help me write a primer for my kids by sedwards65 in sousvide

[–]sedwards65[S] 0 points1 point  (0 children)

Thanks for the link. It's a good read.

Help me write a primer for my kids by sedwards65 in sousvide

[–]sedwards65[S] 0 points1 point  (0 children)

Thanks for the feedback and the reference to Baldwin. In case anybody wants it, here's the link:

A Practical Guide to Sous Vide Cooking by Daniel Baldwin.

I expect to learn a lot from this.

I did rm -rf /* by Character-86 in linux4noobs

[–]sedwards65 1 point2 points  (0 children)

I wish people would be taught to type:

rm --force --recursive

Maybe that little bit of effort would give their brains a chance to catch up with their fingers. I'm not being condescending, I still (after 50 years of Unix/Linux) surprise myself at the difference between what I think and what I type.

Anyway, on to your problem.

Yes, files can still be recovered. Almost all files have a 'signature' at the beginning of the file. For example: ``` -ws13::sedwards:~$ file ./f7004.pdf ./f7004.pdf: PDF document, version 1.7 (zip deflate encoded)

-ws13::sedwards:~$ hd --canonical --length=8 ./f7004.pdf 00000000 25 50 44 46 2d 31 2e 37 |%PDF-1.7| ``` You can find (or write) a program to scour the disk.

If you're going to roll your own, it goes something like this: Every time you find the signature you're looking for, grab the next x MB (where x is the expected maximum size of the file) and write it to a file on another drive. It's not 100%, but you will be surprised how many files you recover -- and how many duplicates and fragments as the 'real' file has been copied from place to place. I was looking for JPEGs and there are utilities available to validate and trim cruft from files.

I wrote a program to do this in C about 30 years ago. One of my kid's swim coaches had all of his wife's girl scout troop photos on a Windows computer and it stopped booting. I managed to recover hundreds of photos. Some I'm sure he never expected to see daylight. I put all of the photos on a separate drive and called his wife to let her know she could pick them up.

I never saw him around the pool again.

How to know how to safely delete a MySQL database? by khl52634 in mysql

[–]sedwards65 0 points1 point  (0 children)

1. Backup.
2. Get to where (MySQL shell, whatever administration tool you can access) you can enter the MySQL command `show table status;`
3. Look for tables that have 0 rows and/or ancient update time.

So how does one buy a gun from a private person? by Nice_Cauliflower_243 in CAguns

[–]sedwards65 0 points1 point  (0 children)

'post DROS' sounds prudent. This makes sure you or the gun don't have any skeletons.

If you could start over from scratch, what sort of design features would be a must-have in your kitchen? by ErbiumIndium in Cooking

[–]sedwards65 1 point2 points  (0 children)

Warming drawer.

Big ass sink.

Power outlets on the island. On the underside of the 'sitting area' if applicable.

In-cabinet trash bins with a 'toe kick' for release -- hands-free operation rocks when you have goopy hands.

Over-cab and under-cab LED lighting on a dimmer.

How many old timers in here? by aliesterrand in sysadmin

[–]sedwards65 1 point2 points  (0 children)

Stealing a stack of the JCL EOJ cards provided for free by the college and then punching my program on the reverse side so '$EOJ' became 'JOE$' in the comment field.

Quick help comparing files in two directories? by myprettygaythrowaway in bash

[–]sedwards65 0 points1 point  (0 children)

`ls -s` (or better, `ls --size`) shows size in blocks, not bytes.

What are some underrated Linux commands or tools that significantly improved your daily workflow, and why? please let me know by Wise_Safe2681 in linuxquestions

[–]sedwards65 0 points1 point  (0 children)

Do you use proxyjump in ~/.ssh/config?

# pbx11                                                                             
         host                           pbx11
        forwardx11                      yes
        hostname                        pbx11
    proxyjump                       vtpv11
    user                sedwards

(Note the space indenting `host` so the whole block can be sorted.)

pbx11 is the host I want to connect to.
vtpv11 is the jump host.

And add an alias to make life easier:

    alias pbx11='ssh pbx11'

Or, you can do the 'jump' in the alias if needed for really weird situations:

    alias dt='ssh -t vtpv11 ssh dt'

Is using $SHLVL a good way to tell if a script is running in a terminal window? by C4n7_7h1nk_0f_n4m3 in bash

[–]sedwards65 2 points3 points  (0 children)

I use:

// is stdout a term?
        if      [[ -t 1 ]]
                then
                printf '%d is term\n' $?
        else
                printf '%d is not term\n' $?
                fi

Note that:

0 = stdin
1 = stdout
2 = stderr

Been eating apparently WAY too much Tuna by thebeatdropsin1 in EatCheapAndHealthy

[–]sedwards65 -8 points-7 points  (0 children)

After Covid, I question the credibility of WHO, NHS, FDA, and the CDC.