ludo237

Member Since 5 Years Ago

Europe

CEO at Panetta Holding

Experience Points 114,715
Experience Level 23

285 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 1379
Lessons
Completed
Best Reply Awards 4
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

11 Mar
4 months ago

ludo237 left a reply on Laravel Multiple File Upload Dropzone

@MIHIRPATEL83 - If you need to do both at the same time you should try a "draft logic" approach

01 Mar
4 months ago

ludo237 left a reply on RuntimeException: No Application Encryption Key Has Been Specified 5.8

Do you have

    <php>
        <env name="APP_ENV" value="testing"/>
    </php>

In your phpunit.xml file? If yes, check your .env.testing or .env for APP_KEY

ludo237 left a reply on Laravel Multiple File Upload Dropzone

Either you have the upload of a product image during the creation of this one or you could create a "media storage system" that is not tied to anything and you can select a media from the ones you have uploaded during the product creation process

18 Sep
1 year ago

ludo237 left a reply on Help Figuring Out How To Test On Demand Notification

@AdrianHernandezLopez it does not. The problem is that every assertion expect a Notifiable model, but in a case of a on demand notification there's no such thing as a notifiable.

ludo237 started a new conversation Help Figure Out To Test On Demand Notification

Hello Everyone.

I have a slack notification that sends a message inside our company slack, in a specific channel, every time a use performs the activation process.

The system works, but it's manually tested and that's not cool.

The notification is sent by a listener attached to an UserHasBeenActivated event, the listener is the following:

    public function handle(UserHasBeenActivated $event)
    {
        Notification::route("slack", config("services.slack.user.url"))
            ->notify(new UserActivated($event->user));
    }

Pretty straight forward. The problem here is that the notification is on demand thus it's difficult to test... because there isn't any sort of documentation on how to test on demand notification ??

At the moment I'm stuck here:

    public function it_sends_a_notification_when_an_user_is_activated()
    {
        Notification::fake();
        
        $user = factory(User::class)->states("deleted")->create();
        $user->activate();
        
        Notification::assertSentTo(
            $user,
            UserActivated::class
        );
    }

Of course this fails, the activate() method is what triggers the Event UserHasBeenActivated and sequentially all the listeners, and one of them sends the corresponding notification.

Do you know how to test on demand Notifications? Is there any hidden API that am I missing?

28 Mar
2 years ago

ludo237 left a reply on [L5.4] Slack Message With Markdown Content Has Some Problem

I think we should create an issue on Github at this point

02 Mar
2 years ago

ludo237 left a reply on Am I The Only One That Find The Difference Between Events/listeners, Jobs And Notifications Difficult To Understand?

@ederson I hope that someone can clear out this, I agree that I can use what makes sense for me, but maybe there's a pattern to follow

ludo237 started a new conversation Am I The Only One That Find The Difference Between Events/listeners, Jobs And Notifications Difficult To Understand?

Hello everyone.

This is not a rant but rather an opening discussion in order to clear up some confusion that I'm encountering when dealing with jobs, events/listeners and notifications in general.

Let's use an example case:

User can register an account and it will receive an activation email

When I've to deal with this kind of task I often refer to a simple event/listeners combo for example once the user hit the created event on my UserObserver class I usually trigger an UserHasBeenRegistered event which is listened by SendActivationEmail listener, inside this listener I actually send the email via Mail::to()->send(new ActivationEmail($whatever)); but again why should I use this system rather than a simple job o rather a notification class?

What is the path to follow in order to chose the right approach?

Another part that's not clear to me is the real difference between sending an email using a notification and sending an email using a listener why should I chose a notification rather than a listener?

I repeat this is not a rant, I love the flexibility that Laravel provides but sometimes it confuses me, and maybe someone else, so I would like to hear your thoughts about it in order to fix my lack of understanding.

Thank you.

22 Feb
2 years ago

ludo237 started a new conversation [L5.4] Slack Message With Markdown Content Has Some Problem

Hello everyone.

I'm trying to use Markdown content inside a SlackMessage instance using the documented method markdown().

First here's the actual code

return (new SlackMessage())
            ->from("New user request on " . config("app.name"))
            ->content(":bangbang: An user has requested a new feedback on " . config("app.name"))
            ->attachment(function ($attachment) use ($notifiable) {
                $attachment->title("Feedback ID: {$notifiable->uuid}")
                    ->content("**You can moderate this feedback right away**")
                    ->markdown(["title", "text"])
                    ->fields([
                        "Request from" => "{$notifiable->user->name} (ID: {$notifiable->user->uuid})",
                        "Request topic" => "{$notifiable->topic->name}",
                    ]);
            });

