Laravel 5.4 info

Replace lists() with pluck()


Error: Missing argument 1 for Illuminate\Support\MessageBag::has()

Replace the following line:

@if ($errors->has())


@if ( count( $errors ) > 0 )


Configuring your Laravel 5.4 Application just in 5 easy steps. :

PWA with Ionic !!

PWA collection:
Progressive Web Apps :

Progressive Web App Summit Videos:


What Progressive Web Apps can do for you?

This allows you to get your app out faster and to more people than you would be able to with deploying to the App Store and Google Play. Also, because you are not tied to the app store, this means that updates can be immediately available to everyone using your app, by simply pushing your new code to your web server. And because PWAs run in the browser, your single PWA can then be reached from just a click on a URL, greatly reducing the barrier to entry to your app!


Progressive Web Apps

A new way to deliver amazing user experiences on the web. :

What’s driving this trend? Part of it could be app fatigue among consumers who care more about mobile experiences and less about installing yet another app, and developers who want their apps to run on mobile and desktop web environments, not just in the app stores.

Progressive Web Apps in Ionic :

Progressive Web App Examples:

2017 Ionic Developer Survey

Hybrid dev is dominating, PWAs are on fire, and while Google Firebase is hot – wearables are not.

Two years ago, 20% of developers surveyed were building exclusively with native tools instead of hybrid. In the next two years, that number is only 2.9% – a nearly 7x decrease.

Finally, 31.5% of developers are targeting progressive web apps. That’s a big jump for something the dev community just started talking about two years ago. Meanwhile, responsive web apps were targeted by 34.7% of respondents. What’s driving this trend? Part of it could be app fatigue among consumers who care more about mobile experiences and less about installing yet another app, and developers who want their apps to run on mobile and desktop web environments, not just in the app stores.

Ne használj MD5 titkosítást

„Az egyirányú függvények úgy működnek, hogy az egyik irányban nagyon könnyű őket kiszámolni, a másik irányban pedig nehéz. Ez utóbbi arra hagyatkozik, hogy matematikailag meg lehet mondani, mekkora számítási kapacitás kell ahhoz, hogy kiszámoljuk. Ahogy nő a számítógépek képessége, úgy egy-egy hash függvény elavulttá válik. Pont ez a probléma az MD5-tel, hogy erre léteznek már algoritmusok, melyekkel vissza lehet fejteni az eredeti jelszót. Az általánosságban elmondható, hogy ha valaki MD5-öt használ, ismeri a titkosítási alapelvet, de nem a megfelelő függvényt, az aktuális szabványt használja.”
Miért problémás így titkosítani?

A hash egy egyirányú függvény, aminek ha megadunk egy tetszőleges hosszúságú szöveget, akkor abból egy fix hosszúságú, egyedi azonosítót generál. Az adott adatbázisokban ezt az egyedi hash-t és nem magát a jelszót tárolják sima szövegként.

Például: szormok = 7ac71ad56115c8fb73392549d3a78540

Modern rendszereknél a jelszavakat lassú, egyirányú függvényekkel kódolják (pl. Bcrypt, Scrypt vagy PBKDF2 10000+) Az MD5 viszont egy nagyon gyors függvény, így gyorsan végigpróbálható számos lehetőség. Példaképp a mai számítógépes kapacitások figyelembevételével, egy GTX980-as videókártyával MD5 esetén egy másodperc alatt 9745 millió hash-t tudnak végigpróbálni, míg Scryptnél másodpercenként csak 12 (!!) hash-t –azaz: egy másodperc alatt az A betűtől eljutnak az L-ig.

A brute force jelszótörő programok (pl. hashcat) mellett úgynevezett rainbow table-kkel is visszafejthetőek az egyszerűbb jelszavak. Ez lényegében egy óriási táblázat, ami az összes létező jelszókombinációt és a hozzá tartozó hash-t tartalmazza adott hosszúságig.

Így gyorsan visszafejthető, hogy ki használja az adatbázisban a “7ac71ad56115c8fb73392549d3a78540” jelszót, ami jelen esetben a “szormok”.


Is the App Store dead?

“The App Store is hard. Because you’re only selling these for a small amount of muney. And, Apple or Android is taking their cut. And, there’s so much competition out there.”

That’s probably true.

But, there’s also stories like Tasnim Ahmed…

Who went from jobless to 100K with apps…

Or Jan Kourn, who was on welfare and food stamps…

Only to have his app, WhatsApp, bought for 21.8B…

(John Morris)

Convert iOS developer account from individual to company

I have enrolled my apple account as Individual for iOS development program. Now I wish to convert it into Company/Organisation account.

If you have enrolled as an individual and need to convert your individual account to a company account, please contact us.

Program Roles and iTunes Connect Roles:

Add a team member to your Apple Developer Program:

Enrolling as an Organization:

When things go bad with a client

I think a lot of developers are scared of this.

And, what happens is they’re so scared of making a client mad that they cave when the client pushes the scope of the project… or asks them to do something that is a terrible idea… or is flaking on their part of the process then blaming you for the project being delayed.

