dotfiles
portmaster
Our great sponsors
dotfiles | portmaster | |
---|---|---|
11 | 202 | |
4 | 8,524 | |
- | 2.7% | |
7.1 | 9.3 | |
8 months ago | 3 days ago | |
Shell | Go | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
Linux Filesystem Hierarchy
Oh my gosh, that /opt/local rant was prophetic.
This is how I set my $PATH, note this code is portable between several Linux distros (including NixOS), macOS, OpenBSD, FreeBSD, and amd64/arm64...
<https://github.com/rollcat/dotfiles/blob/52a634f/.profile#L1...>
Whenever I touch it, I just wish I could put PATH=/bin in there instead, but then I'd be stuck juggling 17 different ways to make bind mounts.
-
Monochrome terminal setup for an E-ink monitor
In my dotfiles:
https://github.com/rollcat/dotfiles/blob/0d44759/.emacs.d/th...
There's also a dark variant, and a "base" variant to convince Emacs not to touch colors when running in a terminal. There's also support for matching the system theme in Emacs & Terminal.app on macOS: https://github.com/rollcat/dotfiles/commit/b3e49ad
-
No Start Menu for You
> If you do consider switching, one warning about Mac is this: Window management is utter garbage. Maximizing is actively discouraged. Tiling left / right etc? Doesn't exist. Everything must be random size and overlap weirdly. Instead, each new version brings a new quick switch or workspace functionality that I have never seen anyone use.
Mac has a different window management paradigm. It suits some people, it frustrates others. I've switched from Linux/BSD after 15 years there, and it immediately made so much more sense to me. YMMV.
It also makes so much more sense if you have a very large screen. I've tried using dwm or Sway with my 43" screen and it's incredibly awkward. You need first-class support for floating windows, or at least smarter tiling.
But I agree, some things on macOS are not as good (workspaces), or plain dumb/useless (stage manager). For missing functionality, like keyboard-driven tiling, I fix things using Hammerspoon: https://github.com/rollcat/dotfiles/blob/master/.hammerspoon...
-
KDE beats macOS hands down
> Being usable out of the box?
It's interesting that you bring up this point in defense of KDE, because that's exactly my problem with it, especially when contrasted with macOS. Every issue I have with KDE boils down to: "there are too many options, and none of them make the system feel right".
> decent window snapping
In my opinion, no window manager gets it right. I've made a shot at it with my Hammerspoon config[1], it will move/resize/tile floating windows in a 2x2/3x3 grid using custom hotkeys. It's annoying though, that the code works on macOS only - I could probably refactor it to work with an X11 window manager.
[1]: https://github.com/rollcat/dotfiles/blob/master/.hammerspoon...
> put files on my Android phone over USB
I think integration within the Apple ecosystem is what really outshines all competition. I've never had to plug my iPhone over USB to a Mac, and yet I can just copy on the phone, and paste on the computer, like they are one device. Files, mail, contacts, calendar, photos, notes, todos, bookmarks, are all synced - heck I can use the phone camera as a webcam, all out of the box.
> I don't need to give my terminal permission to display my fucking documents folder
Sounds like you never had to fight SELinux or AppArmor. Personally I'm happy that desktop OS's are trying to improve end-user security (why do I have to type the root password to install a game, but I don't need one to run a cryptolocker?), but let's be honest, all attempts so far have ended up half-assed. The root of the issue is that desktop OS's must remain general-purpose tools, otherwise we could just as well call PCs glorified toasters.
-
Emacs’s Builtin Elisp Cheat Sheet
> I'd say that's kinda a big selling point of Emacs though: you can write elisp code to make anything you do (not just writing code) less of a pain.
I agree in principle, but in practice, I find myself writing a lot of ELisp just to work around Emacs' shortcomings. E.g. on macOS, to support dark/light theme switching integrated with the rest of the system, I need an external program[0], a shell script to tell that program to call emacsclient, a LaunchAgent to keep it running, an unholy build of Emacs with all of the GNU-unapproved Cocoa integrations that some kind soul is maintaining, and only THEN a piece of ELisp (which is also calling out to AppleScript) to actually change the theme[1]. And as I wrote this, I realised half of this glue didn't even make it into version control.
[0]: https://github.com/cormacrelf/dark-notify
[1]: https://github.com/rollcat/dotfiles/blob/7f6a6d7/.emacs.d/in...
I've been using Emacs for about 20 years, and with every passing year I just wish there was *less* ELisp for me to think about. The actual useful customisations (like adding the +x bit on shell scripts) are few and far between, most of it is just glue and fixes.
-
Git ignores .gitignore with .gitignore in .gitignore
This is my strategy for dotfiles. My home directory has a .gitignore with "*" in it. I will "git add -f" any files I want tracked; git is extremely efficient at ignoring the rest. It doesn't require any frameworks, symlinks, installation scripts, elaborate tutorials/manpages, or any other voodoo.
To move in to a new machine - unfortunately you can't git clone into a non-empty directory, but the commands to work around that are simple enough to remember.
https://github.com/rollcat/dotfiles
-
Own Your Calendar and Contacts with OpenBSD, Baïkal, and FOSS Android
> I tried my hand at tiling WMs with pop!OS, I just couldn't wrap my hand around it (pun intended). I really admire people who work through all the keyboard shortcuts. It's just not for my capabilities.
I think Windows actually did a great job of making tiling more mainstream - the way windows automatically snap to the left/right half of the screen. macOS could use something like that - I've hacked something similar using Hammerspoon[1] but I think Windows does it better: it's very discoverable for regular users, and has a very intuitive shortcut for the power users (win+left/right/up).
The world of minimalist tiling WMs suffers from the elitism factor. It's a shame that you can't get the right dose of minimalism, without making this huge leap. I think people making most of these WMs misunderstand good UX design: it's not about accommodating non-power users, it's about lowering the barrier for everyone, hackers included.
[1]: https://github.com/rollcat/dotfiles/blob/master/.hammerspoon...
-
DeeloCloud
Well, you blew it ;) I have no idea how you've identified my dotfiles as a web project using any kind of an established web framework/language, and at this point I'm too afraid to ask.
- window stacking / rotating
-
Mouse alternatives
I'm happy with my Hammerspoon setup. I need something to fix "the other 90%".
portmaster
- Portmaster is a privacy suite for your Windows and Linux desktop
-
I pwned half of America's fast food chains, simultaneously
There's a very good relatively new open-source GUI firewall app like this called Portmaster:
https://safing.io/
It's available for Windows and Linux
-
Port forwarding done by university network admin, they opened every port past 1024???
You can get your own firewall app. Portmaster by safing.io lets you open and close what ever ports you want on your windows system
- A recommendation for adblock
-
Zen: Ad-blocker and privacy guard for Windows, MacOS and Linux
amazing work OP! what's the difference between zen and portmaster? :) i would like to compare options to see which one fits my needs the best way
- Portmaster open-source application firewall
-
Portmaster Application Firewall v1.4
For Context: Technical Introduction from https://github.com/safing/portmaster#technical-introduction
Portmaster is a privacy suite for your Windows and Linux desktop.
Base Technology
- Portmaster integrates into network stack using nfqueue on Linux and a kernel driver (WFP) on Windows.
- Packets are intercepted at the raw packet level - every packet is seen and can be stopped.
- Ownership of connections is found using eBPF and `/proc` on Linux and a kernel driver and the IP Helper API (`iphlpapi.dll`) on Windows.
- Most settings can be defined per app, which can be matched in different ways.
- Support for special processes with weird or concealed paths/actors:
--- Snap, AppImage and Script support on Linux
--- Windows Store apps and svchost.exe system services support on Windows
- Everything is 100% local on your device. (except the SPN, naturally)
--- Updates are fully signed and downloaded automatically.
--- Intelligence data (block lists, geoip) is downloaded and applied automatically.
- The Portmaster Core Service runs as a system service, the UI elements (App, Notifier) run in user context.
- The main UI still uses electron as a wrapper :/ - but this will change in the future. You can also open the UI in the browser
Feature: Secure DNS
- Portmaster intercepts "astray" DNS queries and reroutes them to itself for seamless integration.
- DNS queries are resolved by the default or configured DoT/DoH resolvers.
- Full support for split horizon and horizon validation to defend against rebinding attacks.
Feature: Privacy Filter
- Define allowed network scopes: Localhost, LAN, Internet, P2P, Inbound.
- Easy rules based on Internet entities: Domain, IP, Country and more.
- Filter Lists block common malware, ad, tracker domains etc.
Feature: Network History ($)
- Record connections and their details in a local database and search all of it later
- Auto-delete old history or delete on demand
Feature: Bandwidth Visibility ($)
- Monitor bandwidth usage per connection and app
Feature: SPN - Safing Privacy Network ($)
- A Privacy Network aimed at use cases "between" VPN and Tor.
- Uses onion encryption over multiple hops just like Tor.
- Routes are chosen to cover most distance within the network to increase privacy.
- Exits are chosen near the destination server. This automatically geo-unblocks in many cases.
- Exclude apps and domains/entities from using SPN.
- Change routing algorithm and focus per app.
- Nodes are hosted by Safing (company behind Portmaster) and the community.
- Speeds are pretty decent (>100MBit/s).
- PSA: Intel Graphics Drivers Now Collect Telemetry by Default
-
Thoughts on safing.io
Portmaster itself is open source (https://github.com/safing/portmaster)
-
Count me out on next releases
Then install https://safing.io/ (Portmaster); it's free.
What are some alternatives?
dotfiles - 🍀 Vim/Neovim + Tmux + Zsh + Alacritty = Build your own fantastic development environment
simplewall - Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer.
dotfiles - My personal dotfiles (emacs, zsh, vim, i3)
opensnitch - OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
dotfiles - Personal Dotfiles and various configs
audacity - Audio Editor
dark-notify - Watcher for macOS 10.14+ light/dark mode changes
spn - Safing Privacy Network
dotfiles - 🐧 Custom config files for better workflow on Linux
LuLu - LuLu is the free macOS firewall
radian - 🍉 Dotfiles that marry elegance and practicality.
musescore-downloader - ⚠️ This repo has moved to https://github.com/LibreScore/dl-librescore ⚠️ | Download sheet music (MSCZ, PDF, MusicXML, MIDI, MP3, download individual parts as PDF) from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