As you can see there's some markdown inside the content() method but the documentation is not clear when talking about the array parameter of the markdown() method.

Of course the notification is not rendered as it should be showing those ** on Slack.

26 Jan
2 years ago

ludo237 left a reply on FormRequest Method To Ignore Null Field Upon Validation In L5.4

AFAIK with some "live" testing this seems to work!

I will write some dedicated tests tomorrow. Thank you.

ludo237 left a reply on FormRequest Method To Ignore Null Field Upon Validation In L5.4

@jekinney interesting but the description doesn't help me.

Should I use it like this?

"password" => "required_unless:password_confirmation, null|confirmed"

ludo237 started a new conversation FormRequest Method To Ignore Null Field Upon Validation In L5.4

Hello everyone.

Is there any way to ignore a null attribute of the POST request inside a Form Request?

Let me explain.

I've a Form Request with this rule:

"password" => "confirmed"

This solution works well in L5.3 because the rule itself has a bug, if you pass two empty fields like

"password" => ""
"password_confirmation" => ""

they will be validated because both are empty strings (""). Even though this is a bug, I guess, it's fine in a certain degree because my application does other checks after the request anyway but in L5.4 every empty fields are converted to null and the "confirmed" rule alone does not work anymore because of this.

I tried

"password" => "sometimes|confirmed"

but it does not work because the key exists.

My question is simple:

Is there a validation rule that works similar to sometimes but it checks nullable values instead?

24 Jan
2 years ago

ludo237 left a reply on Add Stylus Support To Laravel Mix

Doesn't work like that. Anyway I found a solution based on another question

mix.webpackConfig({
    module: {
        loaders: [{
            test: /\.styl$/,
            loader: 'css-loader!stylus-loader?paths=node_modules/bootstrap-stylus/stylus/'
        }]
    }
});

The problem is that I don't know how to use is inside the chain of functions because

mix.stylus won't work of course.

ludo237 started a new conversation Add Stylus Support To Laravel Mix

Hello everyone.

I'm trying to add the stylus support to laravel mix by using the webpackConfig({}) option provided but webpack doesn't like the syntax that I am using, I tried to look around but I still not sure how I need to write it down.

This is the current setup

mix.webpackConfig({
    rules: [
        {
            test: /\.styl$/,
            loader: 'style-loader!css-loader!stylus-loader'
        },
    ]
});

But it throws this error specifically

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.resolve has an unknown property 'rules'. These properties are valid:
   object { alias?, aliasFields?, cachePredicate?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, resolver?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }

I don't understand what should I use in order to add the rules for stylus support.

Anyone has a clue on this?

Thank you kindly.

19 Jan
2 years ago

ludo237 started a new conversation How To Load A Custom Loader In Laravel-mix?

I was reading the doc for Webpack configuration but I'm still not sure on how to load a custom loader, for example I would like to use stylus without editing the config file, is that possible using the mix.webpackConfig() function?

Thank you in advance

ludo237 left a reply on Load View Composer For A Single Test Method

Turns out that Dusk can handle this :D

12 Dec
2 years ago

ludo237 started a new conversation Load View Composer For A Single Test Method

Hello everyone.

I'm trying to test a page with a form that's generated by a View composer instance inside the ViewComposerServiceProvider:

        View::composer("components.user.settings", function ($view)
        {
            $settings = Setting::select(["key", "value"])->orderBy("key")->get();
            $view->withSettings($settings);
        });

The view is rendered properly when you use it but inside my test suite I cannot select any <select> generate by this view composer because the page rendered with PHPUnit doesn't have those selects at all.

