Javascript ES6 … 3 dots 101

Javascript ES6 … 3 dots 101

Jun 21, 2018 javascript by tzookb
ES6 3 dots syntax has a lot of awesome tricks to do a lot of tricks and variable manipulations. As it can save you many lines of code it will help you with your functional programing as it doesn’t mutate the “changed” variable.   Javascript actions without mutating   extract a key from object remove […]

Fullstack Developers VS Specific Developer

What are FrontEnd, Backend & Fullstack developers As developers we have huge amounts of skills to master even if we focus on a single language or a single type of development. Luckily there are a lot of intersections no matter what language you use. Like: design patterns, dependency injection, MVC, controllers, factories etc. Frontend Developer […]

Hackerrank – Queues: A Tale of Two Stacks

Exercise: Queues: A Tale of Two Stacks Site: Hackerank Link: hackerrank Language: Python Just got back to my daily programming exercises and start with this nice question on implementing a queue with 2 stacks. So the requirements are simply having a Queue with these methods: put(value) //add another element to the queue pop() //returns the first element peak() //previews […]

JavaScript Console – Life Saving Tricks

Are you still having those console.log lines to debug your code or to inform other devs for the use of your code? If so, read on… Designed Log Message console.log('%cdesigned', 'css:rules; right:here'); Different Types Of Log Messages log: We all know this one Warn: eye-catching yellow exclamation message info: looks similar to “log” error: eye-catching […]

JWT Awesome Killer Use Cases

You got yourself your new feature to work on, another login system, log service, social plugin etc. While you are talking to your team about the new feature, dozens of thoughts and ideas are running through your mind and you just want to run back to your keyboard. Does that sound familiar? I assume it […]

What The Hack is JWT ?!

I was just writing on some of my coding adventures with some new awesome features I did and took advantage of JWT. While I was writing that post as I assumed everyone knows what is JWT, I decided to write a quick note about it. Just in case 🙂 So in a brief JWT is […]

FacebooK Custom Audience API Creation

Facebook API is quite robust and you have a lot of loose ends you need to cover. You need to handle limits for your app, for your user, for your account and much more. Our recent project was to sync our local users lists in to Facebook “Custom Audience”. On the surface it sounds super […]

Git #101 tips and best practices

Git is an amazing tool, and I can surely say it saved my life for several times during my career. adding code #create a new commit git commit -am "some commit msg" Updating code # push your code to main repo git push # update your code from main repo git push Checkout branches # […]

Rework – Book Review & Handpicked Notes

Something like 3 years ago I decided to start reading more books and this decision had a great impact on my life. With all that great knowledge I get to digest I want to start sharing my notes on all my reading so I’ll start with this AMAZING book who I finished in 3 hours! […]

Balanced Brackets Problem HackerRank

Nice problem for that is used on all of our IDEs simply checking if our brackets fit together. Problems description here Solution Brief: Simply running through each char in the string, checking if its a bracket or not. On our case, it always brackets. Now if it’s an opening bracket push it into our stack. If […]