-
33 votes
-
Share your personal dotfile treats and Unix tool recommendations
I am currently preparing for a new job and cleaning up my dotfile repository. During the process, I had the idea that it would be nice to create a list of amazing tools, aliases, functions, and...
I am currently preparing for a new job and cleaning up my dotfile repository. During the process, I had the idea that it would be nice to create a list of amazing tools, aliases, functions, and recommendations together.
I will start.
First, here is a list of nice tools to
apt-get install
orbrew install
that I can wholeheartedly recommend:nvim
is just an amazing text editor.fzf
is a very good fuzzy finder util. For example, you can quickly find files with it.eza
is a goodls
replacement (and the successor ofexa
).bat
is a great replacement forcat
with nice integrations and many options.stow
is great for managing your dotfiles. Thanks to @TangibleLight for telling me about it some while ago. I really love it.tmux
is a terminal multiplexer, i.e. you can have many sessions in one single terminal window. It's easy to use and super helpful. (When on a mac, I prefer iTerm tabs, though.)nvm
is practically a must if you are working with Node.glow
is an excellent markdown reader.tldr
is a niceman
replacement. (You must runtldr -u
after installing it to update available texts.)z
, an amazing tool for switching directories quickly.
Also, I can recommend Oh My ZSH! which I have been using for years.
Here is a small list of aliases I enjoy (I have 100+ aliases and I tried to pick some others may enjoy as well):
# Serve current dir alias serve="npx serve ." # What's my IP? alias ip="curl --silent --compressed --max-time 5 --url 'https://ipinfo.io/ip' && echo ''" # This should be the default alias mkdir="mkdir -p" # Nice git helpers alias amend="git add . && git commit --amend --no-edit" alias nuke="git clean -df && git reset --hard" # Make which more powerful which='(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot' # This saves so many keystrokes, honestly alias -- +x="chmod +x" # Turns your path into a nice list and prints it alias path='echo -e ${PATH//:/\\n}' # Map over arguments and run a command # Usage: map <command> # Example: ls | map cat alias map="xargs -n1"
And, finally, here are some fun functions:
# Get cheat sheets for almost anything! # https://github.com/chubin/cheat.sh cheat() { WITH_PLUS=$(echo $@ | sed 's/ /+/g') CAT_TOOL=$(command -v batcat || command -v bat || command -v cat) curl "cheat.sh/$WITH_PLUS" | $CAT_TOOL } # Send everything to /dev/null nullify() { "$@" >/dev/null 2>&1 } # Create a new dir and enter it mk() { mkdir -p "$@" && cd "$_" } # Create a data URL from a file # Source: https://github.com/mathiasbynens/dotfiles/blob/master/.functions data-url() { local mimeType=$(file -b --mime-type "$1"); if [[ $mimeType == text/* ]]; then mimeType="${mimeType};charset=utf-8"; fi echo "data:${mimeType};base64,$(openssl base64 -in "$1" | tr -d '\n')"; }
74 votes -
Infantry war at Pokrovsk: why Ukraine's key eastern front started (and continues) to crumble
6 votes -
The anti–rock star: Leonard Cohen’s battle against shameless male egoism
10 votes -
IPTV and 'Firestick' hacking
As per the title, is anyone into hacking about with Firestick devices and getting some world free IPTV? Essentially it's just Kodi with plugins and Add-ons, and they're generally just python...
As per the title, is anyone into hacking about with Firestick devices and getting some world free IPTV?
Essentially it's just Kodi with plugins and Add-ons, and they're generally just python scripts anyway.
I've just fallen down this rabbit hole after a friend said he'd gotten a Firestick off a bloke down the pub for £75 for the year. He said its Sky Glass and loads of box sets and what not.
A quick inspection and it's not Sky Glass, it's a custom skin for an IPTV player. The box sets are a mix of Real Debrid links and what looks to be the Eupherium plug in which uses torrents. Straight away I threw a VPN on his stick with the killswitch enabled.
Anyway, I decided to see what I could with basics on my own Firestick for free. I used Kodi, Eupherium, The Crew's Daddy Live, The Loop, and a sports plug in. I managed to set up Electronic Program Guide (EPG) for most of it. I used Surfshark from the get go as this is all dodgy, but it's purely for experimental purposes.
It's great doing this for free but there are some downsides:
Channels are hit and miss whether they are even near HD quality. Streams are often low fps and you need to rely on interpolation on the TV to smooth the stream out.
Kodi often crashes during use or startup requiring a cache clearance.
Steams change often. They can be great one day, the next that IPTV is dead and you need to pick another which may or may not work.
I realise there is a whole underground network for private streams and people are making serious bank selling these for PPV access alone.
What are people's thoughts on all of this? I work in the TV industry and it's bad for businesses, but at the same time, there are far too many fat cats around making this industry drown.
14 votes -
HaLow Wi-Fi has now been tested at 9.9 miles — new Wi-Fi world record is a near 5X increase over previous best
23 votes -
International Talk Like A Pirate Day 2024
18 votes -
People who know more about toxicology or chemistry what do you think about the theory in this article about East Palestine derailment?
Toxicologist proposes greater unrecognized harm from East Palestine derailment
11 votes -
Blogging in Djot instead of Markdown
14 votes -
Nintendo and The Pokemon Company file lawsuit against Pocketpair for Palworld
33 votes -
Valkey 8 sets a new bar for open-source in-memory NoSQL data storage
12 votes -
EV discussion thread
Just though it might be nice to have a space for general EV discussion here on Tildes. The only other space I know of to talk on the subject is r/electricvehicles, which has gotten big enough to...
Just though it might be nice to have a space for general EV discussion here on Tildes. The only other space I know of to talk on the subject is r/electricvehicles, which has gotten big enough to get polarized and echo-chambery… prepare to get bombarded if you say anything positive about EV models from Japanese manufacturers or suggest that a used Chevy Bolt isn’t a great fit for everybody, for example.
Anyway, what is everybody driving and how do you like it? Has it given you any trouble? Any upcoming models you’re excited about or interested in? If you don’t drive one now, is there a model you’re eying?
Right now I’m driving a 2023 Nissan Ariya Platinum+, which I chose because it’s what I could get a reasonable lease deal on without too much trouble. It’s been great for the most part but I’d be lying if I said it wasn’t total overkill for my needs… something more like a modernized electric Golf would better fit me, but those don’t exist in the US, so here I am.
The upcoming model I’m most interested in is by far the Rivian R3. It’s sized about the same as a Golf, the retro styling is cool, and its got several high-utility features that make it almost seem like a reincarnation of the Toyota Matrix (fold flat seats including front passenger, back hatch window that can open to accommodate long objects, etc) without the Matrix’s weaknesses. The Pacific Northwest inspired interior of the higher end R3X model looks gorgeous too and is a welcome departure from the sterile grayscale interiors that EVs have become known for.
38 votes -
Fitness Weekly Discussion
What have you been doing lately for your own fitness? Try out any new programs or exercises? Have any questions for others about your training? Want to vent about poor behavior in the gym? Started...
What have you been doing lately for your own fitness? Try out any new programs or exercises? Have any questions for others about your training? Want to vent about poor behavior in the gym? Started a new diet or have a new recipe you want to share? Anything else health and wellness related?
3 votes -
Is there is any interesting free Json Feeds/ Apis?
I'm familiar with RSS, but I'm becoming increasingly passionate about JSON Feeds. This leads me to ask: Besides NPR News, are there any other interesting JSON Feeds to follow?
4 votes -
PC players must now install BattlEye anticheat to play GTA Online. Steam Deck and Linux users are locked out.
46 votes -
Children in Sweden are to start school at six years old from 2028, a year earlier than at present – overhaul signals a switch from play-based teaching for younger children
10 votes -
Wisconsin towns are trying to limit Concentrated Animal Feeding Operations. The Dairy industry is fighting back.
20 votes -
What creative projects have you been working on?
This topic is part of a series. It is meant to be a place for users to discuss creative projects they have been working on. Projects can be personal, professional, physical, digital, or even just...
This topic is part of a series. It is meant to be a place for users to discuss creative projects they have been working on.
Projects can be personal, professional, physical, digital, or even just ideas.
If you have any creative projects that you have been working on or want to eventually work on, this is a place for discussing those.
16 votes -
Finland's Linnunsuo wetland used to be a barren "moonscape" – local fishing communities have transformed it into a biodiverse haven and an important carbon sink
15 votes -
Mickey 17 | Official trailer
22 votes -
Blitz | Official trailer
2 votes -
Leauge of Legends Season 2024 Split 3 gameplay changes
6 votes -
The shapeshifter: who is the real Giorgia Meloni?
7 votes -
Mikel Arteta on Martin Ødegaard's injury: ‘He's got some damage, especially on one of the ligaments in the ankle. It's something quite significant so we're going to lose him for a while.’
4 votes -
Midweek Movie Free Talk
Warning: this post may contain spoilers
Have you watched any movies recently you want to discuss? Any films you want to recommend or are hyped about? Feel free to discuss anything here.
Please just try to provide fair warning of spoilers if you can.
6 votes -
Starlink is increasingly interfering with astronomy, scientists say
30 votes -
The great data integration schlep
14 votes -
AI and the American smile
35 votes -
Meet DAVE: Discord’s new end-to-end encryption for audio and video
35 votes -
Academic publishers face class action over ‘peer review’ pay, other restrictions
34 votes -
How to succeed in Mr Beast production (leaked PDF)
38 votes -
Fitness Weekly Discussion
What have you been doing lately for your own fitness? Try out any new programs or exercises? Have any questions for others about your training? Want to vent about poor behavior in the gym? Started...
What have you been doing lately for your own fitness? Try out any new programs or exercises? Have any questions for others about your training? Want to vent about poor behavior in the gym? Started a new diet or have a new recipe you want to share? Anything else health and wellness related?
11 votes -
Review: Fears of a Setting Sun, by Dennis C. Rasmussen
8 votes -
Conan O'Brien flops! (1993)
13 votes -
47-year-old Voyager 1 spacecraft just fired up thrusters it hasn’t used in decades
53 votes -
Hi, how are you? Mental health support and discussion thread (September 2024)
This is a monthly thread for those who need it. Vent, share your experiences, ask for advice, talk about how you are doing. Let's make this a compassionate space for all who may need one.
22 votes -
Finland's President Alexander Stubb has called for expansion of the UN Security Council, abolition of its single state veto power, and suspension of any member engaging in an “illegal war”
41 votes -
Driver discovers the true cost of finding a "perfect" Chicago parking spot
27 votes -
Helldivers 2 peak player count almost triples following latest update
18 votes -
The hardest case for mercy: inside the effort to spare the Parkland school shooter [the death penalty]
25 votes -
Brothers | Official trailer
4 votes -
Atlanta Beltline Partnership receives $8 million gift for Westside Bike Park
11 votes -
London saw a surprising benefit to fining high-polluting cars: More active kids
28 votes -
English universities offer to curb foreign students if they can raise tuition fees
16 votes -
‘Hacks,’ ‘Shogun,’ and ‘Baby Reindeer’ win top prizes at the 2024 Emmy’s
15 votes -
Tildes should recognize the Gaza Genocide, and moderate accordingly
This has been on my mind for a while, and I've voiced a similar concern 1.5 months ago in the recurring topic, but it went unnoticed. Israel has been and still is actively committing genocide...
This has been on my mind for a while, and I've voiced a similar concern 1.5 months ago in the recurring topic, but it went unnoticed.
Israel has been and still is actively committing genocide against people of Gaza. You can read a summary of the reasons it's being called a genocide in the Wikipedia entry (and its sources) . Wikipedia itself has recognized it as genocide, naming the entry Gaza Genocide, and it's a major feat considering the contentious nature of the topic and the heavy regulation and debates in Wikipedia culture. Even a UN human rights experts said in March that there are reasonable grounds to think a genocide is being committed, and UN is dominated by US influence, and is much slower to act and react, especially when western or US interests are concerned (which applies in this case, because Israel is an ally).
Israel's online propaganda machine has been hard at work about this issue, in order to control the narrative (1, 2, 3, 4, 5). Israel also now ranks among the world’s leading jailers of journalists., another evidence of their commitment to suppress dissenting voices and control the narrative around this issue. It's also worth noting that western coverage of Israel's acts has been said to be legitimising Israel's behavior.
I think most things in the world are some shades of gray, and it's very understandable for people to have ambivalent attitudes about it, but I do not think this is one of those cases, for the following reasons.
- There is an active, ongoing genocide.
- The genocider nation-state has been spreading its propaganda to control the international narrative, especially in US (because US is its biggest ally and funder). It's doing this because it knows support from US and its allies is crucial to keep the genocide going. This involves manufacturing consent in the citizens of these nations.
- Tildes is heavily populated with citizens of US and other western nations.
- Not actively opposing this propaganda means one is helping -albeit indirectly but still significantly- the genocider nation.
I should clarify that, as of this moment, I'm not blaming the moderators, and I'm not saying they are doing this consciously and with full consideration. Instead, I'm trying to illustrate what is going on in the wider context, and what the actions in this mini-environment mean in the wider context. Simply put, genocidal propaganda is not an issue where you can follow the middle-ground, especially when you have power over a community.
For these reasons, I propose two changes in terms of moderation.
- Both from now on and retroactively, change the names of the "Israel-Hamas war megathreads" to "Gaza Genocide megathreads".
- Create and, both from now on and retroactively, use the tag "Gaza Genocide" when tagging.
The first point is self-explanatory. As for the second point, there comes up only 4 topics when I search for "Gaza Genocide" in the site, even though there have been numerous discussions about it. None of them have the mentioned tag, but they have the Gaza and Genocide tags separately. Furthermore, one of the topics is mine, and I had put the tag Gaza Genocide but it was later removed by moderation, and replaced with other tags mentioning this topic. Again, not throwing personal shade to anyone, but I think this is not a good way to go about this topic. A special tag would give it more visibility, which the victims of the genocide need.
These are my suggestions. If anyone can think of anything else, they are welcome to share as well.
64 votes -
Development finance done right
3 votes -
Getting shorter and going hungrier: how children in the UK live today
17 votes -
Dogs bring loads of joy but also perils on a leash
25 votes -
Silversun Pickups - The Royal We (2009)
6 votes