malijaffri

@malijaffri@feddit.ch

This profile is from a federated server and may be incomplete. Browse more on the original instance.

malijaffri,

Yeah, same for me. Does anyone know a way to export the profile through an API? Because the API seems to be working, at least, as I can see these post and respond to them.

Or if there is some other way to access the site, that’d be helpful as well

malijaffri,

I used the LemmyHTTP Nodejs module to connect to the API, and after a few tries, got it working. I could post my code in an hour, if you want it.

edit: docs: join-lemmy.org/api/index.html

malijaffri, (edited )

I got it working in shell as well:


<span style="font-style:italic;color:#969896;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#62a35c;">read </span><span style="color:#323232;">-p </span><span style="color:#183691;">"Username: "</span><span style="color:#323232;"> user
</span><span style="color:#62a35c;">read </span><span style="color:#323232;">-p </span><span style="color:#183691;">"Password: " </span><span style="color:#323232;">-s pass
</span><span style="color:#62a35c;">read </span><span style="color:#323232;">-p </span><span style="color:#183691;">"TOTP: "</span><span style="color:#323232;"> totp
</span><span style="color:#323232;">
</span><span style="color:#323232;">res</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">$(</span><span style="color:#323232;">curl </span><span style="color:#183691;">
</span><span style="color:#323232;">    --request</span><span style="color:#183691;"> POST 
</span><span style="color:#323232;">    --url </span><span style="color:#183691;">"https://feddit.ch/api/v3/user/login" 
</span><span style="color:#323232;">    --header </span><span style="color:#183691;">'accept: application/json' 
</span><span style="color:#323232;">    --header </span><span style="color:#183691;">'content-type: application/json' 
</span><span style="color:#323232;">    --data </span><span style="color:#183691;">'{"username_or_email":"'$</span><span style="color:#323232;">user</span><span style="color:#183691;">'","password":"'$</span><span style="color:#323232;">pass</span><span style="color:#183691;">'","totp_2fa_token":"'$</span><span style="color:#323232;">totp</span><span style="color:#183691;">'"}')
</span><span style="color:#323232;">
</span><span style="color:#323232;">jwt</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">$(</span><span style="color:#62a35c;">echo </span><span style="color:#183691;">$</span><span style="color:#323232;">res </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">sed -re </span><span style="color:#183691;">'s/^.*"jwt":"([^"]*)".*$/1/')
</span><span style="color:#323232;">
</span><span style="color:#323232;">curl 
</span><span style="color:#323232;">    --request GET 
</span><span style="color:#323232;">    --url </span><span style="color:#183691;">"https://feddit.ch/api/v3/user/export_settings" </span><span style="color:#323232;">
</span><span style="color:#323232;">    --header </span><span style="color:#183691;">'accept: application/json' </span><span style="color:#323232;">
</span><span style="color:#323232;">    --cookie </span><span style="color:#183691;">"jwt=$</span><span style="color:#323232;">jwt</span><span style="color:#183691;">" </span><span style="color:#323232;">
</span><span style="color:#323232;">    -o </span><span style="color:#183691;">"export.json"
</span>

I’d recommend echoing $res and $jwt before processing them further

Edit: if you don’t have TOTP enabled, don’t forget to remove it from the request

Docs: lemmy.readme.io/reference/post_user-login

Edit 2: added spacing

malijaffri,
malijaffri,

I have never encountered any double boss before in all my years playing PD*! And that’s actually saying something, because I play Shattered quite often. So, in my inexpert opinion, pretty darn small!

  • limited to Vanilla, Shattered, and Experienced. Also bits of Yet Another, for a little while about a year ago.
malijaffri,

Oh dang, this is the 4th floor? I didn’t even see that previously!

In that case, I’ve encountered double caustic slimes quite often, and wouldn’t really be surprised to encounter them at all.

malijaffri, (edited )

PARIS, Feb 26 (Reuters) - France’s President Emmanuel Macron said on Monday there was no consensus on sending troops to Ukraine, but the subject could not be ruled out.

