Foster Hangdaan
Just a random person who likes building software and configuring Linux.
- 0 Posts
- 22 Comments
Foster Hangdaan@lemmy.fosterhangdaan.comto
Selfhosted@lemmy.world•How to maintain a local repository of docker images in case they go offline?English
9·1 year agoI’d also like to add that you can save an image to a local file using
docker image saveand load them back usingdocker image load. So, along with the options mentioned above, you have plenty of options to backup images for offline use.
I use Arch for personal and gaming, Debian for self hosting and hacking, Alpine for containerized cloud deployments.
Pretty much the same for me: bleeding-edge Arch for my workstation, rock-stable Debian for my server.
Foster Hangdaan@lemmy.fosterhangdaan.comto
Linux@lemmy.ml•Where Do You Guys Throw Your Local Git Repos?
2·1 year agoI maintain a rule that all files above the repo must be inside a folder, with one exception: a README file. Including the
codefolder, this typically results in no more than 5 folders; the project folder itself is kept organized and uncluttered.
Foster Hangdaan@lemmy.fosterhangdaan.comto
Technology@lemmy.world•This technology will change video games forever...English
7·1 year agoDon’t forget: entrepreneur, playboy, philanthropist.
Foster Hangdaan@lemmy.fosterhangdaan.comto
Linux@lemmy.ml•Where Do You Guys Throw Your Local Git Repos?
2·1 year agoThey are the project’s subfolders (outside of the Git repo):
codecontains the source code; version-controlled with Git.wikicontains documentation and also version-controlled.designscontains GIMP, Inkscape or Krita save files.
This structure works for me since software projects involve more things than just the code, and you can add more subfolders according to your liking such as
notes,pkgbuild(for Arch Linux), orreleases.
Foster Hangdaan@lemmy.fosterhangdaan.comto
Linux@lemmy.ml•Where Do You Guys Throw Your Local Git Repos?
81·1 year agoI tend to follow this structure:
Projects ├── personal │ └── project-name │ ├── code │ ├── designs │ └── wiki └── work └── project-name ├── code ├── designs └── wiki
Foster Hangdaan@lemmy.fosterhangdaan.comto
Technology@lemmy.world•What websites still feel like the old internet?English
9·1 year agoFrom a time when websites used
<table>orposition: absolute;to place elements on the screen. That website is just one big table.
Foster Hangdaan@lemmy.fosterhangdaan.comto
Technology@lemmy.world•What websites still feel like the old internet?English
202·1 year agoAnd pretty much the rest of the FSF and GNU websites.
Foster Hangdaan@lemmy.fosterhangdaan.comto
linuxmemes@lemmy.world•Just got into this "ricing" thing, any suggestions?
6·1 year agoWhere the dotfiles at?
Foster Hangdaan@lemmy.fosterhangdaan.comto
Technology@lemmy.world•Discord alternatives?English
4·1 year agoI’m in the same boat and also looking for a privacy-respecting platform for communicating with family and friends. So I’d also like to add items that are not yet mentioned to the list of suggestions:
- Jami
- Peer Calls - can be selfhosted; you can try it out straight away using their flagship instance located here.
Foster Hangdaan@lemmy.fosterhangdaan.comto
Selfhosted@lemmy.world•Do you selfhost your own blog/website?English
6·1 year agoI wonder sometimes if the advice against pointing DNS records to your own residential IP amounts to a big scare. Like you say, if it’s just a static page served on an up to date and minimal web server, there’s less leverage for an attacker to abuse.
That advice is a bit old-fashioned in my opinion. There are many tools nowadays that will get you a very secure setup without much effort:
- Using a reverse proxy with automatic SSL certs like Caddy.
- Sandboxing services with Podman.
- Mitigating DoS attacks by using a WAF such as Bunkerweb.
And of course, besides all these tools, the simplest way of securing public services is to keep them updated.
I’ve found that ISPs too often block port 80 and 443. Did you luck out with a decent one?
Rogers has been my ISP for several years and have no issue receiving HTTP/S traffic. The only issue, like with most providers, is that they block port 25 (SMTP). It’s the only thing keeping me from self-hosting my own email server and have to rely on a VPS.
Foster Hangdaan@lemmy.fosterhangdaan.comto
RetroGaming@lemmy.world•Anyone use Retropie? Two buttons won't map.English
3·1 year agoI’m running RetroPie on a Debian laptop and I’m able to map all the buttons of my 8BitDo Pro 2 controller; no issues at all. I was also able to connect and configure an Xbox 360 controller just fine.
You might want to try getting help on the RetroPie forums if you don’t get any luck here.
If you want a similar editor on Linux, then I suggest Kate. If Vim and Emacs didn’t exist, I’d be using Kate.
Notepad++ is a fabulous software program that had no complete alternatives on Linux. I used it for scripting, text manipulation, note taking, dumping and editing thoughts. Scintilla-based equivalents Geany, SciTE exist, but do not come close.
Really? No alternatives on Linux? Have you tried Emacs? I think Emacs with Org mode blows Notepad++ out of the water in all the uses you just mentioned.
Foster Hangdaan@lemmy.fosterhangdaan.comto
Selfhosted@lemmy.world•Is it possible to run a reverse proxy only on a specific service or port?English
3·1 year agoFirst of all, doesn’t Navidrome have authentication? So, I don’t see why exposing it to the public is a problem.
Second, some reverse proxies support basic auth. This way, you can password-protect some services and is useful if the service does not have its own authentication. Here as an example snippet for Caddy:
example.com { basic_auth { # Username "Bob", password "hiccup" Bob $2a$14$Zkx19XLiW6VYouLHR5NmfOFU0z2GTNmpkT/5qqR7hx4IjWJPDhjvG } reverse_proxy myservice:8000 }You’ll have to look up the docs for other reverse proxies.
Foster Hangdaan@lemmy.fosterhangdaan.comto
Technology@lemmy.world•Firefox tracks you with “privacy preserving” featureEnglish
18·1 year agoThat would be nice but what other alternatives are there? It’s either Chrome, Edge, Firefox, Safari, or clones of these browsers.
Foster Hangdaan@lemmy.fosterhangdaan.comto
Linux@lemmy.ml•What can I do with my super old laptop?
5·1 year agoProbably or probably not. The only way to find out is to try. I’ve installed RetroPie on a number of old laptops; the oldest one being a 2002 Toshiba laptop. I got to play GBA games just fine with it.
In other news: Jeff Bezos is now the richest person in the world.