shadrix

shadrix

Member Since 2 Years Ago

Experience Points
50,700
Total
Experience

4,300 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
449
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 11
50,700 XP
Feb
03
1 month ago
Activity icon

Started a new Conversation As A Professional, How Do You Send Compiled Code To Your Client?

Hey, I'm starting to work as a freelance coder. And in my current project, I need to fix some frontend issues for a static landing page. The client gave me an FTP-access but with reading only.

Currently, I'm sending the fixes with attachments via email. But I feel kinda dumb and unprofessional.

What's the best way to send code to your client? So that he can download from it.

Nov
04
4 months ago
Activity icon

Replied to How Would You Backup Valuable SQL-data?

@jove short and simple answer. Thanks!

Nov
03
4 months ago
Activity icon

Started a new Conversation How Would You Backup Valuable SQL-data?

Do you have any tips for me what I should do, when I have a server, that saves valuable information in MySQL (like transaction data)? Currently, I would try to install a SQL Replication sever. Does this mean, that I need to pay for an extra server, right?

What would you do in my case? Technically, to be save, I would need to backup all data for every second.

Oct
24
5 months ago
Activity icon

Replied to I'm Nervous That My App's Security Has Flaws. Asking For Feedback.

@primordial Actually, I'm wondering. Why is this the case? What are the bots trying to do? I added whois to my fail2ban and I constantly see big companies attacking me, like Microsoft et.c

Oct
19
5 months ago
Activity icon

Started a new Conversation How Do I Move My Images To S3 In Production And In Development Let It Stay Locally?

I have read this thread, however I'm still not really sure how to handle this.

Of course, I could set FILESYSTEM_DRIVER to s3, but this won't really work.

Let me explain:

If we upload a simple avatar file:

request()
        ->file('avatar')
        ->store('avatars', 'public')

The file is saved in the DB for example: avatars/R6ZGC9U0c22mKMcAADZbc8kJeU8soTvOuNFvnYgv.jpeg

This file is stored in the local public storage file. However, if we now want to change the default filesystem to S3, nothing is going to change obviously.

Now, this is going to be even harder, when we fetch the image via the assetmethod. Usually, I just need to write:

 public function getAvatarAttribute($avatar)
{
    return asset('storage/' . $avatar));
}

to get the avatar file (because of the symlink in the public folder).

What now? I obviously don't save a storage folder.

How would you handle this?

Oct
09
5 months ago
Activity icon

Replied to Help: Background Video Streaming, What To Use? (YouTube Is Not Allowed)

@tnorthcutt Here watch this in action. I would say this should not be a problem for users.

Vimeo is also an American company so it's a no go as well :(

How expensive would this video example be when I leave it on digitalocean? Let's say with 30k viewers per month?

Activity icon

Started a new Conversation Help: Background Video Streaming, What To Use? (YouTube Is Not Allowed)

In Germany / Europe we have this shitty policy privacy (GDPR) that you are not allowed to use YoutTube Videos in the background if the user didn't accept it. I could load the video on my server, but because I want to have the lowest traffic cost, where would you put the video?

Activity icon

Replied to GitLab CI: Do You Put Your MIX_keys Into .env.exampe?

I think you didn't understand my question or maybe I didn't understand your answer.

So let's go to: https://github.com/laravel/laravel/blob/master/.env.example

At the very bottom you will see:

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

How could you tell GitLab the PUSHER_APP_KEY when using it in a docker enviroment?

Oct
07
5 months ago
Activity icon

Started a new Conversation GitLab CI: Do You Put Your MIX_keys Into .env.exampe?

Hey :) so I read a lot about GitLab CI and how you can deploy your server. However, now I noticed that there might be a small problem. Wenn GitLab is running npm run production it compiles the code with the MIX_<variables>.

Normally, I would not put the API keys in .env.example, but in this case does it really matter, because you can read out the keys anyway by looking into the javascript code?

Oct
06
5 months ago
Activity icon

Started a new Conversation Phpunit Test Slow - On Local Machine 3 Minutes On GitLab-CI 44 Minutes

Do you have any tips on what I can do about this?

I have 745 tests that I am testing before deploying, however on GitLab-CI it takes ages to complete them. I run 3 workes at the time, but still.

I'm considering to rewrite every test so I don't need to call resfreshDatabase-Trait. But still that's tough... Any ideas?

How/when and where do you test your app?

Oct
05
5 months ago
Activity icon

Started a new Conversation On What Kind Of Computer Does GitLab CI Work?

That's not quite clear for me and I cannot find the answer. I'm using GitLab CI, however, the phpunit stage is soooo slow and I don't really why. (On my computer, 745 tests finish in 3.25 minutes on GitLab 35 Minutes...)

What are the specs of the GitLab CI computers/servers?

Sep
30
6 months ago
Activity icon

Started a new Conversation Would You Still Phpunit Test On The Server Before Deployment?

I'm currently reading this: https://docs.gitlab.com/ee/ci/examples/laravel_with_gitlab_and_envoy/index.html

And now I wonder, would you still test your code on the server via docker although your testing is fine locally on your computer?

When does it make sense?

Sep
29
6 months ago
Activity icon

Replied to Which Server Do You Take For Digital Ocean?

@snapey thanks for your reply. Interesting! Currently, I fixed this prolblem by installing Laravel locally and then via git clone bringing it to the server.

My question to you. Are you using swap for memory? Or is the 1gb of ram enough for your websites?