jgnasser

jgnasser

Member Since 4 Years Ago

Experience Points
74,800
Total
Experience

200 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
742
Lessons
Completed
Best Reply Awards
0
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 15
74,800 XP
Jul
18
3 weeks ago
Activity icon

Replied to How To Start Redis On Mac? [Solved]

Thanks @robrogers3 ...worked for me as weel

Jul
02
1 month ago
Activity icon

Replied to Flickity Not Displaying Images

Thanks for pointing that out Bobby. It's not the cause of the issue I'm having though... It would seem I do not have all the dependencies required by the package. I'm still looking at it. Will provide an update when it's resolved.

Activity icon

Replied to Flickity Not Displaying Images

<template>
    <div>
        <slot></slot>
    </div>
</template>

<script>
    import Flickity from 'flickity';
    import 'flickity/dist/flickity.min.css';

    export default {
        name: "carousel",

        props: {
             wraparound: {default: true},
             autoplay: {default: false}
        },

        mounted() {
            new Flickity(this.$el, {
                wraparound: this.wraparound,
                autoPlay: this.autoplay,
                cellAlign: 'left',
                contain: true,
                lazyLoad: true,
            })
        }
    }
</script>

<style scoped>

</style>

Usage

<carousel :autoplay="true">
    <img class="absolute h-3/4 w-full object-cover" src="/cars/one.jpg" alt="car image">
    <img class="absolute h-3/4 w-full object-cover" src="/cars/two.jpg" alt="car image">
</carousel>
Activity icon

Started a new Conversation Flickity Not Displaying Images

Looking at https://laracasts.com/series/learn-vue-2-step-by-step/episodes/34, where Jeffrey shows how to expose an existing api minimally using a Flickity example.

I was trying this out in laravel 7.* but it doesn't seem to work. I can see the dots and when I set :autoplay="true", I can see it is being autoplayed but the images are not being displayed. Anyone knows why?

Activity icon

Commented on Wrap Existing Tools Into Components

I was trying this out in laravel 7.* but it doesn't seem to work. I can see the dots and when I set :autoplay='true', I can see it is being autoplayed but the images are not being displayed. Anyone knows why?

Jun
25
1 month ago
Activity icon

Replied to Mission Session Files

...it would be helpful to add that I realised that even some other apps which I had hosted successfully(locally though) also went berserk in the same fashion. This is when I realised something sinister was at play. I had earlier run some commands to upgrade homestead but it appears it did not go well.

Activity icon

Replied to Mission Session Files

Thanks @bobbybouwmann, I appreciate. However it turns out I had issues with virtualisation. All I needed to do was update homestead and VirtualBox.

This is ok now.

Activity icon

Started a new Conversation Mission Session Files

I have been running into this error ErrorException file_put_contents(/home/vagrant/code/{appName}/storage/framework/sessions/R5wfYmXe8OK5ee0k0dE7JG4572nm8Uu2Q5Asm0Fw): failed to open stream: Permission denied

The problem is, there are no session files in the sessions directory. But the driver in config.sessions.php is set to file. My guess is I am missing something or that homestead is storing and trying to access some other session files (obviously not table sessions) because the sessions driver is set to file so I expected to at least see the the files.

I have tried all tricks I can imagine. Like running php artisan optimize:clear and all other clears like config:clear, view:clear, route:clear, artisan clear compiled. Nothing seem to work.

I have set permissions with chmod -R 775 storage/framework/sessions, nothing seem to work.

Feb
21
5 months ago
Activity icon

Replied to Update The Record If It Exists Laravel

thanks alot this worked

Activity icon

Started a new Conversation Update The Record If It Exists Laravel

i want to implement when a user rates its performed only once but its creating a new record this is the function

public function store(Request $request)
    {
        $star_value=$request->star_value;
        $user_id = Auth::user()->id;
        $movie_id=$request->movie_id;

        $rating = Rating::updateOrCreate([
            'star_value'=>$star_value],

            ['user_id' => $user_id, 'movie_id' => $movie_id]
        ); 

        return response()->json();


    }