Vincent Ascosi's Blog

linux

#100DaysToOffload #docker #linux

Why am I writing this?

A friend needed help with exposing ports with docker containers, so I thought I would write about it.

Why do you need to exposing ports?

So docker container are contained to their own virtual network, furthermore exposing ports is like port forwarding on a router. This prevents port collision between docker services.

How do i do this?

To expose a port number, use the docker command with the option -p 8080:80. In this example the 8080 is the host facing port, while the 80 is the port number used by the app inside the docker container.

To do the same with docker compose:

ports:
      - "8080:80"

#100DaysToOffload #100DaysToOffload2024 #linux #laptop

image

Why?

My HP Envy x360 is consistently crashing. probably because I was compiling a application from source while the laptop fans were smothered by my bed and slightly cooked the CPU. I have swapped the RAM and storage to see if that was the issue, it was not. So i am shelving my HP Envy laptop for my old HP Elitebook 8460p that was presumed to have dead graphics from cat hair, old age, and the crushing weight of a over weight cat sitting on top while in the possession of my mother. A while ago I turned on my old HP Elitebook 8460p and i was working again; I don’t know how?

What now?

I will be using it for the time being, untill I can save up enough money for a framework 13.

BTW, since the HP elitebook is thicker and heavier that my HP envy, I have nicknamed it my CHONKY-HP.

#linux #hardware #100DaysToOffload #100DaysToOffload2024

image

What is it?

It is a Oracle Sun X2-3 server

hardware list

  • 2x Intel Xeon E5-2660 with 32 cores
  • 70 Gigs of RAM
  • 240 Gig SATA SSD with more storage to come

    How did I Get it

    My friend Nick from the Boston area, gave me his server that he was getting rid of because of power usage.

thank you Nick. Here is a shout out to his linkedin: https://www.linkedin.com/in/nicholas-cardillo/

#Linux #raspberrypi #writing #adhd #100DaysToOffload #100DaysToOffload2024

Why did i build it?

I needed a typewriter like device to write an essay for a college English class, because my ADHD was getting the better of me.

I can also use this to write more blog post, distraction free.

Parts list:

Setup

How to use

  • I connect the Adafruit Cyber Deck with the TFT to the Pi 400.
  • Plug in the 32 Gig Flash Drive that holds all my documents for editing on my laptop
  • Then plug in power.
  • run the mount flash drive menu option

#nixos #linux #100DaysToOffload #100DaysToOffload2024

Whats New

  • KDE Plasma 6
  • Gnome 46
  • Linux Kernel 6.6
  • updates to options
    • “1983” added options
    • “304” removed options
  • updates to modules
    • “145” added modules
    • “23” removed modules
  • updates to packages
    • “17777” added packages
    • “16249” updated packages
    • “9393” removed packeages

My Thoughts and personal problems fixed

The upcoming release appears strong based on my assessment. I appreciate the renaming of specific Nix configuration options. Additionally, for my daily 3D printing tasks, new applications such as Orca Slicer have been included, which previously required me to obtain the package from the unstable branch and encounter issues with incompatible Mesa versions on 23.11. Although there may have been a resolution, I prefer a seamless experience straight out of the box.

this segment was rewrite with AI

Sources

NixOS Blog Post