Apple Calendar: Color code events by making separate calendars
When creating entries in a digital calendar for the first time an obvious action would be to color-code different kinds of events, perhaps by using a popup menu that has categories names and associated colors. This would provide at-a-glance access to the…
How to use TypeScript optional parameters with example code
TypeScript is a superset of JavaScript that has climbed up in popularity in the past few years. In this post, we will learn how to use optional parameters in TypeScript functions, let’s get started! Table of contents # Example of printing full name # For…
How to use Jest beforeEach to write better unit tests with example code
Jest is one of the most popular testing frameworks in JavaScript. In this post, we will delve into using Jest beforeEach properly to make unit testing better with JavaScript, let’s get going! Table of contents # More about Jest # Jest brands itself as a…
How to use JavaScript Promise.all with real-life code example
Async execution and promises are not easy to understand in any language and JavaScript is no exception. In this post, we will dissect how JavaScript Promise.all function works visually and with a real-life code example, let’s get started! Table of…
Return multiple values from a function call with code examples
Learn how to return multiple values from a function call in Javascript. Unlike go lang, JavaScript does not have a native way to return multiple values from a single function. In this post, you will learn how to improvise on this and get around the issue…
How to add days to a date in JavaScript (with code examples)
There are several use cases to add days to a date in JavaScript. For instance to get the date 5 days after today. In this post, you will learn how to add days to a date in JavaScript with and without external NPM packages. Let’s get rolling! Table of…
Exploring Deno and Bun (with code examples)
Node.js is the defacto JavaScript runtime for the backend. In this post, you will learn about newer Node.js alternatives Deno and Bun with a simple Joke API code example and how to host it. Let’s get started! Table of contents # Not comparing with…
Hackers Breached Samsung Security and Stole Galaxy Source Code
Samsung has confirmed that hackers breached its data security and were able to steal Galaxy smartphone source code. The company says the cyberattack did not affect customer or employee information. Over the weekend, Bleeping Computer reported that South…
Hackers Brag About Breaching Samsung, Flaunt Images Of Source Code For Galaxy Smartphone As Proof
Samsung confirmed on Monday that it was the victim of a breach by a group of hackers who made off with the source code for the Galaxy Smartphone. News of the breach came over the weekend when a Telegram channel associated with a ransomware syndicate…
FBI warns of rise in QR code tampering
The FBI is warning about a rise in thieves tampering with legitimate codes, such as placing a sticker over a legitimate code giving it the appearance it’s real. SACRAMENTO, Calif. — Quick response, or QR, codes scannable by smart phone have become highly…