Reached

Lead Frontend Developer at Ulobby

Member Since 6 Years Ago

Aarhus

Experience Points
47,020
Total
Experience

2,980 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
387
Lessons
Completed
Best Reply Awards
20
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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.

  • Community Pillar

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

Level 10
47,020 XP
Dec
08
1 month ago
Activity icon

Replied to Moving Entire Directory From One Storage Disk To Another

Omg thank you @michaloravec ! It worked perfectly, can't believe it was so simple, I've been staring at it for a couple of hours now.. Should probably go to bed! Thanks again :)

Activity icon

Started a new Conversation Moving Entire Directory From One Storage Disk To Another

Hi guys,

I have two Storage disks setup:

  1. "static" (source disk)
  2. "sftp" (destination disk)

With another process I create a bunch of files and folders and move them to "static" once compiled, then I would like to have a scheduled job upload the files/folders every once in a while to "sftp".

I can't seem to find a way to move the entire directory including files and sub-directories to the sftp disk.

What I tried:

$files = Storage::disk('static')->files();

foreach($files as $file) {
    $this->uploadFile($file);
}

public function uploadFile($file)
    {
        $file = // somehow instantiate the file here
        Storage::disk('sftp')->put($file->get, $file);
    }

However $files = Storage::disk('static')->files(); just returns a list of the files as strings, and not a real file instance.

Dec
02
1 month ago
Activity icon

Started a new Conversation Hiding The Dashboard Link In The Sidebar

Hi guys,

I found a way to redirect straight to a resource when visiting my Nova dashboard, however ideally I would want to completely hide the Dashboard link in the sidebar, has anyone found a way to do this?

Thanks!

Activity icon

Replied to How To Set A Default Value To Input With A V-model Via HTML?

Sorry for the late reply.

I usually do this in the mounted() hook, where I check for existence of the model, I can then populate each form item with the value from the model :)

Nov
21
2 months ago
Activity icon

Replied to Set “status = Sent” In Table After Email Sent

Doesn’t look like it, try to do $feed->save()

Activity icon

Replied to Set “status = Sent” In Table After Email Sent

Are you saving your model afterwards? :)

Activity icon

Replied to How To Set A Default Value To Input With A V-model Via HTML?

This shouldn’t be necessary, even for edit pages :)

Activity icon

Replied to Set “status = Sent” In Table After Email Sent

Show me what you did :)

Activity icon

Replied to How VUE Displays Errors

Also you should store the errors you get from your Axios call in Vue of course :)

Activity icon

Replied to How VUE Displays Errors

Use the key of each input to fetch the error from the errors object/array, so you check like this: <div v-if=“errors.length && errors[‘emails’]”>

Activity icon

Replied to Set “status = Sent” In Table After Email Sent

Can’t you just do it inside of your command? Inside the foreach loop, you set each of them to sent :)

Sep
29
3 months ago
Activity icon

Replied to Building ESignature Portal Through Docusign/HelloSign

Hi there,

I don't have particular experience with this, but would just like to offer you some advice for how to handle requests like this in the future.

Before agreeing with the client, make sure that you spend 1-2 hours researching API's, libraries, packages etc. which can help you before even starting, this will save you a bunch of time in the long run, and create a better and more confident relationship with your client, simple because you then know that you are able to solve the task before starting.

I think many freelance projects die because the freelancer signed up to deliver something that is not actually possible within the constraints set out by the client, or they are technically not able to do.