“There is no consensus at this stage… to send troops on the ground,” Macron said after hosting some 20 countries allied to Ukraine.

“Nothing should be excluded. We will do everything that we must so that Russia does not win.”


Saved you a click. Yes, that’s it. That’s the entire “article”. A total of 4 sentences. What exactly was the point of writing such a short article?

Edit: pulled my head out of my ass.

malijaffri,

Noted. If this is what people expect (and/or want) from Reuters, then it’s none of my business how much they put in a single article. Have a nice day.

malijaffri,

After going through the paper, it’s not just “alien plant with eyes”, but rather “alien mimic plant with eyes”! This plant “sees” other plants around (above?) itself and changes the shape of its own leaves to match those of the other plant.

I wonder if the effect can be chained, and if so, how long the chain could be? I’m imagining an alien mimic plant with eyes mimicking an alien mimic plant with eyes mimicking an alien mimic plant with eyes mimicking the first alien mimic plant with eyes.

malijaffri,

Not sure if this is the one you’re referring to, but NileRed made a video on this:

youtu.be/h8OB-GKWjrc

malijaffri,

Piggybacking onto this to mention my go-to online RegEx editor: RegExr. It lets you test the regex as you type, explains the particular symbols used, as well as has a sidebar where you can see different pattern types categorically. I’ve been using it for almost 2 years now, and haven’t had any reason to use much else (after I discovered this).

malijaffri,

I don’t want anything out of this for myself, as I currently have enough on my plate as it is. I’m just commenting to boost engagement. I love that you’re doing this, though! Happy holidays, everyone! *<|:-)

malijaffri,

Thanks for being awesome, _Frog! And happy holidays to everyone!

malijaffri,

Also Joplin! It’s a cross-platform Markdown notes app with many syncing options (including local storage, Dropbox, Nextcloud, and others). I’ve been using it for 2 years now, after trying different apps to see what fits. I’ve been using local storage and Syncthing to keep my Android phone and Linux PC synced, and really like it. It even lets you use an external text editor to edit your notes!

malijaffri,

I agree with this completely! I am also not generally a fan of such gatekeeping, but in cases like these I feel that it is not just justified, but rather necessary.

I once asked the admin and … a defederation of such instances is not seen as an action to take.

Could you please rephrase? Not sure I understand this properly. What I think I understand is that the instance admin is not a big fan of defederation. Is that correct?

malijaffri,

I also use Feeder, and have been using it for about a year now. There is no way to delete a single post without deleting the entire feed. What is probably happening is that you have disabled “Read” articles in the filter:

https://ibb.co/MgYxHtL

<details><summary>Alt Text</summary>Screenshot of Feeder main screen. Shows filter menu opened displaying checkboxes “Unread”, “Saved”, “Recently Read”, and “Read”. All options are checked.</details>

I'm locked out of my 6 year old Chipotle account because they now say my email address is invalid when I login. Here is me asking for their help: (lemmy.world)

I also reached out to them on Twitter but they directed me to this form. I followed up with them on Twitter with what happened in this screenshot but they are now ignoring me.

malijaffri, (edited )

That is a scarecrow.

Edit:

spoiler, contextI just went back to the song and watched it again, which turned into a Bo Burnham marathon. He is absolutely amazing!

malijaffri,

Basically anything in !unixporn

Ricing refers to modifying your system to make it look cool. The term comes from street racing, where it basically meant improving perceived performance using cosmetics like spoilers and hood ornaments and stuff. Mostly form over function.

Also, if you don’t mind visiting, you’ll see more of what I mean over here:

old.reddit.com/r/unixporn

malijaffri,

Please DM me the name too, if you don’t mind. Thanks!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • khanakhh
  • InstantRegret
  • GTA5RPClips
  • magazineikmin
  • thenastyranch
  • rosin
  • Youngstown
  • tacticalgear
  • slotface
  • ngwrru68w68
  • Durango
  • kavyap
  • DreamBathrooms
  • Leos
  • osvaldo12
  • everett
  • cubers
  • mdbf
  • cisconetworking
  • tester
  • normalnudes
  • anitta
  • ethstaker
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines