Jump to content

leodaniel

Member
  • Content count

    365
  • Joined

  • Last visited

Awards


This user doesn't have any awards

1 Follower

About leodaniel

  • Title
    Member

Contact Methods

  • Twitter
    https://twitter.com/leodaniel

Profile Information

  • Gender
    Male
  • Location
    Switzerland
  • Biography
    Business Management Student @ University St. Gallen (Switzerland), WebDeveloper / Designer (PHP / Javascript / HTML5 / CSS3)
  • Occupation
    Business Management Student @ University St. Gallen

System

  • CPU
    i7 4930k @ 3.4GHz
  • Motherboard
    ASUS Rampage IV Gene
  • RAM
    4x 8 Gb Kingston HyperX 1866Mhz
  • GPU
    NVIDIA GTX 780 (Reference Design)
  • Case
    FractalDesign R4 Mini
  • Storage
    2x 120Gb Samsung Evo - 2x 4TB Caviar Black - 2x 2TB BackupDrive
  • PSU
    Corsair AX760i
  • Display(s)
    2x DELL U2713HM
  • Cooling
    H80i
  • Keyboard
    Apple Wireless KeyBoard
  • Mouse
    Logitech MX Master
  • Sound
    Focusrite Scarlett 2i2
  • Operating System
    CentOS 7 & Windows Professional 10

Recent Profile Visitors

650 profile views
  1. What Laptops do you guys use?

    I completely agree here with you I agree, tho for my usage, I usually only have one or max 2 vms running and use docker too but I still like to use the terminal quiet often, also for other tasks on my mac, like quickly editing a file, just having native PHP or whatever, ... I have to admit, since quiet some time I havent looked into developing on windows machines, as I am really happy with os x and linux Here again, I m not sure what is all included in that price. Anyway, if it's just around 500$ I would still argue, if you are seriously into development (or rely on your device), it doesn't matter... you amortize such a device in 2-3 years max. Will make a difference about ~200$ per year, which should not limit your choice by any means. I really value great support and just being able to go to the apple store in my town and let it be repaired in a really short time is gold to me and again I don't know about the service of other laptops as I don't have any experience. So this could also be the case for other laptop manufacturers, I only want to say, this is something to consider when buying a laptop you will rely on In the end, it is just personal preference
  2. What Laptops do you guys use?

    I agree you don't need one, but having a unix based system is a benefit in my opinon (or for what I do, it's definitely a benefit). And I just love the ecosystem by now, will be hard for me to change to a windows laptop. I term of price, it doesn't really matter to me as I use them over several years (I had a 2012 MBPr for over 5 years) usually without any problems. I am okey to pay a premium for the good service I always got. For sure, you get awesome laptops from other brands, which may even be cheaper for the same performance. I didn't really check the prices lately, but I think for the same design, performance and build quality, we are anyway speaking of expensive hardware in more or less the same price category (+/- 300$). But those are only my preferences
  3. PHP Laravel Undefined property help needed.

    From what I can tell, there should be no problem. Laravel Collection implements ArrayAccess and the variable $service is a string. So calling the in array function should work fine. But I completely agree:
  4. What Laptops do you guys use?

    MacBook Pro Retina 15" 2017 I personally always use mac laptops. It's not budget for sure, but the build qualitiy is awesome and for web development, mac osx is great.
  5. PHP Laravel Undefined property help needed.

    You can also use intersect $intersection = $value->service->intersect($request->service); if( $intersection->notEmpty() ){ $ok = true; }
  6. PHP Laravel Undefined property help needed.

    I don't know your error, but if $value->service is a collection I would use $value->service->each(function ($item, $key) use($request,$ok) { if( in_array($item,$request->services) ){ $ok = true; // return false to break the loop return false; } });
  7. VuetifyJS Conditionally Disabling Components

    <component :disabled="true"></component>
  8. vertically center when coding a website

    As we are in 2018 you can use Flexbox Vertically centering is made easy: .parent{ display:flex; align-items:center; }
  9. Laravel L55 return custom $errors to the view

    You can throw a validation exception...
  10. I personally use MJML and webpack for that. I think its one of the best options and easy to configure with Laravel mix
  11. Laravel form submits to multiple tables.

    In my opinion, JS is the future (and I have to admit i really like it) but I understand you
  12. Laravel form submits to multiple tables.

    So thats right, nothing about that, arrays always have keys Maybe, if it gets more complicated, use a ajax to send your requests (axios? maybe in combination with vue)
  13. Laravel form submits to multiple tables.

    Oh you are probably talking about a model right? Yes use create
  14. Laravel form submits to multiple tables.

    I changed it a little bit, because of course the Request extends SymfonyRequest and will probably throw an error / notice if you construct it just like that. I think, i would use either store or create... I think store is more common
  15. Laravel form submits to multiple tables.

    If it makes your validator way to complicated, consider just merging the rules. It just looks way cleaner than having complex rules. <?php class CustomerRequest(){ /** * @return array */ public static function getRules(){ return [ 'customer'=>'required' ] } /** * @return array */ public function rules(){ return self::getRules(); } } class CustomerTaskRequest{ /** * @return array */ public function rules(){ return array_merge( [ 'task.name'=>'required', ], CustomerRequest::getRules() ); } }
×