Etc, etc.

Well… let me tell you a little story.

I once had a client who accidentally sent me an email with a thread attached that was between her and her team. And, it said some pretty nasty things about me. Now, mind you, every conversation I had with her was pleasant and I thought things were going just fine.

Apparently not.

So, when I read it, what did I do?

Did I ask what I was doing wrong?

Did I immediately call her to “fix” things?

Did I freak out and assume I’d never get a client again?


I emailed her and told her we’re done. I copied and pasted what she had wrote in the thread and said, “Obviously things aren’t working out so it’s best we just part ways… immediately.”

Of course, she apologized profusely…

And, begged me to stay on.

In fact, about 6 months later, she tweeted me asking to talk…

And, wanting to hire me back…

And, I told her no.

This is the thing about having standards and a sense of self-respect. I know you probably need the muney. But, it’s just simply not worth “selling your soul” over. You might now believe that right now…

But, someday, these words will ring true for you.

Point is…

Don’t be scared of your clients. Don’t let them bully or cajole you into doing things you know you shouldn’t do. No one client no matter how big or well-known can ruin your career.

And, if you’re trying to do the right thing…

And, admitting when you do make mistakes…

Even if they put you on blast…

Others will see you’re a good person…

And, not hold it against you.

Anyway, do with that what you will.

It’s a much more important less than you might initially think.

Now, onto da biz…



(John Morris letter)

The Complete Software Developer’s Career Guide – $1

The Complete Software Developer’s Career Guide: How to Learn Programming Languages Quickly, Ace Your Programming Interview, and Land Your Software Developer Dream Job

Technical Knowledge Alone Isn’t Enough – Increase Your Software Development Income by Leveling Up Your Soft Skills

Early in his software developer career, John Sonmez discovered that technical knowledge alone isn’t enough to break through to the next income level – developers need “soft skills” like the ability to learn new technologies just in time, communicate clearly with management and consulting clients, negotiate a fair hourly rate, and unite teammates and coworkers in working toward a common goal.

As John invested in these skills his career took off, and he became a highly paid, highly sought-after developer and consultant.

Today John helps more than 1.4 million programmers every year to increase their income by developing this unique blend of skills.

“If you’re a developer, green or a veteran, you owe it to yourself to read The Complete Software Developers Career Guide.” – Jason Down, Platform Developer, Ontario, Canada
What You Will Learn in This Book

How to systematically find and fill the gaps in your technical knowledge so you can face any new challenge with confidence
Should you take contract work – or hold out for a salaried position? Which will earn you more, what the tradeoffs are, and how your personality should sway your choice
Should you learn JavaScript, C#, Python, C++? How to decide which programming language you should master first
Ever notice how every job ever posted requires “3-5 years of experience,” which you don’t have? Simple solution for this frustrating chicken-and-egg problem that allows you to build legitimate job experience while you learn to code
Is earning a computer science degree a necessity – or a total waste of time? How to get a college degree with maximum credibility and minimum debt
Coding bootcampssome are great, some are complete scams. How to tell the difference so you don’t find yourself cheated out of $10,000
Interviewer tells you, “Dress code is casual around here – the development team wears flipflops.” What should you wear?
How do you deal with a boss who’s a micromanager. Plus how helping your manager with his goals can make you the MVP of your team
The technical skills that every professional developer must have – but no one teaches you (most developers are missing some critical pieces, they don’t teach this stuff in college, you’re expected to just “know” this)
An inside look at the recruiting industry. What that “friendly” recruiter really wants from you, how they get paid, and how to avoid getting pigeonholed into a job you’ll hate

Who Should Read This Book
Entry-Level Developers

This book will show you how to ensure you have the technical skills your future boss is looking for, create a resume that leaps off a hiring manager’s desk, and escape the “no work experience” trap.
Mid-Career Developers

You’ll see how to find and fill in gaps in your technical knowledge, position yourself as the one team member your boss can’t live without, and turn those dreaded annual reviews into chance to make an iron-clad case for your salary bump.
Senior Developers

This book will show you how to become a specialist who can command above-market wages, how building a name for yourself can make opportunities come to you, and how to decide whether consulting or entrepreneurship are paths you should pursue.
Brand New Developers

In this book you’ll discover what it’s like to be a professional software developer, how to go from “I know some code” to possessing the skills to work on a development team, how to speed along your learning by avoiding common beginner traps, and how to decide whether you should invest in a programming degree or “bootcamp.”

Apple Developer Membership – Renewing Your Annual Membership 99$/year

You can renew starting 30 days before the expiration date of your existing membership or any time after it expires.

If your Apple Developer Program membership expires, your apps will no longer be available for download and you will not be able to submit new apps or updates. You will lose access to pre-release software, Certificates, Identifiers & Profiles, and Technical Support Incidents. However, your apps will still function for users who have already installed or downloaded them, and you will still have access to iTunes Connect and free development resources.

If your Apple Developer Enterprise Program membership expires, your apps will no longer be available for download and will no longer function for those who have already installed or downloaded them. You will still have access to free development resources.