In one of my React projects I had to do a character counter for some text inputs, so I thought it would be fun to build a small project to count characters, words, sentences and paragraphs from a textbox in plain ol’ vanilla JavaSCript and also in React.
Continue readingUncaught ReferenceError: regeneratorRuntime is not defined – Two Solutions
Trying to use async/await in my React app gave me this error Uncaught ReferenceError: regeneratorRuntime is not defined. I found two solutions
Continue readingUncaught TypeError: Cannot assign to read only property ‘exports’ of object ‘# < Object >‘
This TypeError is thrown when import is combined with module.exports in a specific JavaScript file (module) and you are using Webpack 2.
Continue readingBricking My Android Phone And Bringing It Back To Life With The Power Of ADB Commands And TWRP
I was running an Android 7.1.1 custom rom, more specifically PureNexus (which is a great rom by the way), in my Nexus 5X and decided to upgrade to the latest build of PureNexus. So I did what every good person would do, I created a nandroid backup utilizing TWRP and I thought I was ready to revert back in case something went wrong with the upgrade.
Continue readingReact Starter Boilerplate with Hot Module Replacement and Webpack 3
This is a basic React boilerplate with React 16, Webpack 3 and Semantic UI React
Continue readingQuickly Set Up a Node ExpressJS Server to Serve a Static Site
Node is very practical and lets you set up a server very quickly, with just a few lines of code and allowing you to server your static site files.
I use Yarn as my preferred package manager, but you can use npm if you prefer.
Continue readingRemove Connected / Authorized Applications From Google, Instagram, Facebook, Twitter and GitHub
We live in a world where everyone wants to have access to your online data, and most of the time we give that data willingly by either allowing some app in Facebook to access our contacts and personal information, or by signing up to some website using Twitter, either way we give up our personal identity all the time and that poses security risks. Unless is a trusted source, that third party app or website could be selling your personal information and making a fortune at your expense, sometimes even trusted sources resort to doing that.
I’m not gonna lie, I also allow third party apps or websites to access my information, just because is easier to sign up to WebsiteX with my Facebook credentials than with my good ol’ fashioned email/password.
Continue readingUpdate Multiple Columns in SQL Server
Here we want to update EmployeeNumber in Table1 from EmployeeNumber in Table2 where the id is 108912.
Continue readingDate Range Validation in JavaScript ES5 and One-Liner ES6
Snippet to validate a date range where the start date cannot be greater than the end date in JavaScript, the ES5 way and the better one-liner ES6 way.
Continue readingThe Dependency Service or Group Failed To Start – Wireless Error
After cleaning a Windows computer from malware, I ran into this strange issue when attempting to connect to the internet. The computer was showing a big red X over the wireless icon and upon opening the Network and Sharing Center I would see the error message The Dependency Service or Group Failed To Start.
I was able to solve this issue by running two simple commands in Command Prompt.
Continue reading