I read about a bunch of solutions like forcing the rendering inside the test method by calling $this->app->make(... but I don't like very much and I wonder if Laravel has something already built in that I'm missing.

Does Laravel provide some sort of trait or whatever that I'm missing in order to render the view composer properly ?

10 Dec
2 years ago

ludo237 left a reply on L5.2 How To Override Auth Traits?

You can overload the current method inside your controller.

22 Nov
2 years ago

ludo237 left a reply on Eloquent Model Observer Force Deleting Not Recognized

EDIT 2:

Actually there's a function but it's not documented it's called isForceDeleting()

ludo237 left a reply on Eloquent Model Observer Force Deleting Not Recognized

EDIT:

While I was trying some solution I figured it out that this fix works


public function deleting(User $user)
{
        if($user["forceDeleting"]) {
            $user->photos()->forceDelete();
        } else {
            $user->photos()->delete();
}

I don't know if this is intended or not, but "it works". I will dig into this more in order to understand if it's a bug or a feature

ludo237 started a new conversation Eloquent Model Observer Force Deleting Not Recognized

Hello everyone.

I've a simple User model with an Observer attached by a registered service provider.

Whenever I try to delete an user the function inside the Observer deleting(User $user) is called and now it looks like this:


public function deleting(User $user)
    {
        if($user->forceDeleting) {
            $user->photos()->forceDelete();
        } else {
            $escort->photos()->delete();
        }
    }

If the user is in force delete I call the forceDelete of photos which will destroy the user directory and the table rows.

The problem is that it seems to ignore the attribute forceDeleting even though it exists, in fact you can type dd($user) and the see that the last attribute will be #forceDeleting: true

What am I missing here? Is that the right attribute to check for?

14 Nov
2 years ago

ludo237 left a reply on Nested Array Access

Nevermid just figured it out

$settings->where("key", "=", "hair")->first()->value;

ludo237 started a new conversation Nested Array Access

Hello everyone.

I'm struggling with a problem, I've a collection that is a result of an Eloquent query called: Setting::all() which return this result as a Collection of Settings

I would like to access to the attribute value of each Setting model inside this collection but the main problem is that I would like to do this from a view.

I tried some combinations like $settings->where("key", "=", "hair")->flatten(1); but nothing has worked so far.

The idea is to dynamically populate some <select> with those key-value pairs.

Does anyone know what could be the right approach to fetch a nested array inside a collection?

11 Nov
2 years ago

ludo237 left a reply on Calling PHPUnit From Artisan Command Will Ignore The XML File

As I wrote

I know that I can simply create a bash alias for that command line, in fact this is my current hot fix, but at this point I'm just curious to understand why when I launch the phpunit command from the artisan command it ignores the XML file.

I already have a fix in place but I don't like to skip problems but rather find what cause that if possible.

ludo237 left a reply on Calling PHPUnit From Artisan Command Will Ignore The XML File

@bobbybouwmann I tried but the result is the same, seems like artisan is ignoring or overwriting the unit configuration

ludo237 started a new conversation Calling PHPUnit From Artisan Command Will Ignore The XML File

Greetings everyone.

I have what I think is an uncommon issues but I'll try to explain as clear as I can. I have created a simple artisan command that does this

/**
     * Execute the console command.
     */
    public function handle()
    {
        $this->info("==> Cleaning up reports and docs...");

        $command = new Process("rm -f tests/docs/* && rm -rf test/reports/*");
        $command->run();

        $this->warn("==> Reports and docs are clean");

        $this->info("==> Executing Tests Suite...");
        $command = new Process("vendor/bin/phpunit --coverage-html tests/reports --testdox-html tests/docs/reports.html -v --debug");
        $command->run();
        $this->info($command->getIncrementalOutput());

        $this->warn("==> report generated >> test/reports. Documentation generated >> test/docs/reports.html");
    }

This could seems kinda odd but it is actually pretty useful, it launch the PHPUnit with the coverage support and other stuff. The problem is that if I run this command like php artisan ludo237:full-test it will completely ignore the phpunit.xml in fact it will display and error saying that the MySQL database does not exists, even though I've set the sqlite connection inside my phpunit.xml speaking of which you can clearly see that is correct:

<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="bootstrap/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false">
    <testsuites>
        <testsuite name="Application Test Suite">
            <directory suffix="Test.php">./tests</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./app</directory>
        </whitelist>
    </filter>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="APP_DEBUG" value="true"/>
        <env name="APP_URL" value="http://localhost:8000"/>
        <env name="DB_CONNECTION" value="sqlite"/>
        <env name="DB_DATABASE" value=":memory:" />
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
        <env name="MAIL_DRIVER" value="log"/>
        <env name="MAIL_PRETEND" value="true"/>
    </php>
</phpunit>

I know this sounds odd, I know that I can simply create a bash alias for that command line, in fact this is my current hot fix, but at this point I'm just curious to understand why when I launch the phpunit command from the artisan command it ignores the XML file.

Does anyone have a clue about this? Thank you!

04 Jul
3 years ago

ludo237 left a reply on Components Not Render Properly

@davestewart nope, that's weird and I don't know how to fix it ._.

ludo237 left a reply on Components Not Render Properly

@davestewart the content is just the same as the video but instead of the hard link to the "app.js" file I'm using elixir and versioning anyways

<!DOCTYPE html>
<html lang="{{ config("app.locale") }}" id="app">
    <head>
        // Stuff
    </head>
    <body dir="ltr">
        <toast>Hello</toast>
        <script src="{{ elixir("js/app.js") }}"></script>
    </body>
</html>

I'm using VueJs 1.0.26

ludo237 started a new conversation Components Not Render Properly

I was following [https://laracasts.com/series/learning-vue-step-by-step/episodes/21](this lesson), just to keep my memories together about VueJs components, and I've written down this simple code

This is the main entry point:

import Vue from "Vue";
import Resource from "vue-resource";
import Toast from "./components/Toast.vue";

Vue.use(Resource);

new Vue({
    el: "body",
    components: { Toast }
});

This is the actual component, nothing fancy

<template>
    <div class="toast">
        <slot></slot>
    </div>
</template>

<script>
    export default {

    }
</script>

When I try to load everything into the browser vueDevTools tells me that is a fragment, an thus I cannot do stuff like props, why is this happening? I mean I've written the same example as the video shows, I've only changed some name.

09 Mar
3 years ago

ludo237 left a reply on Testing <select> With Default Option

@martinbean I'm not trying to select a disable option. There's a disabled option that is used as "label" for the select box, I'm trying to select some other values.

ludo237 left a reply on Testing <select> With Default Option

@martinbean Yea it could be. Is there any way to avoid this ? I mean without the "final solution" of removing the disabled attribute of course.

ludo237 started a new conversation Testing <selecte> With Default Option

Hello everyone.

I'm writing a test for a view and I'm using native phpunit + laravel test suite without any third parties packages because I think that they suit my need.

I've only one question tho, which is basically written in the title, how to I test a <select> tag with an <option disabled selected="true"/>.

This is the HTML inside the blade.

<select name="from[hour]" id="fromHour" class="form-control">
                                <option disabled aria-disabled="true" selected aria-selected="true">Hour</option>
                            @for($i = 1; $i <= 24; ++$i)
                                <option value="{{ $i }}" {{ (old("from.hour") == $i) ? "selected" : "" }}>{{ $i }}</option>
                            @endfor
</select>

Don't look at the styling, it's just a dummy select. Now my test suite is using the classic fillForm + select($value, $name) method combo to fill the entire form the problem is that if I leave the selected <option /> the test fails because it will stick with the default option but if I remove that selected <option /> the test will chose a random number from the <select> element which is fine.

Here's the code involved

$dumpResult = $this->visit("foo/bar")
             ->seeText("Save Form")
             ->select(1, "from[hour]")
             ->fillForm("Save Form", [
                 "name" => Factory::create()->firstName,
                 "surname" => Factory::create()->lastName,
             ]);

If I dd the result of dumpResult it will shows me 1 without the default option and Hour with the default option.

I need that default option, and I cannot change the whole application only because the test suite is unable to fetch the <select> element. What can I do to solve this issue?

Thanks.

06 Mar
3 years ago

ludo237 left a reply on Middleware Throwing Exception When Testing Controllers

@ifpingram This solution seems to work but the DummyFormRequest need to be a child of my RecaptchFormRequest otherwise the AuthController::register, which expect a RecaptchaFormRequest type, will throw a type error.

ludo237 started a new conversation Middleware Throwing Exception When Testing Controllers

Hello everyone.

I'm trying to test an AuthController, in particular the registration method which is linked to a view that has a reCaptcha on it.

At the moment I can't pass the test because the formRequest of the registration method requires the reCaptcha in order to pass, how can I skip that?

I've thought about using withoutMiddleware but when I try to run the same test using that method the result is the following

Caused by
RuntimeException: Session store not set on request. in /home/vagrant/Application/vendor/laravel/framework/src/Illuminate/Http/Request.php:852

For the sake of checking I've try to run the registration manually and it works, the problem is not linked to the implementation of the registration method inside AuthController.

How can I test a Controller without interact with the formRequest?

22 Dec
3 years ago

ludo237 left a reply on Laravel 5.2 Multi Auth

I'd like to understand this multi auth feature too.

27 Nov
3 years ago

ludo237 started a new conversation Redis Cache Best Practice

Hello everyone.

I'm using Redis as caching system and it works great for most of the part, I've a little question tho

I've an index() method which contains this code

        $companies = Cache::rememberForever('auth.companies', function () {
            return Company::with([
                'tags',
                'emails'
            ])->get();
        });

This should store the companies inside the key auth.companies, and it works fine. The doubt appears when I try to edit a specific company in update() method like so

$company = Company::whereId($id)->firstOrFail();
$company->update($request->all());
Cache::forget('auth.companies');
dd(Cache::get('auth.companies')); // Testing purposes

My question is

  • When I try to update a specific entity should i work with the cached object or retrieve it from the Database? (which is NOT redis atm)
  • If I should work with the cached object how can I persist the data inside the Database?
14 Oct
3 years ago

ludo237 left a reply on API Tests Always Fail, Return 'Invalid Argument Supplied For Foreach()'

I've php 5.6.11 but I still get the Foreach error :/

25 May
4 years ago

ludo237 left a reply on Store Eloquent Model Inside A Cookie

Indeed, I'll store only the ID of the profiles.

22 May
4 years ago

ludo237 left a reply on Store Eloquent Model Inside A Cookie

@sitesense That was an option but with local storage I have to deal with JS "after" the call is made, correct me if I'm wrong. Also I've some rudimental analytics to do with cookies

ludo237 started a new conversation Store Eloquent Model Inside A Cookie

Hello everyone.

I'm trying to create a simple "latest visited profiles" cookie in which I want to store every profile visited by someone (auth or not is not relevant)

At the moment the first solution was to grab some data from the current visited user, store them into an array and update the specific cookie like this


$latestUsers = \Cookie::get("latestUsers", []);

$visitedUser = [
    str_random(5) => [
         'name' => $user->name,
         'slug' => $user->slug,
         'visited' => \Carbon\Carbon::now()->toTimestamp()
]
];

array_merge($latestUsers, $visitedUser);

Cookie::queue($latestUsers);

With this basic, and ugly, first approach I'am able to save the visited user.

The problem is that I'd to save more than just raw data and I'd like to have all the user object in order to use some decorator on it, within my views Last but not least I'd to fetch my cookie using the object notation something like

// Controller or whatever
$latestUsers = \Cookie::get("latestUsers");

// In My views
@foreach($latestUsers as $user)
{{ $user->something}}
@endforeach

Of course this is not possible now because I can't store and entire model inside a single cookie. I'm missing something? Documentation is not quite full and the Cookie APIs seems to be for raw data only. I was thinking about some special Eloquent method but I can't find anything useful

13 May
4 years ago

ludo237 left a reply on Post Link With Target="_blank"

@JeffreyWay this post is old, I don't even know why @robertgalp replied yesterday.

07 May
4 years ago

ludo237 started a new conversation Testing Events With PHPSpec

Hello everyone.

I'm building a test suite and I'm testing my command RegisterUser that has a method handle() like this

    public function handle(User $user)
    {
        $inputs = (array)$this;
        $user   = $user->createUserAndTrashIt($inputs);
        event(new UserWasRegistered($user, $inputs));

        return $user;
    }

At the moment I create this method for my spec

    function it_handles_user_creation(UserRepository $user)
    {
        $user->createUserAndTrashIt($this->userData)->shouldBeCalled();

        $this->handle($user);
    }

And it works fine but I got 1 Broke message from PHPspec

- it handles user creation
      error: Argument 1 passed to app\Events\UserWasRegistered::__construct() must be an instance of app\Entities\User,
      null given, called in /home/vagrant/code/Web/testing/app/Commands/RegisterUser.php on line 78 and defined in
      /home/vagrant/code/Web/testing/app/Events/UserWasRegistered.php line 27

This is cause by the event calls, also because I've mock the repository I don't receive anything back from it. How can I improve this test in order to include the event ?

I'm watching https://laracasts.com/series/testing-jargon/ but still have no clue how to solve it (I'm episode 4 atm)

15 Apr
4 years ago

ludo237 left a reply on Start Points For Learning Laravel Lumen Micro-framework

@blackbird some blogging platform like Medium use that @ sign inside the URL

ludo237 left a reply on Someone Saw My SSH Key. Is That A Security Problem?

I'm just saying that you have expose ssh and .env file during a screen sharing session. Just pay more attention while doing it.

ludo237 left a reply on Someone Saw My SSH Key. Is That A Security Problem?

@janareit good point. It's better change it anyway, until she will stream the new one again :-D

ludo237 left a reply on Someone Saw My SSH Key. Is That A Security Problem?

@janareit well, for example, if she exposed a key related to a local server and used only on it there's nothing to be aware of, otherwise you're absolutely right.

ludo237 left a reply on Use Plain Password In Laravel 5 Authentication Instead Of Bcrypt

Well if you think that using plain text password is not going to destroy your reputation ... I don't think what else could possibly do it.

Tell your clients that's a stupid dumb and we are not in the 90s