Skip to main content



Bash Configuration Gist


Bash Configuration


I updated my bash configuration gist today. As it has been a while since I have done as much and there have been some significant changes in my configuration model since the last update.


This gist is for the intermediate user and not so much a beginners guide. I do not go into a lot of explanations about CLI basics. It is likely to not make any sense at all to someone that is not versed in the basic concepts of the CLI using bash as a shell.


Bash Configuration Gist

Unus Nemo


Tips & Donations


#.bashrc #.bash profile #bash configuration #Gnu/Linux #Linux #bash

in reply to Unus Nemo

friendica (DFRN) - Link to source
plan-A
 — (Proud Eskimo!)

@Unus Nemo I lack the rc or else it's hidden from 1st view.
really helpful for managing configs across systems this setup.

edit: Because I use zsh I guess while this is for pure Bash env
(.zshrc, .zprofile)

I can reset it using which, but there seem to be no need for that after some research, nevertheless your Gist explains well how you can improve bash in a cleaver way.

This entry was edited (28 minutes ago)


Upgrade To New Rig



Unus Nemo reshared this.


Pinned Posts, Playlists and Profile Links.

Coming soon to joinloops.org โœจ

reshared this

in reply to dansup

the last time I checked there wasn't a way to see the instance content without logging in but now I'm able to do it. This makes Loops much more appealing to new users, thanks!

Also I have a suggestion. Are there any plans to add a default grouping to the videos shown? For example, in mastodon/peertube/lemmy there are 3 main predefined categories.
- Home (content of followed accounts if logged in),
- Local (content of the actual instance).
- Federated (content of the actual instance and all the federated instances).

This entry was edited (2 days ago)

Unus Nemo reshared this.


Friend: What do you need to do tomorrow?
Me: Nothing.
Friend: I can do that in no time.
Me (jealous): It takes me all day.

reshared this


Unus Nemo reshared this.


I just spent the last two hours debugging the Bluetooth stack *in anger* because for the last few weeks I've had to re-pair my mouse with my laptop. Every time. Remove mouse, re-pair.

Turns out I had two identical mice in my backpack and I've been switching between them.

It was me.

in reply to Scott Hanselman ๐Ÿ‘ธ๐Ÿฝ๐Ÿ๐ŸŒฎ

I so feel you. I had something similar once with a port-forward to an external service. Every time I logged in and touched anything I got logged out.

First I started to try and click very fast. Then I started to look at the networking. Then, after hours it clicked and I realized I was logged in to another instance of this service and my browser got confused with the cookies and the stored tokens in them.



Hi Ren


youtu.be/s_nc1IVoMxc?si=MhyVXeโ€ฆ


ComfyUI On an antique GPU




Eliminate The Obvious First


Hours Of Wasted Time


Okay, built a new system last night and thought I would try out ComfyUI on it. It is a dated build, I cannot afford modern hardware at the moment. So I wanted to see if it would work with this old NVIDIA GeForce GTX 1050 Ti with only 4GiB of Vram. Yeah, I know, it is going to be slowwwwww! Well the install was giving me grief and I ended up recompiling the Nvidia Driver half a dozen times a few different ways. Turns out that after all my tinkering it had nothing to do with the drivers ๐Ÿ˜‰. It was a bad DP cable ๐Ÿ˜€


Unus Nemo


Tips & Donations


#Humor #WastedTime #CheckTheObviousFirst!



Upgrades and Updates ...


Server Upgrade


I have not set a precise time though I have decided to upgrade the server used for the Rouge Project Friendica Instance. It will be month or so as I have to get things in order. My VPS provider is having a sale that is very reasonable on a significant upgrade. The only caveat is that I have to pay 3 years in advance to get the deep discounts. So I will be juggling some expenses around to make it happen. Hopefully sooner rather than later


Unus Nemo


Tips & Donations


#Instance Update #Maintenance #Upgrade




Unus Nemo reshared this.


Lately I have been spending some time each day perusing my copy of Samin Nosrat's Salt Fat Acid Heat. Today I followed her recipe for smoked honey sage chicken with fried sage salsa Verde. I made up my own recipe for sautรฉed garlic, shallot, shiitaki mushroom, and potato. #cooking #culinary #smoked #chicken #recipe #recipes #delicious

Unus Nemo reshared this.

in reply to bobonthenet

@bobonthenet

bobonthenet wrote:

I eat potatoes a lot since they are one of my favorite foods.

I have never been a potato person, always preferring rice dishes. Though after swelling up to around 270 lbs (122.47 kg) I refactored my knowledge on nutritional needs ๐Ÿ˜‰. I eat a Keto/ Carnivore like diet eating only none starchy vegetables that are low in carbs. I have lost weight over the last 4 months and now weigh in at around 210 lbs (95.2544 kg). My new nutrition plan is a lifetime commitment so even though I will include more carbs once I have reached a more healthy weight, I will never consume carbs at the rate I used to prior to my new lifestyle. I just find it unhealthy. I use the way I feel as my greatest metric.


There are many factors to ones fitness plan. Each plan must be individualized as there is not a one size fits all solution. The solution you maintain in your life must be sustainable. So we have to choose something that we can live with ๐Ÿ˜€.

This entry was edited (3 weeks ago)
in reply to bobonthenet

@bobonthenet

bobonthenet wrote:

I'll keep sharing the things I make.

Awesome! another foodie on the instance ๐Ÿ˜€. I think I was the only one sharing food posts before. I particularly like posts with lots of details and recipes ๐Ÿ˜€.

