• 2 Posts
  • 18 Comments
Joined 1Y ago
cake
Cake day: Aug 22, 2023

help-circle
rss

I only use Torrent with Transmission because that’s what is sitting in my server.


Do companies know that it’s just a fucking HTTP client? You compete with curl smh



Fuck docstring or JSDoc. This is clearly the way.


I am not that familiar with browser extensions dev enough to contribute rn but that looks awesome. If there’s any chance, I’ll definitely contribute!


I wrote hacky tampermonkey script to fix Lemmy instance links. Any advice?
Read [this post](https://sh.itjust.works/post/5556588) and wrote a simple Tampermonkey script as a solution. ``` // ==UserScript== // @name Fix community link // @version 0.1 // @description try to take over the world! // @match https://sh.itjust.works/post/* // ==/UserScript== (function() { 'use strict'; const postLinks = document.getElementById("postContent").querySelectorAll("a:not(.community-link)") // get every links that is NOT a community link const fixLink = (aTags) => { for (let aTag of aTags) { const isCommunityLink = aTag.pathname.startsWith("/c/"); aTag.href = isCommunityLink?aTag.pathname + "@" + aTag.host:aTag.href }; } fixLink(postLinks) const comments = document.getElementsByClassName("comment-content"); for (let comment of comments) { let commentLinks = comment.querySelectorAll("a:not(.community-link)"); fixLink(commentLinks) } })(); ``` Any advice? I especially hate the fact that the way to check if it's a link for lemmy community is through pathname but I thought there's can't be a real solution besides listing all the lemmy instances or actually making a request somehow. Any inputs are welcome!
fedilink


Sorry not answering your quetion but that sounds like a complete nightmare to me.


Any specific reason to use “Nextcloud”? You can always just use SMB or something along that.


Zerotier or Tailscale is for you. I personally use Zt but the recent update with Mullvad support really empowers Tailscale.


Am I wrong to think that if you are REALLY crippled by the “slow speed” of node, you just shouldn’t be using JS from the beginning?



You use typescript to type check. I just put :any to anything. We are not the same.


Yes.

Again, it’s just a markdown. You can do this:

![desc](path/to/file.mp4)

Cannot recommend Obsidian enough. Just plain Markdown, but infinite times more powerful. I use it for just that and it’s been damn perfect.



What are your thoughts on Skeleton(Svelte)?
I just saw their recent update and it's quite impressive. Not the biggest fan of Tailwind but it definitely seems to make svelte development faster and less painful (not that it's any more painful than it should be).
fedilink

Virgin GPL license: Your source code should also be open

Chad WTFPL user: yes do what the fuck you want