• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. 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 or brew 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 good ls replacement (and the successor of exa).
      • bat is a great replacement for cat 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 nice man replacement. (You must run tldr -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
    2. 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
    3. 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
    4. 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
    5. 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
    6. 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
    7. 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
    8. 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.

      1. Both from now on and retroactively, change the names of the "Israel-Hamas war megathreads" to "Gaza Genocide megathreads".
      2. 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