bobonthenet wrote:

I'm not formally trained in cooking, but it has become my greatest passion in recent years.

I cooked in kitchens while attending the Uni for my Masters in Computer Science. I eventually went to the Culinary Institute of America in Boston. I was a chef for a while but disdain professional cooking now. Though cooking at home will always be a passion of mine.

This entry was edited (3 weeks ago)

Unus Nemo reshared this.


If you were going to learn just one genus of ants, you'd want to do Camponotus, which includes the familiar carpenter ants of the northern hemisphere, but many others too.

Abundant on every continent, diverse, and ecologically important.

#Ants #Insects #Photography #Camponotus

alexanderwild.com/Ants/Taxonomโ€ฆ

Unus Nemo reshared this.

in reply to Alex Wild

If you were feeling perky and wanted to learn a second genus, the obvious choice is Crematogaster, the acrobat ants. They're also found worldwide and are instantly identifiable for their unique, heart-shaped butts.

#Ants #Insects #Crematogaster

alexanderwild.com/Ants/Taxonomโ€ฆ

in reply to Alex Wild

@Alex Wild

I once mistook a female Dasymutilla occidentalis for an ant ๐Ÿ˜‰. Fortunately I did not have to find out the hard way that it was not one.





Mathjax Test


Just enclose your equations in $$...$$ pairs like e.g.

 $$f_c(x)=ax+b$$

Renders as:
$$f_c(x)=ax+b$$

Mathjax Site



in reply to Acta Populi







Unus Nemo reshared this.


This is why we can't have nice things...

reshared this

in reply to Blaise

@Blaise

Lol, I actually switched to GNU/Linux when Windows was just a MS/DOS application. Windows 3.11 had just released when I began using tutorials on usenet to build my own GNU/Linux installation. X Server was another story. It took literally weeks to download all the code successfully and For a very small while I used a bare bones X Server with no DE or WM. Boot magazine (now Wired) distributed a stripped down copy of Debian on their complimentary CD on one Issue and I finally got to try out Gnome and KDE which were both in their infancy. At first KDE had my attention, then as both matured, as I pretend I did as well, I learned to love the elegancy of simplicity and now I favor Gnome.

Have a great day!


Unus Nemo reshared this.


I-told-you-sos are considered to be preening, so how do you make people remember what you said and see the proof so they change their minds without doing it? This was all predictable, and predicted....

blaisehartley.com/2025/10/01/wโ€ฆ

Unus Nemo reshared this.




in reply to Acta Populi

@Acta Populi

And they believe this is a weakness, when it is actually sciences greatest strength. In order to learn one has to accept what parts we do not have right.



Losing Weight


Why You Are Not Losing Weight

Weight maintenance is a big deal to your overall fitness. Some times we need to lose weight, some times gain. Here is a video on the topic of losing it.

youtu.be/KcxBtVth2bc?si=BHkBQEโ€ฆ



Cooking with Nemo





Nutrition


Two of my favorite Influencers, who by the way are both actual medical professionals.

youtu.be/nKnZc5B-plw?si=Es_ivyโ€ฆ

#nutrition #modern nutrition
@Aaron

Unknown parent

friendica (DFRN) - Link to source
Unus Nemo

@plan-A

plan-A wrote:

But a Steak gets me filled as hell.

That is the idea, you should be full (satiated!). If you are hungry all the time you are going to overeat. Carbs leave you hungry and you end up eating more, even though you have already consumed way more calories than you need. Meat and fat satiate you and you do not feel like eating more. So it is not a struggle to not over eat.

This entry was edited (1 month ago)
Unknown parent

friendica (DFRN) - Link to source
Unus Nemo

@plan-A

Same here in America. Food prices are crazy. Especially real food and not food like products that are all carbs and killing people over here.



Unus Nemo reshared this.


We officially live in a dictatorship. This illegal, unconstitutional bullshit will let them use anything you've *ever* said that could be construed as being a negative statement on Christianity, our government, or capitalism is now their tool to watchlist you and use it to punitively exclude you from air/train/bus travel, banking, credit, government benefits, education, etc...

lawfaremedia.org/article/the-sโ€ฆ

Unus Nemo reshared this.



Nutrition


A refreshing look at nutrition.


youtu.be/b8nlbYuoq7o?si=NU2tgiโ€ฆ

Unknown parent

friendica (DFRN) - Link to source
Unus Nemo

@plan-A

why would you go through all that? If you are concerned about someone knowing what your user name is for some reason then just rewrite the motd like this:

#!/usr/bin/env bash

figlet "Hello" | lolcat -b
fortune -a | cowsay -f dragon | lolcat -b

I am not exactly concerned about people knowing what my user name is. There is no way they can use that in any scenario to effect me. I literally use the same name here.

In any case dropping the $(whoami | perl -e 'print ucfirst(<>);') (as this is the code that retrieves and displays your username with the first letter capitalized) out of the first figlet line will prevent the script from displaying your username.

The original motd I shared with you:

#!/usr/bin/env bash

figlet "Hello $(whoami | perl -e 'print ucfirst(<>);')" | lolcat -b
fortune -a | cowsay -f dragon | lolcat -b
This entry was edited (1 month ago)
Unknown parent

friendica (DFRN) - Link to source
Unus Nemo

@plan-A

why would you write code just to write more code to eliminate what you just generated? That makes no sense at all. Just eliminate the whoami and you do not need to filter its results out with awk. Remember KISS (Keep It Simple Silly).




โ‡ง