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 readingNode 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 readingWe 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 readingHere we want to update EmployeeNumber in Table1 from EmployeeNumber in Table2 where the id is 108912.
Continue readingSnippet 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 readingAfter 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 readingHaving a NAS to store files is great, but having a NAS as a media server is awesome. If one of your purposes to have bought a Synology NAS was to have it as a media server, then having Kodi in your PC/Mac/Fire TV is a must. By now you probably know that your Synology NAS gives you an option to install Plex in the NAS itself, however Plex cannot play everything, unlike Kodi.
Continue readingJavaScript ES6 snippet to filter the options in a select list.
Continue readingIn this example I am calling the Canvas LMS API to get a list of enrolled students, including their grades, for a specific course.
Continue readingSo I spent this past weekend creating an Online Markdown Editor. I used React.js…
Continue readingI have been learning React.js for some time now and just a few days back I came across this blog post with 5 code challenges, from the dead simple Hello World to reading users from an API using Axios. Below are the challenges and my solutions.
Continue reading