Emotet 1 day ago • 100%
Great points.
Regular solar cells with better efficiency are already are thing, even in a compact travel format or as a novelty part of some electric cars. Those are cheap to produce, but still aren't practical at all, unless we're talking about something like a 2m² solar panel to charge a phone in a somewhat reasonable time on a very sunny day in an off-grid situation.
Using transparent solar cells additionally to regular ones in buildings instead of windows is pretty much the only reasonable application I can think of right now, but with a visible transmittance of 20% that's kinda farfetched as well.
Emotet 2 days ago • 100%
Das stimmt bei richtiger Verwendung schlichtweg nicht und es nützt niemandem, wenn man falsche Informationen herausposaunt. Wie auch im Artikel zu lesen, fand die timing attack auf üblichem Wege, gerade fürs deutsche Rechtssystem aber äußerst kontrovers statt:
Zur finalen Identifikation verpflichtete das Amtsgericht Frankfurt am Main schließlich den Provider Telefónica, unter allen o2-Kundinnen und -Kunden herauszufinden, wer von ihnen sich zu einem der identifizierten Tor-Knoten verband.
Bei einer Timing Attack werden, wie der Name schon sagt, Zugriffszeiten und möglichst viele (Meta-)Daten zu bestimmten Paketen statistisch abgeglichen. So kann man auch ohne direkten Zugriff auf die Daten bei ausreichender Datenlage feststellen, wer mit wem kommuniziert.
Hier wurde schlichtweg jeder o2 Kunde in Deutschland erstmal pauschal überwacht, ob er nicht mit einem bestimmten Server Kontakt aufnimmt. Um dem entgegenzuwirken, kann man natürlich erst einmal über einen (no log) VPN Provider gehen, um gar nicht erst zugeordnet werden zu können.
Emotet 3 days ago • 100%
Emotet 1 week ago • 100%
Yup. A variation of the quote (basically capitalists instead of American businessmen) is commonly attributed to Lenin instead of Khrushchev. But that, too, can't be verified and is said to be fake.
Emotet 2 weeks ago • 100%
Gotta be honest, that's a pretty shitty article that suggests that Tesla built a train. They did not.
Tesla funded an employee shuttle to one of their factories by leasing a standard Siemens Miero B.
Emotet 2 weeks ago • 100%
Instead of waiting for a zombie fungus to evolve into something that can infect humans, they decided to cut out the middleman and made cyborg mushrooms.
Emotet 2 weeks ago • 100%
Emotet 3 weeks ago • 100%
Buying a domain. There might be some free services that, similar to DuckDNS in the beginning, work reliably for now. But IMHO they are not worth the potential headaches.
Emotet 3 weeks ago • 100%
DuckDNS pretty often has problems and fails to propagate properly. It's not very good, especially with frequent IP changes.
Emotet 3 weeks ago • 95%
Random guy with no affiliation to crypto and only a vague understanding of monero from another instance here, who saw the post on /all.
Most people stumbling over posts like this probably see yet another shady cryptocurrency and aren't interested or even actively dislike it, resulting in downvotes. Calling people "grudgeful bitfags" and "overly-sensitive leftist fediverse dwellers" probably doesn't help all that much either, neither do comments that attribute a general disinterest to a "very successful psyop by the CIA to make crypto look like a scam".
Emotet 3 weeks ago • 100%
Damn, that's wild. Cheers for sharing!
Emotet 3 weeks ago • 100%
I have an understanding of the underlying concepts. I'm mostly interested in the war driving. War driving, at least in my understanding, implies that someone, a state agency in this case, physically went to the very specific location of the suspect, penetrated their (wireless) network and therefore executed a successful traffic correlation attack.
I'm interested in how they got their suspects narrowed down that drastically in the first place. Traffic correlation attacks, at least in my experience, usually happen in a WAN context, not LAN, for example with the help of ISPs.
Emotet 3 weeks ago • 100%
Sounds interesting, got any links for further reading on that?
I can't quite connect the dots between wifi/internet traffic spikes when IRC is so light on traffic that it's basically background noise and war driving.
Emotet 3 weeks ago • 95%
Nice message, but the thought of the existence of a competitive scene of contractors specializing in mounting TVs is hilarious. Also, that mounting plate is crooked af.
Emotet 4 weeks ago • 100%
Emotet 4 weeks ago • 84%
Windows, as any operating system, is best run in a context most useful to the user and appropriate for the user's technical level.
- Need to run Windows apps/games and aren't afraid to tinker around if and when something doesn't work as expected or your software simply isn't supported? WINE/Proton.
- Need to run mostly light Windows apps and don't want to tinker around? VM.
- Need to run Windows apps/games that don't rely on Kernel-Level Anti-Cheat, want direct hardware access and aren't afraid to tinker around, especially if you only have one GPU, and when something doesn't work as expected? KVM
- Need to run any Windows app/game without things constantly breaking or the need to tinker around and staying on top of things? Dual-Boot from different disks, utilize LUKS/FDE and be done with it.
Emotet 4 weeks ago • 100%
I do, there's a whole team behind that channel and I've linked the second revision of their test. The first revision had some issues and they've gone ahead and fixed those to present a truly competent and unbiased testing.
Personally, I'd still treat those as suggestions and, depending on your use case (especially considering convenience of setup and the need for special phone cases) and budget, there are a lot of cheaper options that work perfectly fine, as well. I've got a 10 bucks no-name screw clamp style phone mount on my city bike and it's been rock solid. Wouldn't trust it in a downhill setting, though.
Emotet 4 weeks ago • 100%
Basically all you need to know about different phone mounts/styles and how they hold up stabilitywise even in rough conditions is presented in this excellent FortNine Video.
Emotet 1 month ago • 83%
Why do you keep stating blatantly false info as facts when it is obvious that you're knowledge of the topic at hand is superficial at best?
In this comment thread alone you've stated that:
- to avoid "Google Android", one should use Lineage OS (?)
- Apps on Lineage are some kind of separated on Lineage OS and not abandonware (??)
- Lineage OS is not terrible for security, because you haven't found anything wrong with it besides that small little, insignificant detail of an unlocked bootloader (???)
- DivestOS has "all the same issues" as GrapheneOS(????)
Genuinely not trying to stir up shit, I'm curious. Why?
Emotet 1 month ago • 100%
It's great that it works for you and that you strive to spread your knowledge. Personally, I'm quite happy with my DNS filtering/uBlock Origin and restrictive browser approach and already employ alternatives where feasible in my custom use case.
Thanks for your offer, though!
Emotet 1 month ago • 99%
15-20 years ago, I'd have agreed with you. But apart from a select few news sites and exceedingly rare static sites, what percentage of websites most users use day to day actually function even minimally without JavaScript?
I'm convinced that in practice, most users would be conditioned to whitelist pretty much every site they visit due to all the breakage. Still a privacy and security improvement, but a massive one? I'm not sure.
Very happy to be convinced otherwise.
Emotet 1 month ago • 100%
I wrote a simple, locally running Webapp some time ago, that targets the Lemmy Import-/Export-API and supports transferring only specific userdata between accounts, as demonstrated in this corresponding Wiki Entry.
The import functionality in Lemmy is additive in nature, meaning anything you import gets added on top of existing settings instead of replacing it.
Does the same thing as these manual instructions for this usecase, may be helpful to some.
Emotet 2 months ago • 50%
Ehhh.
Yeah, compared to a few years ago, it's very much improved and a lot of games, especially those on Steam, run pretty good and in rare cases even better than on their native platform, Windows.
But the pretty much broken state of VR support combined with some annoying bugs that are very hard to troubleshoot even for advanced users, the decision by most AAA and even some smaller studios to actively block Linux clients in multiplayer games via anti-cheat measures and the usual Linux fuckery of HDR, VRR (which hopefully will get better now that Wayland is getting there) and some NVIDIA fuckery (which is also getting better) leads to the following conclusions for me:
- Linux Gaming is improving.
- If all you play are some indie titles and/or single-player titles, you may be good.
- If you want to play in VR, most popular multiplayer titles and rely on features such as HDR and VRR, you'll still need to dual boot into Windows.
I'm very much looking forward to the day when I can fully banish Windows, at least from my private machines. I'm very tolerant towards debugging and living on the bleeding edge, if that is needed. But I don't see the need for Windows for PC gaming to go away anytime soon for most users and, frankly, writing love letters to Linux Gaming without mentioning even some hurdles can, has and will take new Linux users by surprise and turn them off. Communicating transparently, so the user can make their own informed decisions, is a better strategy.
Emotet 2 months ago • 100%
What fer0n probably was hinting at (and I agree with): Yeah, there are some people, especially concentrated in bubbles like Lemmy, who care a lot about privacy, security, ownership (soft and hard) and all that good stuff.
But if, for example, Meta releases a product for price x and a privacy-conscious company releases functionally the same product, but with a truly open system, for 200 bucks more, most people outside our bubble (and even a lot inside) will buy the Meta product.
Why?
Because they don't care about anything but short-term functionality. And, in a lof of minds, if they'll get the same functionality for cheaper elsewhere, they'd be pretty stupid to not buy that one.
Folks in general couldn't give less of a fuck about their privacy and ethics in products and services they buy and use. Usability, Features and Service reign supreme.
Emotet 2 months ago • 100%
Meta Horizon OS is Android. Full of bloat and telemetry, but Android nonetheless. Unlocking ADB and sideloading isn't trivial, but officially supported.
Emotet 2 months ago • 90%
Emotet 2 months ago • 63%
if you've flown for 12 hours with all that entails to go to the US (for a reason) and are presented with the choice of unlocking your phone or be denied entry, you will cooperate. Especially if you moved all your sensitive info beforehand.
Emotet 2 months ago • 66%
I'd appreciate it very much!
Emotet 2 months ago • 50%
Great suggestion to secure the backups themselfes, but I'm more concerned about the impact an attacker on my network might have on the external network and vice versa.
Emotet 2 months ago • 66%
That'd be the gold standard. Unfortunately, the external network utilizes infrastructure that doesn't support specifying firewall rules on the existing separate VLAN, so all rules would have to be applied on the Pi itself or on yet another device between, which is something I'd like to avoid. Great general advice, though!
I'm strongly considering adding another backup location in the form of an old Raspberry Pi and a USB HDD. I want the Pi to exclusively use the available network to connect to my Wireguard Server, so other devices (local to the Wireguard Server and remote connected to the server) can use it as a secondary backup location. I'm kind of worried about a scenario, where my network is compromised and, through the VPN connection of the Pi in the external network, the external network is as well. What are the best practices to secure such a setup?
Emotet 2 months ago • 100%
Der primäre Grund für die Tools ist die Tatsache, dass feddit.de seit Monaten quasi unbetreut und zumindest teilweise nicht mehr nutzbar ist. Quasi eine Instanz im Sterben, welche die User deshalb verlassen.
lemmy.world ist dagegen eine stabile Instanz, die aktiv betreut wird. Solange du mit der Instanz zufrieden bist, gibt es keinen Grund, warum du umziehen müsstest.
Emotet 2 months ago • 87%
Yikes. Thanks for putting in the works and sharing your findings to you and @Nothing4You@programming.dev.
Emotet 2 months ago • 100%
If you share a WiFi connection with an attacker at a coffee shop, for example, there are certain attacks they can execute to see the unencrypted parts of your Internet communications (e.g., the domain names of the websites you visit) and interfere with your communications to carry out other advanced attacks against you. Typically, security experts recommend the use of a VPN to protect against attackers with whom you share a WiFi connection. Our research reveals that using a VPN opens you up to similar attacks from other VPN users with whom you share your VPN server. In the same way that the WiFi radio signal is a shared resource that makes users vulnerable to attacks, there is a shared resource on VPN servers called a port (each connection through the VPN server is assigned to a port). By carefully crafting packets from within the attacker’s own connection to the VPN server and from a remote Internet location controlled by the attacker, it is possible to carry out attacks on other VPN users who are using the same VPN server in a manner that is very similar to the attacks that could be carried out on shared WiFi. We call this attack primitive a port shadow because the attacker shadows their own information on a victim’s port as a shared resource, and this attack primitive can lead to snooping of unencrypted data, port scans, or connection hijacking.
Emotet 2 months ago • 100%
Ah. So Lemmy with version 0.19.4+ allows users to set a custom thumbnail URL for a post, which can be set to pretty much anything resembling a valid link, especially a link to another image in the local pictrs db and trigger a deletion of both when a minimum age check is passed.
Also this:
Except that the field allows some funny URLs e.g.
https://t.t/;';'%22;...[:%3C%3E?]%27;%20yaba%20daba%20doo
, if this is an issue too is not confirmed
Emotet 2 months ago • 100%
While this is a great approach for any business hosting mission critical or user facing ressources, it is WAY overkill for a basic selfhosted setup involving family and friends.
For this to make sense, you need to have access to 3 different physical locations with their own ISPs or rent 3 different VPS.
Assuming one would use only 1 data drive + an equal parity drive, now we're talking about 6 drives with the total usable capacity of one. If one decides to use fewer drives and link your nodes to one or two data drives (remotely), I/O and latency becomes an issue and you effectively introduced more points of failure than before.
Not even talking about the massive increase in initial and running costs as well as administrive headaches, this isn't worth it for basically anyone.
Emotet 2 months ago • 60%
This photo may have (unfortunately) won him the race.
Emotet 2 months ago • 100%
Dieses Foto hat ihm vielleicht die Wahl geschenkt.
Emotet 2 months ago • 75%
Aber das ist doch genau mein Standpunkt und widerspricht deinem Punkt, auf den ich geantwortet habe?
Emotet 2 months ago • 57%
Bei deinem ersten Punkt bin ich ganz bei dir.
Allerdings muss ich bei deinem zweiten Punkt widersprechen. Gesetzlich betrachtet sind E-Scooter Kraftfahrzeuge, unterliegen also den gleichen Vorschriften, welche auch auf Autos, Motorräder, etc. angewandt werden. Hier besonders relevant: Beim ersten mal be-/angetrunken mit >= 0,5 Promille werden 528,50 € fällig, man bekommt 2 Punkte und einen Monat Fahrverbot. Wird entsprechend härter, je öfter man erwischt wird oder wenn man >= 1,1 Promille im Blut hat.
Zum Vergleich: Beim Fahrrad gilt erst das Führen des Fahrzeugs ab 1,6 Promille als Straftat, was selbst dann keinen Fahrverbot mit sich zieht, sondern "lediglich" eine MPU. Das gilt analog auch für Pedelecs, also E-Bikes mit Trittunterstützung bis 25 km/h.
Ich persönlich sehe jetzt zwischen einem (E-)Bike und einem Roller keinen relevanten Unterschied, was das Gefahrenpotential bei betrunkenem Führen betrifft. Eher sehe ich Fahrräder noch als gefährlicher an, so muss man zwar treten statt einen Hebel zu betätigen, aber dafür fahren E-Scooter legal maximal 22 km/h (inklusive Toleranz) und bremsen bergab auch selbstständig weitmöglichst runter.
Nun kann man aufgrund dieser Sichtweise in zwei Richtungen gehen: Entweder die sehr harten Grenzen der E-Scooter auch auf Fahrräder anwenden oder andersherum. Ich bin ganz klar für letzteres.
Emotet 2 months ago • 100%
"Oi mate, I wonder if this codebase uses color or colour. Anyway, push to PROD. "
Currently, I have two VPN clients on most of my devices: - One for connecting to a LAN - One commercial VPN for privacy reasons I usually stay connected to the commercial VPN on all my devices, unless I need to access something on that LAN. This setup has a few drawbacks: - Most commercial VPN providers have a limit on the number of simulations connected clients - I either obfuscate my IP **or** am able to access resources on that LAN, including my Pi-Hole fur custom DNS-based blocking One possible solution for this would be to route all internet traffic through a VPN client on the router in the LAN and figuring out how to still be able to at least have a port open for the VPN docker container allowing access to the LAN. But then the ability to split tunnel around that would be pretty hard to achieve. I want to be able to connect to a VPN host container on the LAN, which in turn routes all internet traffic through another VPN client container while allowing LAN traffic, but still be able to split tunnel specific applications on my Android/Linux/iOS devices. Basically this: +---------------------+ internet traffic +--------------------+ | | remote LAN traffic | | | Client |------------------->|VPN Host Container | | (Android/iOS/Linux) | |in remote LAN | | | | | +---------------------+ +--------------------+ | | | | remote LAN traffic| | internet traffic split tunneled traffic| |-------- | | | v v | +---------------------------+ +---------------------+ v | | | regular LAN or | +-----------+ | VPN Client Container | | internet connection | |remote LAN | | connects to commercial VPN| +---------------------+ +-----------+ | | | | +---------------------------+ Any recommendations on how to achieve this, especially considering client apps for Android and iOS with the ability to split tunnel per application? **Update:** ~~Got it by following [this guide](https://www.linuxserver.io/blog/advanced-wireguard-hub).~~ Ended up modifying [this](https://www.linuxserver.io/blog/advanced-wireguard-container-routing) setup to have better control over potential IP leakage
[@elvith@feddit.org](https://feddit.org/u/elvith) und ich haben mehr oder weniger unabhängig zwei Web Apps entwickelt , welche beide bis auf gewisse Extrafeatures den Accountumzug so einfach wie möglich gestalten sollten: **https://stablenarwhal.github.io/Lemmy-Userdata-Migration/** Features: - Don't trust me or GitHub? Clone the project and host it yourself or run it locally ([Example in Wiki](https://github.com/StableNarwhal/Lemmy-Userdata-Migration/wiki/How-to-run-Lemmy%E2%80%90Userdata%E2%80%90Migration-locally)) - Export user data from any Lemmy instance (>=v0.19) - Download user data as a text file - Modify user data, e.g. to add or remove followed users/communites ([Example in Wiki](https://github.com/StableNarwhal/Lemmy-Userdata-Migration/wiki/How-to-only-export-transfer-a-part-of-my-user-data,-e.g.-blocked-instances%3F)) - "display_name" - "bio" - "avatar" - "banner" - "matrix_id" - "bot_account" - "settings" - "followed_communities" - "saved_posts" - "saved_comments" - "blocked_communities" - "blocked_users" - "blocked_instances" - Transfer user data to the target account on the target instance ___ **https://elvith-de.github.io/lemmy-migration/** Features: - Login and export settings from any Lemmy instance (e.g. feddit.de) - Optionally: Find local communities on the target instance that match followed communities - Optionally: Backup your settings to a file (can be imported on any Lemmy instance in your profile) - Login and import settings to any Lemmy instance (e.g. feddit.org)
[@elvith@feddit.org](https://feddit.org/u/elvith) und ich haben mehr oder weniger unabhängig zwei Web Apps entwickelt , welche beide bis auf gewisse Extrafeatures den Accountumzug so einfach wie möglich gestalten sollten: **https://stablenarwhal.github.io/Lemmy-Userdata-Migration/** Features: - Export user data from any Lemmy instance (>=v0.19) - Download user data as a text file - Modify user data, e.g. to add or remove followed users/communites ([Example in Wiki](https://github.com/StableNarwhal/Lemmy-Userdata-Migration/wiki/How-to-only-export-transfer-a-part-of-my-user-data,-e.g.-blocked-instances%3F)) - "display_name" - "bio" - "avatar" - "banner" - "matrix_id" - "bot_account" - "settings" - "followed_communities" - "saved_posts" - "saved_comments" - "blocked_communities" - "blocked_users" - "blocked_instances" - Transfer user data to the target account on the target instance ___ **https://elvith-de.github.io/lemmy-migration/** Features: - Login and export settings from any Lemmy instance (e.g. feddit.de) - Optionally: Find local communities on the target instance that match followed communities - Optionally: Backup your settings to a file (can be imported on any Lemmy instance in your profile) - Login and import settings to any Lemmy instance (e.g. feddit.org)
cross-posted from: https://slrpnk.net/post/10823519 > So I wrote a little web app that allows a user to move their user data, like settings and subscribed/banned communities, from one account/instance to another. > > It runs completely client-side, but is hosted on GitHub for the moment. Maybe it'll be of some use! Features: - Don't trust me or GitHub? Clone the project and host it yourself or run it locally ([Example in Wiki](https://github.com/StableNarwhal/Lemmy-Userdata-Migration/wiki/How-to-run-Lemmy%E2%80%90Userdata%E2%80%90Migration-locally)) - Export user data from any Lemmy instance (>=v0.19) - Download user data as a text file - Modify user data, e.g. to add or remove followed users/communites ([Example in Wiki](https://github.com/StableNarwhal/Lemmy-Userdata-Migration/wiki/How-to-only-export-transfer-a-part-of-my-user-data,-e.g.-blocked-instances%3F)) - "display_name" - "bio" - "avatar" - "banner" - "matrix_id" - "bot_account" - "settings" - "followed_communities" - "saved_posts" - "saved_comments" - "blocked_communities" - "blocked_users" - "blocked_instances" - Transfer user data to the target account on the target instance
So I wrote a little web app that allows a user to move their user data, like settings and subscribed/banned communities, from one account/instance to another. It runs completely client-side, but is hosted on GitHub for the moment. Maybe it'll be of some use! Features: - Export user data from any Lemmy instance (>=v0.19) - Download user data as a text file - Modify user data in the browser, e.g. to add or remove followed instances - Transfer user data to the target account on the target instance
An dieser Stelle reposte ich auch auf der neuen deutschen Main-Instanz zwei einfache Wege, um seinen User (Settings und abonnierte/geblockte Communities) von einer Lemmy Instanz auf eine andere umzuziehen, beispielsweise von feddit.de auf feddit.org, von meinem ursprünglichen Post unter feddit.de/c/main ( https://alexandrite.app/feddit.de/post/11325409) **_Update:_ Ich habe für die erhöhte Userfreundlichkeit noch eine Web Applikation erstellt, welche den Prozess so einfach wie möglich gestalten soll. Zu finden hier:** **https://stablenarwhal.github.io/Lemmy-Userdata-Migration/** Features: - Export user data from any Lemmy instance (>=v0.19) - Download user data as a text file - Modify user data in the browser, e.g. to add or remove followed instances - Transfer user data to the target account on the target instance ___ **_Update 2:_ [@elvith@feddit.org](https://feddit.org/u/elvith) hat auch eine Web Applikation mit ähnlicher Funktionalität entwickelt. Zu finden hier:** **https://elvith-de.github.io/lemmy-migration/** Features: - Login and export settings from any Lemmy instance (e.g. feddit.de) - Optionally: Find local communities on the target instance that match followed communities - Optionally: Backup your settings to a file (can be imported on any Lemmy instance in your profile) - Login and import settings to any Lemmy instance (e.g. feddit.org) ___ Weg 1, falls man noch einen Browser mit aktiver Session auf feddit.de hat: Lemmy bietet seit Version 0.19 eine Funktion an, um die user data zu ex- und importieren. Das geht normalerweise über einen Button in den Settings des Webinterfaces, das geht aktuell bei feddit.de nicht. Aber der zugrundeliegende API-Aufruf funktioniert noch, solange man noch mit einem Browser auf feddit.de eingeloggt ist: 1. Man gehe auf https://feddit.de/api/v3/user/export_settings und speichert die zurückgegebene Datei als **irgendwas.json** 2. Man nehme einen (neuen) Account auf einer stabilen Instanz der Wahl, gehe auf /settings und lade **irgendwas.json** über den Import-Button hoch. 3. Voilà, man genieße die neue Instanz. Das funktioniert mit jeder Instanz >=0.19, man muss lediglich das "feddit.de" in der URL ersetzen. Und wenn das Webinterface funktioniert, geht das auch über den Export- Button in den Settings. ___ Weg 2: Für die Leute, die keine offene Browser Session haben, hier ein kleines, aber funktionales Bash Script, welches im Ausführungsverzeichnis eine `myFedditUserData.json` erstellt, welche bei anderen Instanzen importiert werden kann. **Anforderungen**: - Linux/Mac OS X /Windows mit WSL - jq installiert (Unter Ubuntu/Debian/Mint z.B. per `sudo apt install -y jq` **Anleitung:** - Folgendes Script unter einem beliebigen Namen mit `.sh` Endung abspeichern, z.B. `getMyFedditUserData.sh` - Script in beliebigen Textprogramm öffnen, Username/Mail und Passwort ausfüllen (optional Instanz ändern) - Terminal im Ordner des Scripts öffnen und `chmod +x getMyFedditUserData.sh` ausführen (Namen eventuell anpassen) - `./getMyFedditUserData.sh` im Terminal eingeben - Nun liegt im Ordner neben dem Script eine frische `myFedditUserData.json` **Anmerkung:** Das Script ist recht simpel, es wird ein JWT Bearer Token angefragt und als Header bei dem GET Aufruf von https://feddit.de/api/v3/user/export_settings mitgegeben. Wer kein Linux/Mac OS X zur Verfügung hat, kann den Ablauf mit anderen Mitteln nachstellen. **Das Script:** ``` #!/bin/bash # Basic login script for Lemmy API # CHANGE THESE VALUES my_instance="https://feddit.de" # e.g. https://feddit.nl my_username="" # e.g. freamon my_password="" # e.g. hunter2 ######################################################## # Lemmy API version API="api/v3" ######################################################## # Turn off history substitution (avoid errors with ! usage) set +H ######################################################## # Login login() { end_point="user/login" json_data="{\"username_or_email\":\"$my_username\",\"password\":\"$my_password\"}" url="$my_instance/$API/$end_point" curl -H "Content-Type: application/json" -d "$json_data" "$url" } # Get userdata as JSON getUserData() { end_point="user/export_settings" url="$my_instance/$API/$end_point" curl -H "Authorization: Bearer ${JWT}" "$url" } JWT=$(login | jq -r '.jwt') printf 'JWT Token: %s\n' "$JWT" getUserData | jq > myFedditUserData.json ``` ___ [@elvith@feddit.org](https://feddit.org/u/elvith) hat mein Script auch in PowerShell nachgebaut, welches unter Windows ohne WSL auskommt: https://gist.github.com/elvith-de/89107061661e001df659d7a7d413092b ``` # CHANGE THESE VALUES $my_instance="https://feddit.de" # e.g. https://feddit.nl $target_file = "C:\Temp\export.json" ######################################################## #Ask user for username and password $credentials = Get-Credential -Message "Logindata for $my_instance" -Title "Login" $my_username= $credentials.UserName $my_password= $credentials.GetNetworkCredential().Password # Lemmy API version $API="api/v3" # Login function Get-AuthToken() { $end_point="user/login" $json_data= @{ "username_or_email" = $my_username; "password" = $my_password } | ConvertTo-Json $url="$my_instance/$API/$end_point" (Invoke-RestMethod -Headers @{"Content-Type" = "application/json"} -Body $json_data -Method Post -Uri $url).JWT } # Get userdata as JSON function Get-UserData() { $end_point="user/export_settings" $url="$my_instance/$API/$end_point" Invoke-RestMethod -Headers @{"Authorization"="Bearer $($JWT)"} -Method Get -Uri $url } $JWT= Get-AuthToken Write-Host "Got JWT Token: $JWT" Write-Host "Exporting data to $target_file" Get-UserData | ConvertTo-Json | Out-File -FilePath $target_file ```
1. Install the [Userscripts](https://apps.apple.com/us/app/userscripts/id1463298887) extension for Safari, open the app and go through the setup as instructed by the app. Don't forget to activate the extension for Safari. 2. After fully setting up the **Userscripts** extension, go to the [TwitchAdSolutions git repo](https://github.com/pixeltris/TwitchAdSolutions#scripts) and click on **userscript** next to **video-swap-new**. You can play around with **vaft** as well, but **video-swap-new** works way better on iOS in my experience. This script replaces ads with a lower resolution stream. 3. Install the script by opening the **Userscripts** extension in Safari while the script you opened in step 2 is the active tab and clicking the Install button. 4. Go to twitch.tv and enjoy your ad-free experience. Optional: - When you have the Twitch App installed, Safari displays the annoying "open in App" Bar on top of the website. This also leaks into Fullscreen Mode. To get rid of it, uninstall the Twitch App and optionally install another extension to remove those Bars altogether, like [Unsmartifier](https://apps.apple.com/us/app/unsmartifier/id1587069869). - Want 7TV/BTTV/FFZ features like Emotes or a customizable Twitch Experience? Install the [FFZ userscript](https://cdn.frankerfacez.com/script/ffz_injector.user.js), reload twitch.tv and configure your experience and/or install Add-ons like 7TV Emotes by clicking the new icon top right.
Using reddit without an account is a pain nowadays, especially with any commercial VPN. There are ways around that: Some of you may known the rather short-lived Libreddit, an awesome frontend for Reddit that got struck down by its success. Redlib is a (still working) fork of Libreddit with a few instances. Due to reddits API Limits, it's not very practical to rely on one instance. A quite elegant solution is the [Automatic Redlib Quota & Error Redirector](https://greasyfork.org/en/scripts/470863-automatic-redlib-quota-error-redirector) userscript. Once installed, most Redlib errors are automatically detected and your request gets redirected to another instance. This results in an excellent user experience, altough some instances can be a bit slow if you're trying to access media. The list of available Redlib instances the script uses gets updated quite frequently. The script also works nicely with redirect plugins, e.g. [this one for Firefox](https://addons.mozilla.org/en-US/firefox/addon/redlib/), if you want to automatically redirect all Reddit URLs to Redlib.