uncaught typeerror: $ is not a function
The dollar-sign ($) in Javascript has for many years now been associated with jQuery.
When you see this error:
“uncaught typeerror: $ is not a …
Read Article →In-depth guides, insights, and best practices for modern software engineering
The dollar-sign ($) in Javascript has for many years now been associated with jQuery.
When you see this error:
“uncaught typeerror: $ is not a …
Read Article →Let’s say that you have a Python list with the following 5 foods:
foods = ["pizza", "pasta", "steak", "chicken", …
Read Article →
This is not the first time that I created a Python3 application that spat out some output and required access to it via an HTTP server.
While there …
Read Article →Given the root node of a binary search tree, return the sum of values of all nodes with value between L and R (inclusive).
The binary search tree is …
Read Article →Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right.
Note that elements beyond …
Read Article →Python has never been the best at doing multiple things at the same time.
While there are ways to mostly resolve this, such as using the …
Read Article →If you need to replace all newline characters with a comma, or perhaps some other delimiter, then using the build-in tr utility will work very well …
If you have a busy PHP driven website and don’t want to make constant queries to the database for each user that will see the same data, then …
Read Article →You have a directory with a lot of files, and you want to delete only the files that don’t match a specific extension.
This is a simple task …
Read Article →So you are getting an error 404 or perhaps even worse, a 500!
The error in your Apache2 logs looks something like this:
***.162.245.*** - - …
Let’s say that you have an array or a list, or logs.
Each of these logs is a space-delimited string of words.
For example:
logs = ["dig1 8 …
Javascript is a powerful language, but sometimes it doesn’t always do what you expect it to.
Take the following expression for example. …
Read Article →