Griehle

Griehle

Apprentice Wizard at National Energy Foundation

Member Since 1 Year Ago

Salt Lake City

Experience Points
20,960
Total
Experience

4,040 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
182
Lessons
Completed
Best Reply Awards
2
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.

Level 5
20,960 XP
Apr
26
4 weeks ago
Mar
05
2 months ago
Activity icon

Replied to Checking For Overlapping Appointments

I understand it better after spending some time in it. I don't quite have it working yet. But I see what it's supposed to be doing and today I get to break it down step by step and dd() it until I find the issue. Thank you.

Mar
04
2 months ago
Activity icon

Replied to Checking For Overlapping Appointments

perfect. Thank you

Activity icon

Replied to Checking For Overlapping Appointments

I cannot change appt times because the company I work with, works with public schools. Sometimes the Appointments are after lunch which is to say at 12:50. Or as soon as school starts which can be 7:45. I do not have any freedom in the appointment slots, I just need to accomplish what my employer has requested of me.

Activity icon

Replied to Checking For Overlapping Appointments

yes, they aren't solid blocks and the appointments have to be traveled to as well.

I'm trying to better understand what is going on here. the Period::make is from the package you sent? and refers to... also, forgive me I am new, but in the map closure you the appointments var and index. What does index refer to?

Activity icon

Replied to Checking For Overlapping Appointments

It's a carbon date and time. All appointments are 30 minutes.

Activity icon

Started a new Conversation Checking For Overlapping Appointments

I am trying to build a artisan command which will return a notice if it finds appointments for a person that are overlapping. I'm stuck on how to create the array inside a foreach and then compare them.

 public function handle()
    {
        $users = User::whereHas("roles", function($q){ $q->where("name", "person"); })->get();
        $userArray = array();
        foreach($users as $user){
            $name = $user->first_name.' '.$user->last_name;
            if($user->appointments('scheduled_for')->count()){
                $time = $user->appointments('scheduled_for')->pluck('scheduled_for');
                $userArray[] = array('Name'=>$name, 'Time'=>$time);

                /* this is where imposter syndrome sets in hard. */
            }

        }
    }
Jan
30
3 months ago
Activity icon

Replied to Opinion: Front-end Development Sucks These Days

I think he was arguing against everything being in the box. I think he was saying it was more fun to make things up instead of just doing it the way yoru library does it. Like when you used bootstrap cards, and bootstrap had decided for you what a card looks like. I don't disagree with the point, I disagree with the value. Im a business owner as well as a Dev. The faster I can get the annoying front end crap handled the fast I can get back to important things like PS4 and Star Wars.

Nov
29
5 months ago
Activity icon

Awarded Best Reply on Sending Mail From Section In Page

OK. the view is only there to be the actual E-mail you send, not that you are sending the user to that view. So in the view you are sending them to you might have

 <h1>Hi, {{ $name }}</h1>
 <p>Sending Mail from Laravel.</p>

In the route you would have it as

 Route::get('/contact','[email protected]_email');

Now in the controller you might have

  public function basic_email() {
  $data = array('name'=>"Virat Gandhi");

  Mail::send(['text'=>'mail'], $data, function($message) {
     $message->to('[email protected]', 'laracasts')->subject
        ('Laravel Basic Testing Mail');
     $message->from('[email protected]','Virat Gandhi');
      });
       echo "Basic Email Sent. Check your inbox.";
   }

this also means that in order to preview the email you can visit url/contact and see the email that will be sent.

Nov
25
6 months ago
Activity icon

Commented on Build A Registration System In Mere Minutes

you used ui Vue, but then we are still using blade. Is there an advantage to one over the other if you aren't using a front end framework?