egarcia

Member Since 4 Years Ago

Monterrey

Software Engineer at Inodata

Experience Points 28,000
Experience Level 6

2,000 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 438
Lessons
Completed
Best Reply Awards 1
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 Apr
3 months ago

egarcia left a reply on [Homestead] NFS Error Message

@VEDANTRM17 - Did you put the type: "nfs" directive under "folders" instead of "sites"?

09 Sep
1 year ago

egarcia left a reply on Laravel 5 Route For Robots.txt

I'm using Laravel Valet and solved a 404 error simply securing a site with valet secure project

I test it with a simple route pointing to this function:

    public function robots()
    {
        return response(view('robots'))
            ->header('Content-Type', 'text/plain');
    }

Before enabling TLS route it works, content is correctly displayed but with 404 status even forcing to 200

19 Jul
2 years ago

egarcia left a reply on Failed To Rename A Column In A Migration.

As in laravel's documentation, you cannot rename a column of enum type

See: https://laravel.com/docs/5.4/migrations#modifying-columns

19 Jun
2 years ago

egarcia started a new conversation Insights Of Laravelbook/ardent

Has someone any insight about laravel ardent?

These days it worth?

15 Mar
2 years ago

egarcia left a reply on Spark V4: Error Sending Team Invitations

It was a missconfiguration with mailgun's secret key, my fault!

Laravel or Spark must handle ClientException in RequestException and display a flash message?

Because invitation it was created, but incomplete due a missing email.

@briang sorry for a late response, your comment helped me to remember uncheck my filters in debug tool

10 Mar
2 years ago

egarcia left a reply on Spark V4: Error Sending Team Invitations

I'll try to setup smtp or mail trap to test my email configuration

09 Mar
2 years ago

egarcia left a reply on Spark V4: Error Sending Team Invitations

@Cronix Yes, everything running ok, even previously cleared my node_modules directory to avoid any conflict with new versions

egarcia started a new conversation Spark V4: Error Sending Team Invitations

Just upgraded to version 4.0.7 and I'm getting an 500 server error at the moment of send an invitation to a new member team.

I previously setup my mail driver to mailgun but appears to be a problem with ajax post on this route: ```https://{domain}.dev/settings/teams/1/invitations````

This error appears on javascript console:

Imgur

egarcia left a reply on Allowed Memory Size Of 134217728 Bytes Exhausted

@kickthemooon You are right, I forgot php's garbage collector.

egarcia left a reply on Allowed Memory Size Of 134217728 Bytes Exhausted

You can delete $[variable] = null; at the end, unset() function already destroys the variables ;)

29 Dec
2 years ago
16 Mar
3 years ago

egarcia left a reply on Test Api 404 On Multiple Requests

You don't have to access phpunit's xpath because your TestCase class boots up with an application instance, so you already have access to App::environment() Facade or even better you have access to app()->environment() helper, so your code can be simpler like this:

foreach (File::allFiles(__DIR__ . '/Routes') as $partial) {
    if (app()->environment('testing')) {
        require $partial->getPathname();
    } else {
        require_once $partial->getPathname();
    }
}
21 Oct
3 years ago

egarcia left a reply on [Homestead] NFS Error Message

@olimorris Any resolution with this issue? Just happened to me with a recently added box.

27 Aug
3 years ago

egarcia left a reply on Problem Executing Mix.compass() Twice.

@acatcalledanarchy Install Laravel Elixir 3, that solves my problem.

egarcia left a reply on Laravel Elixir - Multiple Sets Of Scripts

Laravel Elixir 3.0 solves my problem ;)

22 Jul
4 years ago
10 Jul
4 years ago

egarcia left a reply on Problem Executing Mix.compass() Twice.

No, I commented the frontend section, run gulp and then uncommented to run again gulp and generate the proper css in each set :(

Very ugly solution for the moment.

15 Jun
4 years ago

egarcia left a reply on Laravel Elixir - Multiple Sets Of Scripts

I have a similar issue with a different set of css using compass, this other post has my code:

https://laracasts.com/discuss/channels/elixir/problem-executing-mixcompass-twice

Someone knows hot to run that?

egarcia started a new conversation Problem Executing Mix.compass() Twice.

I have the code above, however task .compass only compiles assets from sass/frontend.

How can I run mix.compass with different sass path?

elixir(function(mix) {
    mix.compass( "*", assets_path + "css/compiled/backend",
            {
                sass: assets_path + 'sass/backend',
                image: assets_path + 'img/'
            }
        );
        .styles([assets_path + "css/compiled/backend/*.css"], public_path + "css/backend.css")

        .compass( "*", assets_path + "css/compiled/frontend",
            {
                sass: assets_path + 'sass/frontend',
                image: assets_path + 'img/'
            }
        )
        .styles([assets_path + "css/compiled/frontend/*.css"], public_path + "css/frontend.css")

        .styles([assets_path + "css/*.css"], public_path + "css/all.css")

        .coffee()
        .scripts()
        .copy(assets_path + "favicons", public_path + "images/favicons")
        .version([
            'js/app.js',
            'js/all.js',
            'css/all.css',
            'css/frontend.css',
            'css/backend.css'
        ])
        .imagemin("*", public_path + "images/")

        .livereload();

});