DigiProduct

DigiProduct

Member Since 2 Months Ago

Experience Points 19,760
Experience Level 4

240 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 190
Lessons
Completed
Best Reply Awards 1
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

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

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

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

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

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

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

19 Feb
1 month ago

DigiProduct left a reply on Filter Multiple Results From Database In View

@daugaard47 You might find it useful to review the talk given by Jonathan Reinink on "Advanced Querying with Eloquent" ( https://laracon.net/2018 ).

He builds up a multi-part query in that talk.

18 Feb
1 month ago

DigiProduct left a reply on Problem Viewing Videos

Just to help you confirm that the issue is at your browser and not at Laracasts ... I can watch that video fine in Chrome

16 Feb
1 month ago

DigiProduct left a reply on Does Any Time Series Adjustable Chart Package Exist For Laravel?

You mentioned time series data charts ... but didn't mention that the zooming was the critical feature for you.

Now that you've identified the critical issue, maybe someone will know of an alternative.

15 Feb
1 month ago

DigiProduct left a reply on Access Vue Variables From Slot Data

I thought you needed ... "access/update Vue data variable from inside a named slot"

So isn't it all happening inside Vue?

DigiProduct left a reply on Access Vue Variables From Slot Data

Jeffrey covers that in his Vue course (episodes 12 and 13)

https://laracasts.com/series/learn-vue-2-step-by-step

14 Feb
1 month ago

DigiProduct left a reply on Scope To Get All Records That Have Anniversary Within The Next Two Weeks

The following code is an example provided by Jonathan Reinick at Laracon 2018 during his talk about Eloquent

Birthdays this week

   public function scopeWhereBirthdayThisWeek($query)
   {
       $start = Carbon::now()->startOfWeek();
       $end = Carbon::now()->endOfWeek();
       $dates = collect(new \DatePeriod($start, new \DateInterval('P1D'), $end))->map(function ($date) {
           return $date->format('md');
       });
       return $query->whereNotNull('birth_date')->whereIn(\DB::raw("to_char(birth_date, 'MMDD')"), $dates);
   }

DigiProduct left a reply on HTML/CSS Animation?

Have a look at the Greensock GSAP libray

https://greensock.com/gsap

That may help you achieve what you want

11 Feb
1 month ago

DigiProduct left a reply on Countdown Is Not Defined

In case it helps anyone who finds this thread, I came across this Vue countdown timer, and decided to use this to create a Vue component for my own use.

https://codepen.io/negarjf/pen/MVwaew

DigiProduct left a reply on Countdown Is Not Defined

@bobbybouwmann thanks again.

Yes, it's quite old, and my first inclination had been to just "include" it, like I would have done in years gone by.

I've only recently started using Laravel, and have decided to started using new techniques to bring my skills up-to-date, and where possible use best-practices.

So, just to clarify, if the library had been compatible to modern standards, then then the following technique would have worked and would allow me access as I was attempting inside a script on a page? (Just need to understand for future)

window.countdown = require('countdown');

I actually decided that instead of persuing this technique... that it would be better to do it as a Vue component.

10 Feb
1 month ago

DigiProduct left a reply on Countdown Is Not Defined

@bobbybouwmann thanks for replying.

Did you mean that, in app.js, instead of using

import countdown from 'countdown';
window.countdown = countdown;

I should use

window.countdown = require('countdown');

I just tried that and still get the ReferenceError

DigiProduct started a new conversation Countdown Is Not Defined

I'm trying to use countdown.js with Laravel and having a few issues and hope soeone can point me in the right direction.

I'm using Laravel Mix, and have npm run watch going (I have even tried rerunning that)

I installed the package using the following command

npm install countdown --save

In app.js, I added the following

import countdown from 'countdown';
window.countdown = countdown;

In my blade file, below the main part of the html right before the body tag, I added

<script>
  console.log('about to use countdown');    
  mycountdown = countdown(new Date(2020,0,1)).toString();
  console.log(mycountdown); 
</script>

On the generated paged, in Chrome Dev Tools, I see the first console.log message and then I get the following error

Uncaught ReferenceError: countdown is not defined

Can anyone help me understand what I am doing wrong so I can correct this and avoid making similar mistakes in the future?

07 Feb
1 month ago

DigiProduct left a reply on Larecipe - Write Gorgeous Documentations Like Laravel.

Looks awesome

Can videos be embedded in the docs?

02 Feb
1 month ago

DigiProduct left a reply on Laravel And Vue Deployment

I'm just doing something very similar today ... I need to test another site posting into my development site.

I had previously heard about ngrok but never used it, so I just tried it and had my local development site available via the internet within 2 minutes of downloading the ngrok application.

It's amazingly simple ... literally couldn't be simpler.

  1. Download Ngrok from http://ngrok.com

  2. Extract the downloaded zip.

  3. At your command prompt, just type ngrok http 8000 ( or whatever port number you are using )

4 You'll get a screen of info, and you'll see 2 lines of "forwarding" info (one for http and one for https) ... it'll be something like

fowarding http://cc7c23ae.ngrok.io -> localhost:8000 fowarding https://cc7c23ae.ngrok.io -> localhost:8000

  1. Type the forwarding url into a browser on any machine connected to the internet, and you'll be connected to your local development site.

The connection lasts for up to 8 hours ... or until you stop the ngrok application on your computer.

That's it ...it's free, fantastically simple and amazingly useful.

31 Jan
1 month ago

DigiProduct left a reply on New Video Releases Aren't Showing Up In The Feed

Video 23 of the series Build A Laravel App With TDD is now available if you look at the feed ...

As well as in the feed, it also shows correctly on the main series page https://laracasts.com/series/build-a-laravel-app-with-tdd

But, just like video 22 of the series, it doesn't show on the search page https://laracasts.com/search

DigiProduct left a reply on Is There A Video That Shows Using SweetAlert?

I just installed it on a Laravel 5.7 project a few days ago and it was very easy.

I just followed the steps on the Github page.

DigiProduct left a reply on New Video Releases Aren't Showing Up In The Feed

The latest video (Project Activity Feeds: Part 3) shows if you access the full course list, and it shows in the feed ... but it does not show if you go via the "What's New" link