SinTan1729

joined 4 months ago
[–] SinTan1729@programming.dev 22 points 3 days ago

I develop open-source code. But that never made me one of the “I hate proprietary software or IT giant corporations” types.

Maybe it should've.

[–] SinTan1729@programming.dev 1 points 3 days ago* (last edited 3 days ago)

I really love moonfly. It's mainly a (neo)vim theme, but has been ported to many other tools.

[–] SinTan1729@programming.dev 5 points 3 days ago (2 children)

He must've disabled it on purpose as it's on by default on new repos.

[–] SinTan1729@programming.dev 6 points 3 days ago (13 children)

Also, part of the problem is that there's no proper way to submit issues. The only way to tell the dev about an issue seems to be Discord.

[–] SinTan1729@programming.dev 15 points 3 weeks ago (1 children)

Also, I hate the name of the column. The frequent mention of the name "Who, Me?" just takes me out.

[–] SinTan1729@programming.dev 1 points 4 weeks ago

It was just a matter of setting the correct user. In most cases, user: 1000:1000 should fix it.

 

I simply want to emulate the effect of -p by default i.e. open all files in tabs when multiple files are supplied. I wrote the following autocommand to make it work.

-- Open files in tabs by default
vim.api.nvim_create_autocmd("VimEnter", {
    callback = function()
        if not vim.opt.diff:get() and #vim.fn.argv() > 1 then
            vim.cmd("tab sball")
            vim.cmd("tabfirst")
        end
    end,
})

But it seems to bork the colorscheme for all but the first tab. It's weird since Running the same commands manually after neovim is loaded works perfectly. I may have something to do with the order in which things are run. Is it possible to run this command as late as possible?

I'm open to alternative approaches that gets the job done.

[–] SinTan1729@programming.dev 2 points 3 months ago* (last edited 3 months ago)

Hey, that looks awesome. I'll try it out when I get back from work.

Edit: This is awesome! It satisfies my requirements and goes beyond. Great app!

[–] SinTan1729@programming.dev 3 points 3 months ago (2 children)

That's a pretty good idea, actually. I'll try that out. Thanks.

[–] SinTan1729@programming.dev 2 points 3 months ago* (last edited 3 months ago) (4 children)

Thanks, I took a look. It's very close to what I want, but it still doesn't support uploads in shared directories. It seems to be a pretty highly requested feature though. So maybe it'll happen at some point.

[–] SinTan1729@programming.dev 19 points 3 months ago* (last edited 3 months ago) (2 children)

Storage, RAM, CPU usage. I prefer not to have such a large piece of software running for no reason. It might seem silly, but I hate using resources for no reason. I'll rather have 5 lightweight apps running instead of a huge one, of which I'll only use a few parts.

[–] SinTan1729@programming.dev 3 points 3 months ago

I'm strictly against Nextcloud or something similar. I prefer to run a bunch of lightweight apps, rather than one big one.

 

I thought of this after a recent trip with some friends. We shared the photos when we were still in person. But sometimes we need to share a lot of photos over the internet. In the past, we have used a shared google drive directory for this. But I'd prefer a self-hosted option. There should be some sort of password protection as well (ideally per share, and no need for accounts). One should be able to both access the current files and upload new ones, just like google drive or dropbox.

I currently have FileShelter, which works for 1-to-1 sharing but not for groups. I guess something like ProjectSend would work, but it's too complex for my usecase. I'd prefer something more lightweight since I'll maybe use it once every few months. Also, it should be noob-friendly, and accessible using a browser.

Update: I'm very happy with copyparty. It does what I want, and much much more. I even replaced my older webdav server with it since it provides more granular control over share locations and permissions. Kudos to the developer @tripflag@lemmy.world!

 

Someone added a PR to an app of mine adding instructions for k8s setup. I do like the idea of providing these instructions, but I don't have any experience with k8s whatsoever. The commits look fine to me, but in case anyone is experienced, I'd appreciate if you can take a look. I don't want to inadvertently add something malicious. Here's a link to the PR: https://github.com/SinTan1729/chhoto-url/pull/48, thanks.

 

A simple selfhosted URL shortener with no unnecessary features. Simplicity and speed are the main foci of this project. The docker image is ~6 MB (compressed), and it uses <5 MB of RAM under regular use.

view more: next ›