Email or username:

Password:

Forgot your password?
✨jes✨

FYI, when a website erases your text that you just spent an hour writing, you can use this little trick to recover it 99% of the time:

1. find the firefox pid

$ pgrep -l firefox

2. attach gdb to firefox and dump its core

$ sudo gdb <pid>
gcore firefox.dump
<this takes awhile>
quit
<firefox dies>

3. find your lost text in the coredump

$ strings firefox.dump | grep "a unique word/sentence from ur text"

i just did this today to recover a long post i wrote, and figured i'd show others!! :uxn:

183 comments
dewomser

@j3s
$ sudo gdb -p <pid>
and it works for me
Linux Manjaro

Andrea De Pirro

@j3s I was burned so many times that I always use a text editor and copy-paste it to the browser. It's like the habit to name any file with underscores instead of spaces.

spooky blip 👻

@j3s I missed this when you wrote it but omg WHAT this is incredible. thank you!

spooky blip 👻

@j3s could you maybe add this to a blog post / wiki page / etc that I can permalink and bookmark for future reference? this is really helpful as one who breaks the shit out of software constantly.

Y⃒̸̷̝̜̙ͥͥͥngmar

@j3s Neat. I mostly resort to an alternative solution for this exact problem though:

1. Yell "Fuck you and your piece of shit website".
2. Close tab
3. Do some woodworking, sew clothes, plant trees, grow crops, help refugees, etc.

Dusty Pomerleau

@j3s @janriemer TIL about `pgrep`!

In the past I would have done:

ps -ax | rg firefox

aburka 🫣

@dpom @j3s @janriemer I still usually do that one because pgrep only gives you the PID. So if there are multiple results you don't get any hints which is which

Daniel

@dpom @j3s @janriemer If you didn't know about its buddy pkill, you do now! Basically the same arguments as pgrep but does what you would expect :)

littlewing

@j3s What about editing your long post in Notepad++ first, then copy & paste it into the browser's editing window?

alys

@j3s if you're worried about losing text you entered in the future, also try an extension like addons.mozilla.org/en-US/firef. unfortunately, it's a bit clunky

Go Up