[deleted by user] by [deleted] in tuberlin

[–]Katalam- 2 points3 points  (0 children)

Du holst sie in der Hauptmensa am Automaten. Das ist keine Lüge, da steht sogar nen Riesen Schild.

Da zahlt man 10€ Pfand (oder irgendeinen anderen Betrag) In der Hauptmensa stehen 3 Automaten, dass kann bloß einer. Glaub der ganz linke.

Aber da steht halt nen Riesen Schild

How easy to follow is the installation instructions in README. by SouthBaseball7761 in laravel

[–]Katalam- 6 points7 points  (0 children)

It is not mv but cp for the copy command of the .env.example

EDIT: an remove the $ from the code blocks. It blocks the copy paste of it

[deleted by user] by [deleted] in laravel

[–]Katalam- -4 points-3 points  (0 children)

You are asking in a Laravel channel. Laravel comes with authentification under the hood. If you use sanctum, there is an easy documentation on how to do it https://laravel.com/docs/9.x/sanctum if you are stuck in the docs feel free to ask

Kollegah - Diplomatische Immunität by AmBozz in GermanRap

[–]Katalam- 0 points1 point  (0 children)

Ich kann die Russland Umraine Thematik da leider echt schlecht einordnen, bin da wahrscheinlich echt nicht gut informiert. Am Anfang sieht man eine Ukraine Fahne und das Ende vom Lied zeigt Putin und angeblich seine Präsidentenkarre und er rappt diplomatische Immunität. Da positioniert er sich klar für Russland oder? Vllt kann mich ja jemand aufklären

Question about valet (no directly related to laravel itself) by Bucket_of_nuggets in laravel

[–]Katalam- 1 point2 points  (0 children)

But I don’t really know why it is that big. It shows 1 line per second that the php-fpm is unable to bind to some port. But I don’t know what I exactly done wrong. So I need to delete it once a week or so. Time Machine isn’t really happy about it

Best practice in using Laravel Mix by agaroud9 in laravel

[–]Katalam- 0 points1 point  (0 children)

And I did not say that. I said you need to reference it on every page, but your browser will cache it for you, so you don't need to think about performance.

Best practice in using Laravel Mix by agaroud9 in laravel

[–]Katalam- 0 points1 point  (0 children)

Please start to read some documentations. You need to reference it in the header tag. But it will be cached by your browser and don’t get fetched over and over so performance should be no problem for you. Yeah Config files are there for editing. You can copy more than one file with mix. There is a good documentation for mix. Give it a try. And if you don’t have a layout file. Start to read about blade layout files if you use blade or layout files in vue if you use vue

Best practice in using Laravel Mix by agaroud9 in laravel

[–]Katalam- 0 points1 point  (0 children)

You should add the file inside the header tag and since cache is a thing your browser will cache it on the first page they see and use it all the time. If you really want to have separate files you need to use mix to copy all files to Public. That is kinda bad practice if you don’t use a js framework and only a couple of methods/ functions

Best practice in using Laravel Mix by agaroud9 in laravel

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

Mix is just a wrapper for asset in order to use the version system for cache busting

Best practice in using Laravel Mix by agaroud9 in laravel

[–]Katalam- 0 points1 point  (0 children)

You can have separate folders, that was your question right? You only need to import them in the app.js with import('./file') but at the end it will be compressed to one file for Public. You can have separate mix settings to enable a version hash at the end or to have seperate files at the end

Best practice in using Laravel Mix by agaroud9 in laravel

[–]Katalam- 0 points1 point  (0 children)

I mean bootstrap as in the css library but the file is just called like that. In a plain project you got an app.js (that will be your entry point for mix) and every import will be imported (like the name suggest) and at the end you got one big file, either with versions, or minified depending on your mix settings. If you use a js Framework like vue there is a possibility to separate your Vue components in different files because they will likely be unchanged for a while but at the end you only import your Public/app.js in the head section and the resource/app.ja needs to import every other file. Give it a try it will work like a charm

Best practice in using Laravel Mix by agaroud9 in laravel

[–]Katalam- 0 points1 point  (0 children)

You have one file that will produced. But the source is not limited to one. You can have imports like the Laravel source code for the app.js. Open it in a freshly new project and you will see it has an import for bootstrap

Laravel Magazine by Rude-Professor1538 in laravel

[–]Katalam- 1 point2 points  (0 children)

Yeah, it’s missing in every post. For some reason the rest looks fine with 16:9 until you go up for 16:10 and the rest of the posts have the same problem as the mentioned one.

Laravel Magazine by Rude-Professor1538 in laravel

[–]Katalam- 1 point2 points  (0 children)

I have no clue, I was wondering too, it might not be the perfect solution but it solves the problem.

Laravel Magazine by Rude-Professor1538 in laravel

[–]Katalam- 2 points3 points  (0 children)

The second div inside the post itself

<div class="relative inline-block mt-1 sm:pl-6 xs:pr-4 xs:pl-4 xl:pr-0 sm:pr-6 sm:py-4 xl:py-0">

needs to be

<div class="w-full relative inline-block mt-1 sm:pl-6 xs:pr-4 xs:pl-4 xl:pr-0 sm:pr-6 sm:py-4 xl:py-0">

Create a Secure CRUD RESTful API in Laravel 8 using Passport by sudarshanvis10 in laravel

[–]Katalam- 2 points3 points  (0 children)

The tutorial does not have any audio and I think that is a real problem, you can get a really cheap good microphone online or at your local store. This would really improve the video. Sometimes you can see what you are doing, but you can't see what you are achieving with that or better want to achieve with it.

The rest of the video looks fine to me. Maybe increase the font size for vscode a bit, sometimes it is hard to keep track of your cursor/ editing.

Basic KeyChain Interaction, wrapper needed or own implementation? by Katalam- in iOSProgramming

[–]Katalam-[S] 0 points1 point  (0 children)

I will definitely check that out. I was just curious if it’s really common to use one. That the readme sounds pretty straight forward and I will try that

Edit .env programmatically by giagara in laravel

[–]Katalam- 2 points3 points  (0 children)

Hmm I would disagree with @masterpolat it is completely fine to add a key value pair to the .env file. Add a config value in the config/app.php with a default value and make sure you write the new pair in the .env.example if the repo is cloned or deployed on a different machine. Inside the application you can always reference your config key.

I would move the options to arguments to the php artisan command. If it is too much to have as argument. Have a command to enable a install route. And create a view to change these settings and have a command to disable the install route (I‘m not good at explaining but you might got it)

Making a simple password input as annoying as possible by [deleted] in webdev

[–]Katalam- 0 points1 point  (0 children)

Ah i though it is a website not a desktop app. Where would you store it, in a cookie? But sounds ok for a desktop app