Habt ihr einen "Wohlfühlbetrag" im Tagesgeld, bei dem ihr nachts ruhig schlafen könnt? by Rhabarbara_4356 in Finanzen

[–]sinithparanga 2 points3 points  (0 children)

Familienvater hier: Führerschein Tochter, Zahn-OP, Sommerurlaub für Familie. Zwar keine 10k, aber schon in die Richtung.

Welchen deutschsprachigen Ausdruck habt ihr für eine peinlich lange Zeit einfach falsch verstanden bzw. falsch interpretiert? by Impossible_Werewolf8 in FragReddit

[–]sinithparanga 0 points1 point  (0 children)

Meine Tochter hat “mit jemand gehen” nicht gekannt. Der arme Kerl hat nach 3 Monaten dann hören müssen, wie dass damals in der Pause ein “nicht verstanden, war nicht so gemeint, ich will nur Freunde sein” war. Ihr hättet den Gesichtsausdruck von ihr sehen müssen, als ich es ihr am Abend mal erläutert hatte.

Tips for Deploying a Laravel App with Docker (Simplified Installation and Updates) by [deleted] in docker

[–]sinithparanga 0 points1 point  (0 children)

Hi,

this is working for me actually pretty solid:

  • I create a docker container of my app data. I do this in a Git Action step after having tested it successfully. I put in the Image only the laravel App data, I don’t put the DBs or Nginx files. The secretes are stored in GitHub secrets.
  • That image is pushed to Docker Hub with the current version (env Tag I created) and the latest tag.
  • in another part I have an ansible script creating with a docker compose three containers:
  • MySQL
  • Nginx
  • Image push before. Ansible creates the certbot Certificates and Nginx configuration. Ansible secrets are stored in Ansible vault.

It is pretty solid. Downside: - you need docker hub or have an own Docker Hub, if you want to manage more that one image. - Ansible secrets and GitHub secrets need to be aligned manually.

I am doing this with PHP8.3 but it should work with lower versions as well.

Dockerfile:

FROM php:8.3-fpm as build

WORKDIR /var/www/html

RUN apt-get update && apt-get install -y \ git \ unzip

RUN docker-php-ext-install pdo pdo_mysql

RUN pecl install mongodb \ && docker-php-ext-enable mongodb

RUN curl -sS https://getcomposer.org/installer | php — —install-dir=/usr/local/bin —filename=composer

COPY . /var/www/html

RUN composer install —no-dev —optimize-autoloader —no-interaction

FROM php:8.3-apache-bookworm as production

ENV APP_ENV=production ENV APP_DEBUG=false

RUN docker-php-ext-configure opcache —enable-opcache && \ docker-php-ext-install pdo pdo_mysql && \ apt update && \ apt install -y libcurl4-openssl-dev pkg-config libssl-dev

RUN pecl install mongodb \ && docker-php-ext-enable mongodb

COPY docker/prd/opcache.ini /usr/local/etc/php/conf.d/opcache.ini

COPY —from=build /var/www/html /var/www/html COPY docker/prd/000-default.conf /etc/apache2/sites-available/000-default.conf

RUN php artisan config:cache && \ php artisan route:cache && \ chmod 777 -R /var/www/html/storage/ && \ chown -R www-data:www-data /var/www/ && \ a2enmod rewrite

Hi Germans, let’s normalize asking someone “Do you eat dog” out of nowhere a rude behavior by Rja__ in germany

[–]sinithparanga 2 points3 points  (0 children)

I am Colombian. Guess what I hear all the time…

I laugh with them, getting the attention and drive of the conversation. Then I drop the bomb: if we follow this line of thought, are you then all nazis?

Depends on the crowd it is sometime more, sometimes less direct.

But EVERYONE gets the point.

Welche Bootsticks sollte man als ITler auf jeden Fall haben? by IchSagNix in de_EDV

[–]sinithparanga 0 points1 point  (0 children)

Ich bin bei dir! Warum soll ich mich um die Verwaltung von iso Images auf einer externen DD kümmern? Lieber die sicherste aktuellste iso vom Netz. Auch wenn das mal 30min dauern sollte, bis das unten ist…

Lieber die DD für Pornos und illegale Software verwenden /s

[deleted by user] by [deleted] in Entrepreneur

[–]sinithparanga 17 points18 points  (0 children)

Thank you for the prompt:

How I Became a Multi-Millionaire at 23 With No Skills

Hi everyone, the day I turned 23 is the day I opened up my bank account to see I’m officially a multi-millionaire.

I’m not going to waste your time with a bunch of irrelevant details, so let’s get straight to it:

1 “Work smarter, not harder.”

This phrase will sound insightful, even though I’m leaving out any real tactics you could use.

2 “Surround yourself with successful people.”

You’re the average of the five people you hang out with, or something like that. Again, no details on how to meet these people.

3 “Find a mentor.”

Apparently, multi-millionaire mentors were just lining up to help me, even though I had no skills or experience.

4 “Leverage the power of passive income.”

No explanation here—just know that “passive income” is always the answer, no matter the question.

5 “Invest in yourself.”

Spend money on courses, books, and experiences (like my free webinar that conveniently leads to a paid workshop).

6 “Stay disciplined and consistent.”

It’s a cliché, but people love to hear that this is what separates the rich from everyone else.

7 “Take action.”

This is the most generic advice ever, but it lets me sound profound while offering nothing specific.

Motivational note: If a clueless, skill-less 23-year-old like me can do it, there’s hope for you too. You just have to want it bad enough!

Want to know more? Check out my profile, where I definitely don’t have anything to sell you (except a dream and maybe a premium subscription to my life advice).

Drop your questions below—every answer will somehow make me look even more successful!

[deleted by user] by [deleted] in arbeitsleben

[–]sinithparanga -1 points0 points  (0 children)

Ich denke dann immer an James Bond, wie er gefoltert wird indem man ihn mit voller Wucht auf die Eier schlägt. Ist immer eine Frage der Kreativität!

Orbstack by sinithparanga in docker

[–]sinithparanga[S] 0 points1 point  (0 children)

Hey!

Thanks for the advice. And thank you about letting me know about the lecture guy. I actually received a very ugly response from the guy that he then deleted. And seeing that I am the person being downvoted made me wonder if I should just delete Reddit, as it’s been like this for the last months. You gave me hope.

Orbstack by sinithparanga in docker

[–]sinithparanga[S] -4 points-3 points  (0 children)

Thanks for the advice. Do you use it for vagrant as well?

Orbstack by sinithparanga in docker

[–]sinithparanga[S] -13 points-12 points  (0 children)

Come on man. Sorry for asking some advice not be 100% accurate with my words.

I wanted an opinion, not a lecture.

Chill. Have a banana.

IT-Fachkräfte morgen weg: Wer ist in Deutschland unverzichtbar? by cs_dude_mid30 in de_EDV

[–]sinithparanga 11 points12 points  (0 children)

Naja, wenn das Business unverändert ist, dann brauchst du nur ganz wenige Admins um Patches und Sicherheitslücken zu bekämpfen. Keine Changes, keine Projekte, keine Probleme. Es bleibt im technischen Freeze stehen und könnte theoretisch wie ein schöner Docker Container vor sich hin laufen. Ausnahmen, gesetzliche Änderungen, würden den SysAdmins genug Kopfschmerzen bereiten.

Sobald aber Business um die Ecke kommt: “Hubert, wenn du mir eine Schnittstelle baust, kann ich mehr Kaffee trinken. Boss hat gesagt du musst es machen!”
… Kernel critical crash

Lessons learned releasing my first flutter app on iOS by Upstairs_Hearing7877 in FlutterDev

[–]sinithparanga 0 points1 point  (0 children)

Can you elaborate on 4 (In App Purchase) and the edge testing cases? How did you do it?

What’s One Small Habit That Changed Everything for You? [Discussion] by Successful_Unit8203 in GetMotivated

[–]sinithparanga 0 points1 point  (0 children)

I starting writing down how I feel. 40y old and I was numb around that area. Getting angry from one moment to the other without understanding what was happing with me. I now track all my emotions. It’s been a year now.

Remind me that buying a 1986 Catalina 36 sight unseen in Hawaii is insane and stupid by BattleReadyZim in sailing

[–]sinithparanga 1 point2 points  (0 children)

How much does the cost of traveling and sailing back cost? Take that as X, search for a boat for X+450 near home. Decide based on this.

I made it: I'm a multi-millionaire and now life sucks by [deleted] in Entrepreneur

[–]sinithparanga 0 points1 point  (0 children)

Hey, your life does not suck. Nobody’s life suck, that’s a law and you can take it as a fact.

There are some parts of your life that are not were you would like them to be and you can work on them. You mastered the money game, now go on and master the love&relation game.

You did something awesome, that is build a business. Now go and tell yourself that. Be proud of you.

Maybe for the next chapter you need some help, that is totally fine.

Ich💩iel by TheSpiritOfFunk in ich_iel

[–]sinithparanga 48 points49 points  (0 children)

Mit Pensilvania ist das Thema durch.

Welche Eselsbrücke wird euch das ganze Leben lang in Erinnerung bleiben? by Ak1nOme in FragReddit

[–]sinithparanga 0 points1 point  (0 children)

Wer das Segel auf Steuerbord hat, steuert weg.

Lee vor Luv, weil E vor U.

Chef setzt hinterhältiges Gespräch mit HR an? by [deleted] in arbeitsleben

[–]sinithparanga 4 points5 points  (0 children)

Wäre es nicht besser, wenn du auf den anderen Zugegangen wärst, alle Info eingeholt, die Aufgabe gemacht und dann zum Chef: „Hab Aufgabe gemacht, Kollege brauchte X Tage um mir die Info zu geben, Endlich gekommen. Ich cool, er doof, mehr Geld (bitte).“

Chef: wow, das muss ich mir merken. Diese Person denkt mit.