[{"title":"Introducing Flit, a private dictation app for Mac 🎙️","short_title":"Introducing Flit","url":"/blog/flit","description":"Flit is out: a private dictation app for Mac, and a local alternative to Wispr Flow. Hold a key, talk, let go, and the text is already there. Nothing leaves your Mac, one payment, launch pricing for the first 50 licenses.","date":"Sep 11, 2026","categories":["Product Launch"]},{"title":"How we rebuilt Depost AI into an AI content team for LinkedIn","short_title":"How we rebuilt Depost AI","url":"/blog/depost-ai-2","description":"Depost AI 2 is live. Why we deleted a working product, what changed between version 1.0 and 2, and the four decisions behind an AI content team for LinkedIn.","date":"Sep 9, 2026","categories":["Product Launch"]},{"title":"Introducing Emoji Anywhere 😀","short_title":"Introducing Emoji Anywhere","url":"/blog/emoji-anywhere","description":"A free Chrome extension that brings Slack-style :shortcode: emoji to every text field on the web, plus a searchable picker in the toolbar.","date":"Aug 17, 2026","categories":["Product Launch"]},{"title":"Vibe coding lowered the bar to start","short_title":"Vibe coding lowered the bar to start","url":"/blog/vibe-coding-lowered-the-bar-to-start","description":"Vibe coding makes it easier to start building, but the real work of debugging, security, and production ownership has not gone away.","date":"Jun 23, 2026","categories":["AI"]},{"title":"The AI stack needs an exit plan","short_title":"The AI stack needs an exit plan","url":"/blog/ai-stack-exit-plan","description":"AI infrastructure risk, model access, and why open-source AI matters for resilience.","date":"Jun 13, 2026","categories":["AI"]},{"title":"Is Product Hunt still worth it?","short_title":"Is Product Hunt still worth it?","url":"/blog/is-product-hunt-still-worth-it","description":"A look at Product Hunt, launch day spikes, better launch channels, and why StartupBase is a stronger long term discovery layer.","date":"Jun 5, 2026","categories":["Startups"]},{"title":"StartupBase AI Launch Assistant","short_title":"StartupBase AI Launch Assistant","url":"/blog/startupbase-ai-launch-assistant","description":"A short note on why StartupBase now uses an AI Launch Assistant to help founders create product launch listings faster.","date":"May 10, 2026","categories":["Product Launch"]},{"title":"Introducing StartupBase 2 🚀","short_title":"Introducing StartupBase 2 🚀","url":"/blog/startupbase-2","description":"A concise founder launch story about rebuilding StartupBase with better product pages, launch visibility, discovery, and AI-assisted submissions.","date":"Apr 21, 2026","categories":["Product Launch"]},{"title":"Get the length of a Map in JavaScript","short_title":"Get the length of a Map in JavaScript","url":"/blog/javascript-map-get-length","description":"Learn how to use the size property to get the number of elements in a Map object in JavaScript.","date":"Dec 11, 2022","categories":["JavaScript"]},{"title":"Delete an element from a Map in JavaScript","short_title":"Delete an element from a Map in JavaScript","url":"/blog/javascript-map-delete-element","description":"Learn how to use the delete() method to remove an element from a Map in JavaScript.","date":"Dec 11, 2022","categories":["JavaScript"]},{"title":"Get the first element of a Map in JavaScript","short_title":"Get the first element of a Map in JavaScript","url":"/blog/javascript-map-get-first-element","description":"Learn how to use the entries() method to get the first element in a Map using JavaScript.","date":"Dec 10, 2022","categories":["JavaScript"]},{"title":"Get an element from a Map using JavaScript","short_title":"Get an element from a Map using JavaScript","url":"/blog/javascript-map-get-element","description":"Learn how to use the get() method to get an element from a Map object in JavaScript.","date":"Dec 10, 2022","categories":["JavaScript"]},{"title":"Update an element in a Map using JavaScript","short_title":"Update an element in a Map using JavaScript","url":"/blog/javascript-map-update-element","description":"Learn how to use the set() method to update an element in a Map using JavaScript.","date":"Dec 4, 2022","categories":["JavaScript"]},{"title":"Add an element to a Map in JavaScript","short_title":"Add an element to a Map in JavaScript","url":"/blog/javascript-map-add-element","description":"Learn how to use the set() method to add elements to a Map in JavaScript.","date":"Dec 4, 2022","categories":["JavaScript"]},{"title":"Convert a Map to an object in JavaScript","short_title":"Convert a Map to an object in JavaScript","url":"/blog/javascript-convert-map-to-object","description":"Learn how to use the Object.fromEntries() method to convert a Map to an object in JavaScript.","date":"Dec 4, 2022","categories":["JavaScript"]},{"title":"Convert an object to a Map in JavaScript","short_title":"Convert an object to a Map in JavaScript","url":"/blog/javascript-convert-object-to-map","description":"Learn how to convert an object to a Map object in JavaScript.","date":"Dec 4, 2022","categories":["JavaScript"]},{"title":"Convert an array of objects to a Map in JavaScript","short_title":"Convert an array of objects to a Map in JavaScript","url":"/blog/javascript-convert-array-of-objects-to-map","description":"Learn how to convert an array of nested objects to a Map object in JavaScript.","date":"Dec 4, 2022","categories":["JavaScript"]},{"title":"Create a new Map object in JavaScript","short_title":"Create a new Map object in JavaScript","url":"/blog/javascript-create-map-object","description":"Learn how to create a new Map object from arrays and objects in JavaScript.","date":"Dec 4, 2022","categories":["JavaScript"]},{"title":"Remove trailing zeros from a number in JavaScript","short_title":"Remove trailing zeros from a number in JavaScript","url":"/blog/javascript-remove-trailing-zeros-from-number","description":"Learn how to use the parseFloat() method to remove trailing zeros from a number in JavaScript.","date":"Nov 28, 2022","categories":["JavaScript"]},{"title":"Parse float with 2 decimal places in JavaScript","short_title":"Parse float with 2 decimal places in JavaScript","url":"/blog/javascript-parse-float-two-decimal-places","description":"Learn how to use the toFixed() method to parse a float with 2 decimal places in JavaScript.","date":"Nov 27, 2022","categories":["JavaScript"]},{"title":"Format a number to 2 decimal places in JavaScript","short_title":"Format a number to 2 decimal places in JavaScript","url":"/blog/javascript-format-numbers","description":"Learn how to use the Number.toFixed() method to format numbers to 2 decimal places in JavaScript.","date":"Nov 27, 2022","categories":["JavaScript"]},{"title":"Round a number to 2 decimal places in JavaScript","short_title":"Round a number to 2 decimal places in JavaScript","url":"/blog/javascript-round-numbers","description":"Learn how to round numbers in JavaScript using ceil(), floor(), and round() methods.","date":"Nov 26, 2022","categories":["JavaScript"]},{"title":"Calculate days between two OffsetDateTime objects in Java","short_title":"Calculate days between two OffsetDateTime objects in Java","url":"/blog/java-days-between-two-offsetdatetime-objects","description":"Learn how to use the ChronoUnit.DAYS enum to calculate days between two OffsetDateTime objects in Java.","date":"Nov 16, 2022","categories":["Java"]},{"title":"Calculate days between two ZonedDateTime objects in Java","short_title":"Calculate days between two ZonedDateTime objects in Java","url":"/blog/java-days-between-two-zoneddatetime-objects","description":"Learn how to use the ChronoUnit.DAYS enum to calculate days between two ZonedDateTime objects in Java.","date":"Nov 16, 2022","categories":["Java"]},{"title":"Calculate days between two LocalDateTime objects in Java","short_title":"Calculate days between two LocalDateTime objects in Java","url":"/blog/java-days-between-two-localdatetime-objects","description":"Learn how to use the ChronoUnit.DAYS enum to calculate days between two LocalDateTime objects in Java.","date":"Nov 16, 2022","categories":["Java"]},{"title":"Calculate days between two LocalDate objects in Java","short_title":"Calculate days between two LocalDate objects in Java","url":"/blog/java-days-between-two-localdate-objects","description":"Learn how to use the ChronoUnit.DAYS enum to calculate days between two LocalDate objects in Java.","date":"Nov 16, 2022","categories":["Java"]},{"title":"How to check if an enum value exists in Java","short_title":"Check if an enum value exists in Java","url":"/blog/java-check-if-enum-exists","description":"Learn how to use the valueOf() method to check if an enum contains the given string in Java.","date":"Nov 9, 2022","categories":["Java"]},{"title":"How to iterate over enum values in Java","short_title":"Iterate over enum values in Java","url":"/blog/java-iterate-enum-values","description":"Learn how to use the values() method to get a list of enum values and iterate over them using loops in Java.","date":"Nov 5, 2022","categories":["Java"]},{"title":"How to convert a string to an enum value in Java","short_title":"Convert a string to an enum value in Java","url":"/blog/java-string-to-enum","description":"Learn how to use the valueOf() method to convert a string to an equivalent enum constant in Java.","date":"Nov 5, 2022","categories":["Java"]},{"title":"How to convert a string to a char array in Java","short_title":"Convert a string to a char array in Java","url":"/blog/java-convert-string-to-char-array","description":"Learn how to use the String. toCharArray() method to convert a string into an array of characters in Java.","date":"Oct 30, 2022","categories":["Java"]},{"title":"How to convert a char array to a string in Java","short_title":"Convert a char array to a string in Java","url":"/blog/java-convert-char-array-to-string","description":"Learn how to use the string constructor, String.valueOf(), and other methods to convert a character array to a string in Java.","date":"Oct 30, 2022","categories":["Java"]},{"title":"How to convert a list to a map in Java","short_title":"Convert a list to a map in Java","url":"/blog/java-convert-list-to-map","description":"Learn how to use the Collectors.toMap() method from Streams API to convert a list to a map in Java.","date":"Oct 29, 2022","categories":["Java"]},{"title":"How to convert a list of objects to a list of strings in Java","short_title":"Convert a list of objects to a list of strings in Java","url":"/blog/java-convert-a-list-of-objects-to-list-of-strings","description":"Learn how to use the Streams API methods to convert a list of objects to a list of strings in Java.","date":"Oct 29, 2022","categories":["Java"]},{"title":"How to convert a list of strings to uppercase in Java","short_title":"Convert a list of strings to uppercase in Java","url":"/blog/java-convert-a-list-of-strings-to-uppercase","description":"Learn how to use the List.replaceAll() method to convert a list of strings to uppercase in Java.","date":"Oct 29, 2022","categories":["Java"]},{"title":"How to remove the last character from a string in JavaScript","short_title":"Remove the last character from a string in JavaScript","url":"/blog/javascript-remove-last-character-from-string","description":"Learn how to use the slice() and substring() methods to remove the characters from a string in JavaScript.","date":"Oct 25, 2022","categories":["JavaScript"]},{"title":"How to get the last N characters of a string in JavaScript","short_title":"Get the last N characters of a string in JavaScript","url":"/blog/javascript-get-last-n-characters-of-string","description":"Learn how to use the slice() and substring() methods to get the last N characters of a string in JavaScript.","date":"Oct 25, 2022","categories":["JavaScript"]},{"title":"How to get the last character of a string in JavaScript","short_title":"Get the last character of a string in JavaScript","url":"/blog/javascript-get-last-character-of-string","description":"Learn about multiple ways to get the last character of a string in JavaScript.","date":"Oct 25, 2022","categories":["JavaScript"]},{"title":"How to remove the first character from a string in JavaScript","short_title":"Remove the first character from a string in JavaScript","url":"/blog/javascript-remove-first-character-from-string","description":"Learn how to use the substring() method to remove one or more characters from a string in JavaScript.","date":"Oct 23, 2022","categories":["JavaScript"]},{"title":"How to get the first N characters of a string in JavaScript","short_title":"Get the first N characters of a string in JavaScript","url":"/blog/javascript-get-first-n-characters-of-string","description":"Learn how to use the slice() and substring() methods to get the first N characters of a string in JavaScript.","date":"Oct 23, 2022","categories":["JavaScript"]},{"title":"How to get the first character of a string in JavaScript","short_title":"Get the first character of a string in JavaScript","url":"/blog/javascript-get-first-character-of-string","description":"Learn about multiple ways to get the first character of a string in JavaScript.","date":"Oct 23, 2022","categories":["JavaScript"]},{"title":"How to check if a string is empty in JavaScript","short_title":"Check if a string is empty in JavaScript","url":"/blog/javascript-check-if-string-is-empty","description":"Learn how to use the length property to check if a string is empty in JavaScript.","date":"Oct 23, 2022","categories":["JavaScript"]},{"title":"How to use String replaceAll() method in JavaScript","short_title":"Use String replaceAll() method in JavaScript","url":"/blog/javascript-string-replaceall","description":"Learn how to use the replaceAll() method to replace all occurrences of a value in a string. ","date":"Oct 23, 2022","categories":["JavaScript"]},{"title":"How to replace a character in a string using JavaScript","short_title":"Replace a character in a string using JavaScript","url":"/blog/javascript-replace-character-in-string","description":"Learn how to use the replace() method to replace a specific character inside a string using JavaScript.","date":"Oct 23, 2022","categories":["JavaScript"]},{"title":"How to replace multiple spaces with a single space in JavaScript","short_title":"Replace multiple spaces with a single space in JavaScript","url":"/blog/javascript-replace-multiple-spaces-with-single-space","description":"Learn how to use the replace() method with a regex to replace multiple spaces with a single space in JavaScript.","date":"Oct 16, 2022","categories":["JavaScript"]},{"title":"Capitalize the first letter of each word in a string using JavaScript","short_title":"Capitalize the first letter of each word in a string using JavaScript","url":"/blog/javascript-capitalize-first-letter-of-each-word-in-string","description":"Learn how to use JavaScript split(), map(), and join() methods to capitalize each word in a string.","date":"Sep 30, 2022","categories":["JavaScript"]},{"title":"How to loop through object properties using Object.entries() in JavaScript","short_title":"Loop through object properties using Object.entries() in JavaScript","url":"/blog/javascript-iterate-object-using-object-entries","description":"Learn how to use the Object.entries() method to loop through an object's keys and values in JavaScript.","date":"Sep 19, 2022","categories":["JavaScript"]},{"title":"How to loop through object values using Object.values() in JavaScript","short_title":"Loop through object values using Object.values() in JavaScript","url":"/blog/javascript-iterate-object-using-object-values","description":"Learn how to use the Object.values() method to iterate over object values in JavaScript.","date":"Sep 19, 2022","categories":["JavaScript"]},{"title":"How to loop through object keys using Object.keys() in JavaScript","short_title":"Loop through object keys using Object.keys() in JavaScript","url":"/blog/javascript-iterate-object-using-object-keys","description":"Learn how to use the Object.keys() method to iterate over object keys and values in JavaScript.","date":"Sep 19, 2022","categories":["JavaScript"]},{"title":"How to iterate over object properties using for...in loop in JavaScript","short_title":"Iterate over object properties using for...in loop in JavaScript","url":"/blog/javascript-iterate-object-using-for-in-loop","description":"Learn how to use the for...in loop to iterate over object keys and values in JavaScript.","date":"Sep 19, 2022","categories":["JavaScript"]},{"title":"How to check if a variable is a string in JavaScript","short_title":"Check if a variable is a string in JavaScript","url":"/blog/javascript-check-if-variable-is-string","description":"Learn how to use the typeof operator to determine if a variable is a string in JavaScript.","date":"Sep 18, 2022","categories":["JavaScript"]},{"title":"How to check if a variable exists or defined in JavaScript","short_title":"Check if a variable exists or defined in JavaScript","url":"/blog/javascript-check-if-variable-defined","description":"Learn how to use the typeof operator to check if a variable exists or is defined in JavaScript.","date":"Sep 17, 2022","categories":["JavaScript"]},{"title":"How to check if a variable is undefined or NULL in JavaScript","short_title":"Check if a variable is undefined or NULL in JavaScript","url":"/blog/javascript-check-if-variable-is-undefined-or-null","description":"Learn how to use the equality operator == to check if a variable is undefined or null in JavaScript. ","date":"Sep 17, 2022","categories":["JavaScript"]},{"title":"How to check if a variable is an integer in JavaScript","short_title":"Check if a variable is an integer in JavaScript","url":"/blog/javascript-check-if-variable-is-integer","description":"Learn how to use the Number.isInteger() method to check if a variable is an integer in JavaScript.","date":"Sep 17, 2022","categories":["JavaScript"]},{"title":"How to check if a variable is a number in JavaScript","short_title":"Check if a variable is a number in JavaScript","url":"/blog/javascript-check-if-variable-is-number","description":"Learn how to use Number.isFinite(), Number.isNaN(), and typeof operator to check if a variable is a number in JavaScript. ","date":"Sep 14, 2022","categories":["JavaScript"]},{"title":"How to convert a date to another time zone in JavaScript","short_title":"Convert a date to another time zone in JavaScript","url":"/blog/javascript-convert-date-to-another-time-zone","description":"Learn how to use the toLocaleString() method of the date object to convert a date into another time zone in JavaScript.","date":"Sep 13, 2022","categories":["JavaScript"]},{"title":"How to get current date and time in UTC using JavaScript","short_title":"Get current date and time in UTC using JavaScript","url":"/blog/javascript-get-current-date-time-in-utc","description":"Learn how to use the toUTCString() method to get the current date and time in UTC in JavaScript.","date":"Sep 12, 2022","categories":["JavaScript"]},{"title":"How to get a UTC timestamp in JavaScript","short_title":"Get a UTC timestamp in JavaScript","url":"/blog/javascript-get-utc-timestamp","description":"Learn how to use the getTime() method of the date object to get a UTC timestamp in JavaScript.","date":"Sep 11, 2022","categories":["JavaScript"]},{"title":"Trim all strings in an array using JavaScript","short_title":"Trim all strings in an array using JavaScript","url":"/blog/javascript-trim-all-strings-in-array","description":"Learn how to use the map() and trim() methods to trim all strings in an array using JavaScript.","date":"Sep 11, 2022","categories":["JavaScript"]},{"title":"Update all elements in an array using JavaScript","short_title":"Update all elements in an array using JavaScript","url":"/blog/javascript-update-all-elements-in-array","description":"Learn how to use the forEach() and map() methods to update all elements in an array using JavaScript.","date":"Sep 11, 2022","categories":["JavaScript"]},{"title":"How to convert milliseconds to a date in JavaScript","short_title":"Convert milliseconds to a date in JavaScript","url":"/blog/javascript-convert-milliseconds-to-date","description":"Learn how to use the date object constructor to convert milliseconds to a date in JavaScript.","date":"Sep 10, 2022","categories":["JavaScript"]},{"title":"How to add years to a date in JavaScript","short_title":"Add years to a date in JavaScript","url":"/blog/javascript-date-add-years","description":"Learn how to use the getFullYear() and setFullYear() methods of the date object to add years to date in JavaScript.","date":"Sep 10, 2022","categories":["JavaScript"]},{"title":"How to add months to a date in JavaScript","short_title":"Add months to a date in JavaScript","url":"/blog/javascript-date-add-months","description":"Learn how to use the getMonth() and setMonth() methods of the date object to add months to date in JavaScript.","date":"Sep 10, 2022","categories":["JavaScript"]},{"title":"How to add seconds to a date in JavaScript","short_title":"Add seconds to a date in JavaScript","url":"/blog/javascript-date-add-seconds","description":"Learn how to use the getSeconds() and setSeconds() methods of the date object to add seconds to date in JavaScript.","date":"Sep 10, 2022","categories":["JavaScript"]},{"title":"How to add minutes to a date in JavaScript","short_title":"Add minutes to a date in JavaScript","url":"/blog/javascript-date-add-minutes","description":"Learn how to use the getMinutes() and setMinutes() methods of date object to add minutes to date in JavaScript.","date":"Sep 10, 2022","categories":["JavaScript"]},{"title":"How to add hours to a date in JavaScript","short_title":"Add hours to a date in JavaScript","url":"/blog/javascript-date-add-hours","description":"Learn how to use the getTime() and setTime() methods of date object to add hours to date in JavaScript.","date":"Sep 10, 2022","categories":["JavaScript"]},{"title":"How to get a list of all time zones in JavaScript","short_title":"Get a list of all time zones in JavaScript","url":"/blog/javascript-get-timezones-list","description":"A quick guide to learning how to get a list of all time zones in JavaScript.","date":"Aug 16, 2022","categories":["JavaScript"]},{"title":"How to get the length of an object in JavaScript","short_title":"Get the length of an object in JavaScript","url":"/blog/javascript-object-length","description":"A short guide to learning how to use the Object.keys() method to get the length of a JavaScript object.","date":"Aug 14, 2022","categories":["JavaScript"]},{"title":"How to read a text file into an array using Node.js","short_title":"Read a text file into an array using Node.js","url":"/blog/nodejs-read-file-to-array","description":"A quick guide to learning how to read a text file into an array using Node.js.","date":"Aug 14, 2022","categories":["Node.js"]},{"title":"How to copy a file using Node.js","short_title":"Copy a file using Node.js","url":"/blog/nodejs-copy-file","description":"Learn how to use the copyFile() method from the native fs module to copy a file in Node.js.","date":"Aug 9, 2022","categories":["Node.js"]},{"title":"How to check if a file contains a string using Node.js","short_title":"Check if a file contains a string using Node.js","url":"/blog/nodejs-check-if-file-contains-string","description":"Learn how to use the native fs module to check if a file contains a string in Node.js.","date":"Aug 9, 2022","categories":["Node.js"]},{"title":"How to find files that match a pattern using Node.js","short_title":"Find files that match a pattern using Node.js","url":"/blog/nodejs-find-files-with-pattern-matching","description":"Learn how to use the glob open-source Node.js module to find all the files that match a certain paterrn.","date":"Aug 9, 2022","categories":["Node.js"]},{"title":"How to remove a query string from a URL using JavaScript","short_title":"Remove a query string from a URL using JavaScript","url":"/blog/javascript-remove-querystring-from-url","description":"Learn how to use the URL object to remove query string from a URL using JavaScript.","date":"Aug 8, 2022","categories":["JavaScript"]},{"title":"Push an object to an array in JavaScript","short_title":"Push an object to an array in JavaScript","url":"/blog/javascript-push-object-to-array","description":"A quick guide to learning how to push an object to an array using the Array.push() method in JavaScript.","date":"Aug 7, 2022","categories":["JavaScript"]},{"title":"How to format a number as a currency string in JavaScript","short_title":"Format a number as a currency string in JavaScript","url":"/blog/javascript-format-number-as-currency-string","description":"A quick guide to Learning how to use the JavaScript Internationalization API to format a number as a currency string.","date":"Aug 7, 2022","categories":["JavaScript"]},{"title":"Making an HTML number input display 2 decimal places using JavaScript","short_title":"Making an HTML number input display 2 decimal places using JavaScript","url":"/blog/javascript-make-number-input-display-2-decimal-places","description":"A short guide to learning how to make an HTML number input field always display 2 decimal places using JavaScript.","date":"Aug 7, 2022","categories":["JavaScript","HTML"]},{"title":"Round a double or float number to 2 decimal places in Java","short_title":"Round a double or float number to 2 decimal places in Java","url":"/blog/java-round-double-float","description":"A quick guide to learning about different ways to format a double or float number to two decimal places in Java.","date":"Aug 7, 2022","categories":["Java"]},{"title":"How to replace a string in a file using Node.js","short_title":"Replace a string in a file using Node.js","url":"/blog/nodejs-replace-string-in-file","description":"Learn how to use the File System (fs) module in Node.js to replace all occurrences of a string in a file.","date":"Aug 4, 2022","categories":["Node.js"]},{"title":"How to check if checkbox is checked in JavaScript","short_title":"Check if checkbox is checked in JavaScript","url":"/blog/javascript-check-if-checkbox-checked","description":"A short guide to learning how to check if a checkbox is checked in using JavaScript and jQuery.","date":"Jul 31, 2022","categories":["JavaScript"]},{"title":"How to check if an element is hidden or visible using JavaScript","short_title":"Check if an element is hidden or visible using JavaScript","url":"/blog/javascript-check-element-hidden-visible","description":"A quick guide to learning how to check if an element is hidden or visible in DOM using JavaScript.","date":"Jul 30, 2022","categories":["JavaScript"]},{"title":"How to get the previous page URL in JavaScript","short_title":"Get the previous page URL in JavaScript","url":"/blog/javascript-get-previous-page-url","description":"A short guide to learning about different ways to get the previous page URL using JavaScript.","date":"Jul 30, 2022","categories":["JavaScript"]},{"title":"How to check for a hash in URL using JavaScript","short_title":"Check for a hash in URL using JavaScript","url":"/blog/javascript-check-hash-in-url","description":"Learn how to use the window.location property to check if the URL contains a hash or fragment component in JavaScript.","date":"Jul 30, 2022","categories":["JavaScript"]},{"title":"How to remove the hash from URL in JavaScript","short_title":"Remove the hash from URL in JavaScript","url":"/blog/javascript-remove-hash-from-url","description":"A short guide to learning how to remove the hash from the URL (window.location) using HMTL5 History API methods in JavaScript.","date":"Jul 30, 2022","categories":["JavaScript"]},{"title":"How to send a JSON object as a parameter in HTTP requests in JavaScript","short_title":"Send a JSON object as a parameter in HTTP requests in JavaScript","url":"/blog/javascript-send-json-object-in-http-request","description":"A quick guide to learning how to pass a JSON object or an array as a parameter in HTTP requests in JavaScript.","date":"Jul 24, 2022","categories":["JavaScript"]},{"title":"How to detect browser or tab closing in JavaScript","short_title":"Detect browser or tab closing in JavaScript","url":"/blog/javascript-detect-browser-tab-closing","description":"A quick guide to learning how to detect browser or tab closing using JavaScript.","date":"Jul 24, 2022","categories":["JavaScript"]},{"title":"Sort an array of objects by a property value in JavaScript","short_title":"Sort an array of objects by a property value in JavaScript","url":"/blog/javascript-sort-array-of-objects","description":"A short guide to learning how to sort an array of objects by a property value in JavaScript.","date":"Jul 12, 2022","categories":["JavaScript"]},{"title":"How to sort object property by values in JavaScript","short_title":"Sort object property by values in JavaScript","url":"/blog/javascript-sort-object","description":"A quick guide to learn about different ways to sort an object's properties by their values in JavaScript.","date":"Jul 12, 2022","categories":["JavaScript"]},{"title":"How to validate an email address in JavaScript","short_title":"Validate an email address in JavaScript","url":"/blog/javascript-validate-email-address","description":"A quick guide to learning how to validate an email address in JavaScript and Node.js using regular expressions.","date":"Jul 11, 2022","categories":["Node.js","JavaScript"]},{"title":"How to upsert a document in Mongoose","short_title":"Upsert a document in Mongoose","url":"/blog/mongoose-upsert-document","description":"A quick guide to learning how to upsert a document in Mongoose.","date":"Jul 11, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to query documents with \"like\" statement in Mongoose","short_title":"Query documents with \"like\" statement in Mongoose","url":"/blog/mongoose-like-regex","description":"A quick guide to learning how to use the $regex operator to find documents that contain a specific string using Mongoose.","date":"Jul 11, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to increment or decrement a number value in Mongoose","short_title":"Increment or decrement a number value in Mongoose","url":"/blog/mongoose-increment-decrement-number","description":"A quick guide to learning how to increment or decrement a number value in Mongoose.","date":"Jul 11, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to query for distinct values in Mongoose","short_title":"Query for distinct values in Mongoose","url":"/blog/mongoose-distinct","description":"A quick guide to learning how to select distinct values in a MongoDB collection using Mongoose.","date":"Jul 11, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to query documents at a specific date in Mongoose","short_title":"Query documents at a specific date in Mongoose","url":"/blog/mongoose-query-specific-date","description":"A quick guide to learning how to use $gte and $lte operators to query documents at a specific date in Mongoose.","date":"Jul 11, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to delete a field from a document in Mongoose","short_title":"Delete a field from a document in Mongoose","url":"/blog/mongoose-delete-field","description":"A quick guide to learning how to use the $unset operator to remove a specific key from a MongoDB document using Mongoose.","date":"Jul 10, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to query documents where value is not null in Mongoose","short_title":"Query documents where value is not null in Mongoose","url":"/blog/mongoose-query-not-null-value","description":"A quick guide to learning how to use the $ne operator to query documents where the value is not null in Mongoose.","date":"Jul 10, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to push or pull item from an array in Mongoose","short_title":"Push or pull item from an array in Mongoose","url":"/blog/mongoose-push-pull-items-from-array","description":"A quick guide to learn about $push and $pull operators in Mongoose to push and pull items from an array field.","date":"Jul 10, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to delete documents in Mongoose","short_title":"Delete documents in Mongoose","url":"/blog/mongoose-delete-documents","description":"Learn how to delete documents from a MongoDB collection using Mongoose methods like deleteOne, deleteMany, findOneAndDelete, and findByIdAndDelete.","date":"Jul 9, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to update documents in Mongoose","short_title":"Update documents in Mongoose","url":"/blog/mongoose-update-documents","description":"Learn how to update documents in Mongoose using save, updateMany, updateOne, and findOneAndUpdate methods.","date":"Jul 9, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to find documents in Mongoose","short_title":"Find documents in Mongoose","url":"/blog/mongoose-find-documents","description":"A quick guide to learning about different ways to find one and more documents from a MongoDB collection.","date":"Jun 26, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Introduction to Mongoose Queries","short_title":"Intro to Mongoose Queries","url":"/blog/mongoose-queries","description":"An introduction to Mongoose queries and how to use the Query object to find, update and delete documents from a MongoDB collection.","date":"Jun 25, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Introduction to Mongoose Subdocuments","short_title":"Intro to Mongoose Subdocuments","url":"/blog/mongoose-subdocuments","description":"An introduction to Mongoose subdocuments and how to write queries to create, update, and remove subdocuments from a parent document.","date":"May 8, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Introduction to Mongoose Documents","short_title":"Intro to Mongoose Documents","url":"/blog/mongoose-documents","description":"An introduction to Mongoose documents and how to use Mongoose model functions to query, update, and delete documents from a MongoDB collection.","date":"May 8, 2022","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to convert a string to an array in Java","short_title":"Convert a string to an array in Java","url":"/blog/java-convert-string-to-array","description":"A short guide to learn about different ways to convert a string into an array using Java.","date":"Oct 10, 2021","categories":["Java"]},{"title":"How to convert an array to a string in Java","short_title":"Convert an array to a string in Java","url":"/blog/java-convert-array-to-string","description":"A quick guide to learn about multiple ways to convert an array of strings into a string using Java.","date":"Oct 9, 2021","categories":["Java"]},{"title":"How to format a string in Java","short_title":"Format a string in Java","url":"/blog/java-string-format","description":"A quick guide to learn how to use the String.format() method and the MessageFormat class to format strings in Java.","date":"Oct 3, 2021","categories":["Java"]},{"title":"How to delay or sleep a JavaScript function","short_title":"Delay or sleep a JavaScript function","url":"/blog/javascript-sleep-delay-wait-pause","description":"Learn how to use the setTimeout() method to delay a JavaScript function execution for a certain amount of time.","date":"Oct 2, 2021","categories":["JavaScript"]},{"title":"How to pause the code execution in Java","short_title":"Pause the code execution in Java","url":"/blog/java-pause-sleep-delay-wait","description":"A quick guide to learn how to pause or delay the code execution for a specific amount of time in Java.","date":"Oct 1, 2021","categories":["Java"]},{"title":"How to terminate a Node.js application","short_title":"Terminate a Node.js application","url":"/blog/nodejs-terminate-app","description":"A quick guide to learn how to programmatically terminate a Node.js application.","date":"Sep 30, 2021","categories":["Node.js"]},{"title":"How to download a file using Node.js","short_title":"Download a file using Node.js","url":"/blog/nodejs-download-file","description":"Learn how to use the native FS and HTTPS modules to download a file into a local folder using Node.js.","date":"Sep 28, 2021","categories":["Node.js"]},{"title":"How to convert an integer to a string in Java","short_title":"Convert an integer to a string in Java","url":"/blog/java-convert-integer-to-string","description":"Learn about different ways to convert an integer value to a string in Java.","date":"Sep 25, 2021","categories":["Java"]},{"title":"How to update the URL without page reload  in JavaScript","short_title":"Update the URL without page reload in JavaScript","url":"/blog/javascript-update-url-without-page-reload","description":"Learn how to use the HTML5 History API to update the browser URL without reloading the webpage in JavaScript.","date":"Sep 18, 2021","categories":["JavaScript"]},{"title":"How to reload the current page with JavaScript","short_title":"Reload the current page with JavaScript","url":"/blog/javascript-reload-page","description":"A quick guide to learn how to reload the current web page with JavaScript.","date":"Sep 18, 2021","categories":["JavaScript"]},{"title":"How to redirect to another web page with JavaScript","short_title":"Redirect to another web page with JavaScript","url":"/blog/javascript-redirect-page","description":"A quick guide to learn how to redirect to another web page with JavaScript.","date":"Sep 18, 2021","categories":["JavaScript"]},{"title":"How to get the current URL with JavaScript","short_title":"Get the current URL with JavaScript","url":"/blog/javascript-current-url","description":"A short guide to learn how to get the current web page URL using JavaScript.","date":"Sep 18, 2021","categories":["JavaScript"]},{"title":"Introduction to JavaScript Location Object","short_title":"Intro to JavaScript Location Object","url":"/blog/javascript-location-object","description":"A quick guide to learn bout the JavaScript location object, and how to use it to get the current URL.","date":"Sep 18, 2021","categories":["JavaScript"]},{"title":"How to get the current day, month, and year in JavaScript","short_title":"Get the current day, month, and year in JavaScript","url":"/blog/javascript-date-get-day-month-year","description":"A quick guide to learn how to get the current day, month, and year from a date object in JavaScript. ","date":"Sep 18, 2021","categories":["JavaScript"]},{"title":"How to convert a date to a string in JavaScript","short_title":"Convert a date to a string in JavaScript","url":"/blog/javascript-format-date","description":"A quick guide to learning about different ways to format a date object to a string in JavaScript.","date":"Sep 14, 2021","categories":["JavaScript"]},{"title":"How to remove whitespace characters from a string in JavaScript","short_title":"Remove whitespace characters from a string in JavaScript","url":"/blog/javascript-remove-whitespace-characters-from-string","description":"Learn how to use the JavaScript trim() method to remove whitespace characters from both ends of a string.","date":"Aug 15, 2021","categories":["JavaScript"]},{"title":"Replace new line (\\n) with HTML br tag in string using Java","short_title":"Replace new line (\\n) with HTML br tag in string using Java","url":"/blog/java-replace-newline-character-with-html-line-break","description":"A quick guide to learn how to replace all new line characters in a string with an HTML line break (br) tag using Java. ","date":"Jul 24, 2021","categories":["Java"]},{"title":"Loop through an array of objects in JavaScript","short_title":"Loop through an array of objects in JavaScript","url":"/blog/javascript-iterate-array-of-objects","description":"A quick guide to learn how to loop through an array containing objects and print each object's properties in JavaScript.","date":"Jul 22, 2021","categories":["JavaScript"]},{"title":"How to merge two maps in Java","short_title":"Merge two maps in Java","url":"/blog/java-merge-maps","description":"Learn how to merge or join two maps into one using java 8 Streams API and the Map.putAll() method.","date":"Jul 17, 2021","categories":["Java"]},{"title":"Convert a list to a comma-separated string in Java","short_title":"Convert a list to a comma-separated string in Java","url":"/blog/java-convert-list-to-comma-separated-string","description":"A quick guide to converting a list into a comma-separated string in Java.","date":"Jul 4, 2021","categories":["Java"]},{"title":"Convert a comma-separated string to a list in Java","short_title":"Convert a comma-separated string to a list in Java","url":"/blog/java-string-with-separator-to-list","description":"Learn about 3 different ways to convert a comma-separated string to a list in Java.","date":"Jul 4, 2021","categories":["Java"]},{"title":"4 ways to concatenate strings in JavaScript","short_title":"4 ways to concatenate strings in JavaScript","url":"/blog/javascript-string-concat","description":"A quick guide to learn about 4 different methods to concatenate strings in JavaScript.","date":"Jul 3, 2021","categories":["JavaScript"]},{"title":"How to find duplicates in an array using JavaScript","short_title":"Find duplicates in an array using JavaScript","url":"/blog/javascript-array-find-duplicates","description":"Learn how to check if an array contains duplicate values using indexOf(), set object, and iteration in JavaScript. ","date":"Jul 3, 2021","categories":["JavaScript"]},{"title":"How to encode or decode a URL in Node.js","short_title":"Encode or decode a URL in Node.js","url":"/blog/nodejs-encode-decode-url","description":"Learn how to use Node.js built-in modules and JavaScript functions to encode or decode a URL string in a Node.js application.","date":"Jun 27, 2021","categories":["Node.js"]},{"title":"How to get the file extension from MIME type in Node.js ","short_title":"Get the file extension from MIME type in Node.js","url":"/blog/nodejs-get-file-extension-from-mime-type","description":"A quick guide to learn how to get the file extension from the MIME type using the Node.js path module.","date":"Jun 24, 2021","categories":["Node.js"]},{"title":"How to get the file extension in Node.js","short_title":"Get the file extension in Node.js","url":"/blog/nodejs-get-file-extension","description":"A quick guide to learn how to get the file extension using Node.js.","date":"Jun 24, 2021","categories":["Node.js"]},{"title":"How to convert a date to UTC string in JavaScript","short_title":"Convert a date to UTC string in JavaScript","url":"/blog/javascript-convert-date-to-utc-string","description":"A quick guide to learning how to convert a JavaScript date object into a UTC string.","date":"Jun 20, 2021","categories":["JavaScript"]},{"title":"How to create and read cookies in JavaScript","short_title":"Create and read cookies in JavaScript","url":"/blog/javascript-cookies","description":"A complete guide to learning about HTTP cookies, and how to read, write, and delete cookies using JavaScript.","date":"Jun 20, 2021","categories":["JavaScript"]},{"title":"How to add or remove multiple CSS classes using JavaScript","short_title":"Add or remove multiple CSS classes using JavaScript","url":"/blog/javascript-add-remove-multiple-css-classes","description":"A quick guide to learn how to add or remove multiple CSS classes at once from an element using JavaScript.","date":"Jun 19, 2021","categories":["JavaScript"]},{"title":"How to create a multi-line string in JavaScript","short_title":"Create a multi-line string in JavaScript","url":"/blog/javascript-multiline-strings","description":"A quick guide to learn how to create a multi-line string in JavaScript.","date":"Jun 19, 2021","categories":["JavaScript"]},{"title":"How to use template literals in JavaScript","short_title":"Use template literals in JavaScript","url":"/blog/javascript-template-literals","description":"An introduction to JavaScript template literals and how to use them to create a multi-line string, tagged templates, HTML templates, and more.","date":"Jun 19, 2021","categories":["JavaScript"]},{"title":"How to get current time zone in JavaScript","short_title":"Get current time zone in JavaScript","url":"/blog/javascript-current-timezone","description":"A quick article to learn how to retrieve the browser's time zone using JavaScript.","date":"Jun 13, 2021","categories":["JavaScript"]},{"title":"Working with FormData API in JavaScript","short_title":"Working with FormData API in JavaScript","url":"/blog/javascript-formdata","description":"A quick introduction to the FormData interface and how to use it to create custom forms, upload multi-media files, and more in JavaScript. ","date":"Jun 8, 2021","categories":["JavaScript"]},{"title":"How to upload files with FormData using JavaScript","short_title":"Upload files with FormData using JavaScript","url":"/blog/javascript-formdata-upload-multiple-files","description":"A quick guide to learn how to upload single as well as multiple files with FormData using JavaScript.","date":"Jun 6, 2021","categories":["JavaScript"]},{"title":"How to limit the maximum files chosen using JavaScript","short_title":"Limit the maximum files chosen using JavaScript","url":"/blog/javascript-limit-max-file-chosen","description":"A quick guide to learn how to how to limit the maximum number of files chosen using JavaScript.","date":"Jun 5, 2021","categories":["JavaScript"]},{"title":"How to iterate over FileList in JavaScript","short_title":"Iterate over FileList in JavaScript","url":"/blog/javascript-iterate-filelist","description":"A quick guide to learn how to iterate over a FileList object in JavaScript.","date":"Jun 5, 2021","categories":["JavaScript"]},{"title":"Why is it still worth it to learn Java?","short_title":"Why is it still worth it to learn Java?","url":"/blog/why-is-it-still-worth-it-to-learn-java","description":"Java was continuously evolving for the past 26 years and has ended up flooding the world. Its recognition and wide use make hundreds and thousands of blank plate brains turn to Java courses and tutorials to become Java enthusiasts.","date":"May 19, 2021","categories":["Java"]},{"title":"How to use the reduce() method in JavaScript","short_title":"Use the reduce() method in JavaScript","url":"/blog/javascript-array-reduce","description":"A quick guide to the reduce() method and how to use it to sum an array, flatten an array, and more in JavaScript.","date":"Apr 10, 2021","categories":["JavaScript"]},{"title":"How to split a string in JavaScript","short_title":"Split a string in JavaScript","url":"/blog/javascript-string-split","description":"A quick guide to the String.split() method in JavaScript and how to use it to split a string into an array.","date":"Apr 8, 2021","categories":["JavaScript"]},{"title":"How to catch exceptions in setTimeout and setInterval","short_title":"Catch exceptions in setTimeout and setInterval","url":"/blog/javascript-catch-exception-inside-settimeout-setinterval","description":"A short guide to learning how to properly handle exceptions in JavaScript setTimeout and setInterval functions.","date":"Apr 5, 2021","categories":["JavaScript"]},{"title":"How to detect a mobile device with JavaScript","short_title":"Detect a mobile device with JavaScript","url":"/blog/javascript-detect-mobile-device","description":"A quick guide to learn how to detect if the browser is on a mobile device with JavaScript.\r\n","date":"Apr 1, 2021","categories":["JavaScript"]},{"title":"How to load a script asynchronously using JavaScript","short_title":"Load a script asynchronously using JavaScript","url":"/blog/javascript-load-script-async","description":"A quick guide to learn how to load the external script files asynchronously in the browser using JavaScript.","date":"Apr 1, 2021","categories":["JavaScript"]},{"title":"How to detect when the user stops typing in JavaScript","short_title":"Detect when the user stops typing in JavaScript","url":"/blog/javascript-detect-user-stops-typing","description":"A quick hack to detect when the user stops typing text in an input field using JavaScript.","date":"Mar 29, 2021","categories":["JavaScript"]},{"title":"How to create an object with dynamic keys in JavaScript","short_title":"Create an object with dynamic keys in JavaScript","url":"/blog/javascript-create-object-with-dynamic-keys","description":"A quick guide to learn how to create an object with dynamic keys by using computed property names feature in JavaScript.","date":"Mar 29, 2021","categories":["JavaScript"]},{"title":"How to download a file in JavaScript","short_title":"Download a file in JavaScript","url":"/blog/javascript-download-file","description":"A quick guide to learn about different ways of downloading a file in JavaScript. ","date":"Mar 28, 2021","categories":["JavaScript","HTML"]},{"title":"AcquireBase: Buy and Sell Internet Startups for Free","short_title":"AcquireBase: Buy and Sell Internet Startups for Free","url":"/blog/acquirebase","description":"Introducing AcquireBase, a marketplace for buying and selling internet startups for free!","date":"Mar 26, 2021","categories":["Meta"]},{"title":"How to use String replace() method in JavaScript","short_title":"Use String replace() method in JavaScript","url":"/blog/javascript-string-replace","description":"A quick introduction to the JavaScript string replace() and replaceAll() methods and how to use them to replace a text in a string. ","date":"Mar 9, 2021","categories":["JavaScript"]},{"title":"How to use computed property names in JavaScript","short_title":"Use computed property names in JavaScript","url":"/blog/javascript-computed-property-names","description":"A quick guide to learn how to use computed property names to dynamically create object properties in JavaScript.","date":"Mar 4, 2021","categories":["JavaScript"]},{"title":"Thymeleaf switch statement with multiple cases","short_title":"Thymeleaf switch statement with multiple cases","url":"/blog/thymeleaf-switch-statement","description":"A quick guide to learn how to use a switch statement with multiple cases in Thymeleaf.","date":"Feb 26, 2021","categories":["Thymeleaf"]},{"title":"How to check if Java is installed","short_title":"Check if Java is installed","url":"/blog/check-if-java-is-installed","description":"Learn how to check if Java is installed on a Windows 10, Mac OS X, or Linux/Unix machine.","date":"Feb 21, 2021","categories":["Java","DevOps","Linux"]},{"title":"How to install RabbitMQ on macOS  and Ubuntu 20.04","short_title":"Install RabbitMQ on macOS and Ubuntu 20.04","url":"/blog/install-rabbitmq-macos-ubuntu","description":"A step-by-step guide to install and use RabbitMQ on macOS X and Ubuntu 20.04.","date":"Feb 8, 2021","categories":["Ubuntu","DevOps","macOS"]},{"title":"Mongoose connect using async/await","short_title":"Mongoose connect using async/await","url":"/blog/mongoose-connect-async-await","description":"A quick guide to learn how to use async-await to connect with MongoDB using Mongoose.","date":"Jan 16, 2021","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Introduction to Mongoose Models","short_title":"Intro to Mongoose Models","url":"/blog/mongoose-models","description":"An introduction to Mongoose models and how to use them to query, update, create, and remove documents from a MongoDB collection.","date":"Jan 2, 2021","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Introduction to Mongoose schema types","short_title":"Intro to Mongoose schema types","url":"/blog/mongoose-schema-types","description":"An introduction to Mongoose's available schema types and how you can use them to define a schema for your model in a Node.js application.","date":"Dec 31, 2020","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to use ES6 classes to create Mongoose schemas","short_title":"Use ES6 classes to create Mongoose schemas","url":"/blog/mongoose-es6-classes","description":"A quick guide to learn how to use ES6 classes to define a Mongoose schema in a Node.js application.","date":"Dec 25, 2020","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Introduction to classes in JavaScript","short_title":"Intro to classes in JavaScript","url":"/blog/javascript-classes","description":"An introduction to JavaScript classes and how to define a class, static and instance methods, getters and setters, and more.","date":"Dec 18, 2020","categories":["JavaScript"]},{"title":"How to use Mongoose timestamps","short_title":"Use Mongoose timestamps","url":"/blog/mongoose-timestamps","description":"A quick introduction to Mongoose timestamps and how to use it to keep track of the document creation and updates.","date":"Dec 16, 2020","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Getting started with Mongoose virtuals","short_title":"Get started with Mongoose virtuals","url":"/blog/mongoose-virtuals","description":"A quick article to learn about Mongoose virtuals and how to define and use them in Mongoose schema.","date":"Dec 16, 2020","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Introduction to Mongoose Schemas","short_title":"Intro to Mongoose Schemas","url":"/blog/mongoose-schemas","description":"A detailed article to learn about Mongoose schemas and how to define a model, virtual and static methods, indexes, query helpers, aliases, and more.","date":"Dec 13, 2020","categories":["Node.js","Mongoose","MongoDB"]},{"title":"How to connect with MongoDB using Mongoose in Node.js","short_title":"Connect with MongoDB using Mongoose in Node.js","url":"/blog/nodejs-getting-started-with-mongoose","description":"Learn what is Mongoose and how to use it to model application data for querying, creating, updating, and removing documents from MongoDB.","date":"Dec 11, 2020","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Setting up a local MongoDB connection in Node.js","short_title":"Setting up a local MongoDB connection in Node.js","url":"/blog/nodejs-mongodb-local-connection","description":"Learn how to use the MongoDB official driver for Node.js and Mongoose to connect to a local MongoDB instance.","date":"Dec 10, 2020","categories":["Node.js","Mongoose","MongoDB"]},{"title":"Working with MongoDB using the Mongo Shell","short_title":"Working with MongoDB using the Mongo Shell","url":"/blog/working-with-mongodb-using-mongo-shell","description":"An introduction to the mongo shell and how to use it to access MongoDB from the command-line terminal.","date":"Dec 7, 2020","categories":["MongoDB"]},{"title":"How to install MongoDB on macOS using Homebrew","short_title":"Install MongoDB on macOS using Homebrew","url":"/blog/install-mongodb-macos","description":"Learn how to install and use the MongoDB community edition on macOS Catalina and higher.","date":"Dec 6, 2020","categories":["DevOps","MongoDB","macOS"]},{"title":"How to install and use Homebrew on macOS","short_title":"Install and use Homebrew on macOS","url":"/blog/install-homebrew-macos","description":"A detailed guide to learning how to install and use the Homebrew package manager on macOS.","date":"Dec 6, 2020","categories":["DevOps","macOS"]},{"title":"Storing and retrieving objects in local storage using JavaScript","short_title":"Storing and retrieving objects in local storage using JavaScript","url":"/blog/javascript-local-storage-store-retrieve-objects","description":"A quick guide to learn how to store and retrieve objects in HTML web storage by using JavaScript.","date":"Dec 5, 2020","categories":["JavaScript"]},{"title":"Iterating over all keys stored in local storage using JavaScript","short_title":"Iterating over all keys stored in local storage using JavaScript","url":"/blog/javascript-iterate-over-local-storage-keys","description":"A quick guide to learn how to iterate over all keys stored in the local storage by using JavaScript.","date":"Dec 4, 2020","categories":["JavaScript"]},{"title":"Check if a key exists in local storage using JavaScript","short_title":"Check if a key exists in local storage using JavaScript","url":"/blog/javascript-local-storage-check-key-exists","description":"A quick guide to learn how to check if an item is set in local storage or not using JavaScript.","date":"Dec 3, 2020","categories":["JavaScript"]},{"title":"HTML Web Storage API: Local Storage and Session Storage","short_title":"HTML Web Storage API: Local Storage and Session Storage","url":"/blog/web-storage-api-local-storage-session-storage","description":"A comprehensive guide to learn about the HTML web storage API and how to use it to store data locally in a user's browser.","date":"Dec 2, 2020","categories":["JavaScript","HTML"]},{"title":"How to add days to a date in JavaScript","short_title":"Add days to a date in JavaScript","url":"/blog/javascript-date-add-days","description":"A quick article to learn how to add days to the JavaScript Date object.","date":"Dec 2, 2020","categories":["JavaScript"]},{"title":"How to use Object.is() method in JavaScript","short_title":"Use Object.is() method in JavaScript","url":"/blog/javascript-object-is-method","description":"A quick introduction to ES6 Object.is() method and how to use it in JavaScript to compare different objects.","date":"Nov 29, 2020","categories":["JavaScript"]},{"title":"How to generate random numbers in JavaScript","short_title":"Generate random numbers in JavaScript","url":"/blog/javascript-generate-random-numbers","description":"Learn about different ways to generate random numbers in JavaScript.","date":"Nov 28, 2020","categories":["JavaScript"]},{"title":"How to convert an array of objects to an object in JavaScript","short_title":"Convert an array of objects to an object in JavaScript","url":"/blog/javascript-convert-array-of-objects-to-object","description":"Learn how to convert an array of objects to a single object with all key-value pairs in JavaScript.","date":"Nov 24, 2020","categories":["JavaScript"]},{"title":"How to get the current day, month, and year in Node.js","short_title":"Get the current day, month, and year in Node.js","url":"/blog/nodejs-get-current-date-month-year","description":"A quick guide to learn how to get the current day, month, and year in a Node.js application.","date":"Nov 24, 2020","categories":["Node.js"]},{"title":"How to get the size of a file in Node.js","short_title":"Get the size of a file in Node.js","url":"/blog/nodejs-get-file-size","description":"Learn how to use the Node.js built-in File System package to get the size of the file.","date":"Nov 23, 2020","categories":["Node.js"]},{"title":"How to hash passwords using Bcrypt in Node.js","short_title":"Hash passwords using Bcrypt in Node.js","url":"/blog/nodejs-password-hashing-with-bcrypt","description":"Learn how to use the Bcrypt open-source library to hash passwords in a Node.js application.","date":"Nov 22, 2020","categories":["Node.js"]},{"title":"How to generate a random string in JavaScript","short_title":"Generate a random string in JavaScript","url":"/blog/javascript-generate-random-string","description":"A quick guide to learn how to generate random strings of different sizes in JavaScript.","date":"Oct 23, 2020","categories":["JavaScript"]},{"title":"how to detect Internet Explorer browser using JavaScript","short_title":"Detect Internet Explorer browser using JavaScript","url":"/blog/javascript-dom-detect-internet-explorer-browser","description":"Learn how to detect whether the current browser is Internet Explorer or not in vanilla JavaScript.","date":"Oct 4, 2020","categories":["JavaScript"]},{"title":"How to toggle password visibility using JavaScript","short_title":"Toggle password visibility using JavaScript","url":"/blog/javascript-dom-toggle-password-visibility","description":"Learn how to toggle the visibility of a password input field by using vanilla JavaScript.","date":"Oct 4, 2020","categories":["JavaScript"]},{"title":"How to insert an element after another element in JavaScript","short_title":"Insert an element after another element in JavaScript","url":"/blog/javascript-dom-append-to-an-element","description":"Learn how to append an element to another HTML element by using the appendChild() method in JavaScript.","date":"Sep 30, 2020","categories":["JavaScript"]},{"title":"How to detect if caps lock is on using JavaScript","short_title":"Detect if caps lock is on using JavaScript","url":"/blog/javascript-dom-detect-if-caps-lock-is-on","description":"Learn how to detect whether the caps lock is on or not in vanilla JavaScript.","date":"Sep 30, 2020","categories":["JavaScript"]},{"title":"How to detect if an element has focus using JavaScript","short_title":"Detect if an element has focus using JavaScript","url":"/blog/javascript-dom-detect-if-an-element-has-focus","description":"Learn how to detect if an element has focus in JavaScript.","date":"Sep 30, 2020","categories":["JavaScript"]},{"title":"How to check if document is ready using JavaScript","short_title":"Check if document is ready using JavaScript","url":"/blog/javascript-dom-check-if-document-is-ready","description":"Learn how to check if the document is ready and execute some code in pure JavaScript.","date":"Sep 30, 2020","categories":["JavaScript"]},{"title":"Triggering built-in and custom events using JavaScript","short_title":"Triggering built-in and custom events using JavaScript","url":"/blog/javascript-dom-trigger-built-in-and-custom-events","description":"Learn how to trigger an event on an element programmatically by using JavaScript DOM API.","date":"Sep 29, 2020","categories":["JavaScript"]},{"title":"How to create a one-off event handler in JavaScript","short_title":"Create a one-off event handler in JavaScript","url":"/blog/javascript-dom-create-a-one-off-event-handler","description":"Learn how to use the addEventListener() method to create a one-off event handler that is called only once when the event occurs for the first time.","date":"Sep 29, 2020","categories":["JavaScript"]},{"title":"How to remove an event handler in JavaScript","short_title":"Remove an event handler in JavaScript","url":"/blog/javascript-dom-remove-an-event-handler","description":"Learn how to remove an already attached event handler from an HTML element in JavaScript.","date":"Sep 29, 2020","categories":["JavaScript"]},{"title":"How to add an event handler in JavaScript","short_title":"Add an event handler in JavaScript","url":"/blog/javascript-dom-add-an-event-handler","description":"Learn how to attach an event handler to an HTML element in JavaScript.","date":"Sep 29, 2020","categories":["JavaScript"]},{"title":"How to read and write JSON files in Node.js","short_title":"Read and write JSON files in Node.js","url":"/blog/nodejs-read-write-json-files","description":"Learn how to read and write JSON files in Node.js by using the native File System module, the require() method, and the jsonfile module.","date":"Sep 19, 2020","categories":["Node.js"]},{"title":"Monitoring Your Node.js App with Scout APM","short_title":"Monitoring Your Node.js App with Scout APM","url":"/blog/monitoring-nodejs-app-with-scout-apm","description":"An overview article on how to set up & get started with Scout APM for Node.js apps.","date":"Sep 1, 2020","categories":["Node.js"]},{"title":"How to prevent default action of an event in JavaScript","short_title":"Prevent default action of an event in JavaScript","url":"/blog/javascript-dom-prevent-default-action-of-an-event","description":"Learn how to prevent the default action of an event by using the Event.preventDefault() method in JavaScript.","date":"Aug 26, 2020","categories":["JavaScript"]},{"title":"How to stop propagation of an event in JavaScript","short_title":"Stop propagation of an event in JavaScript","url":"/blog/javascript-dom-stop-propagation-of-events","description":"Learn how to stop the propagation of an event in both capturing and bubbling phases using the Event.stopPropagation() method in JavaScript.","date":"Aug 26, 2020","categories":["JavaScript"]},{"title":"How to get all own properties of an object in JavaScript","short_title":"Get all own properties of an object in JavaScript","url":"/blog/javascript-object-get-all-own-properties","description":"A quick guide to learn how to get all own properties of an object in JavaScript.","date":"Aug 25, 2020","categories":["JavaScript"]},{"title":"Own and inherited properties of an object in JavaScript","short_title":"Own and inherited properties of an object in JavaScript","url":"/blog/javascript-own-inherited-properties","description":"Learn about the own and inherited properties of an object in JavaScript and how they differ from each other.","date":"Aug 24, 2020","categories":["JavaScript"]},{"title":"How to check if a property exists in an object in JavaScript","short_title":"Check if a property exists in an object in JavaScript","url":"/blog/javascript-object-check-if-property-exists","description":"Learn about 3 different ways to check if an object contains a specific property in JavaScript.","date":"Aug 23, 2020","categories":["JavaScript"]},{"title":"How to convert an object to an array in JavaScript","short_title":"Convert an object to an array in JavaScript","url":"/blog/javascript-convert-object-to-array","description":"A detailed article to learn how to convert an object to an array in JavaScript.","date":"Aug 22, 2020","categories":["JavaScript"]},{"title":"Get the offset position of an element relative to its parent in JavaScript","short_title":"Get the offset position of an element relative to its parent in JavaScript","url":"/blog/javascript-dom-get-the-offset-position-of-an-element-relative-to-its-parent","description":"Learn how to get the offset position of an element relative to its parent in JavaScript.","date":"Aug 14, 2020","categories":["JavaScript"]},{"title":"How to get the scrollbar width of an element using JavaScript","short_title":"Get the scrollbar width of an element using JavaScript","url":"/blog/javascript-dom-get-the-scrollbar-width-of-an-element","description":"Learn how to get the scrollbar width of an element by using JavaScript.","date":"Aug 14, 2020","categories":["JavaScript"]},{"title":"How to replace a CSS class of an element using JavaScript","short_title":"Replace a CSS class of an element using JavaScript","url":"/blog/javascript-dom-replace-a-css-class-of-an-element","description":"Learn how to use the replace() method of the classList property to replace a CSS class of an element in JavaScript.","date":"Aug 13, 2020","categories":["JavaScript"]},{"title":"How to toggle a CSS class of an element using JavaScript","short_title":"Toggle a CSS class of an element using JavaScript","url":"/blog/javascript-dom-toggle-a-css-class-of-an-element","description":"Learn how to toggle a CSS class of an HTML element by using the classList property of the element in JavaScript.","date":"Aug 13, 2020","categories":["JavaScript"]},{"title":"How to remove a CSS class from an element using JavaScript","short_title":"Remove a CSS class from an element using JavaScript","url":"/blog/javascrpt-dom-remove-a-css-class-from-an-element","description":"Learn how to use the classList property to remove one or more CSS classes from an HTML element in JavaScript.","date":"Aug 13, 2020","categories":["JavaScript"]},{"title":"How to add a CSS class to an element using JavaScript","short_title":"Add a CSS class to an element using JavaScript","url":"/blog/javascript-dom-add-a-css-class-to-an-element","description":"Learn how to add one or more CSS classes to an HTML element by using the classList property in JavaScript.","date":"Aug 13, 2020","categories":["JavaScript"]},{"title":"How to get the width and height of the window using JavaScript","short_title":"Get the width and height of the window using JavaScript","url":"/blog/javascript-dom-get-the-width-and-height-of-the-window","description":"Learn how to get the width and height of the window in JavaScript.","date":"Aug 12, 2020","categories":["JavaScript"]},{"title":"Get and set scroll position of the document using JavaScript","short_title":"Get and set scroll position of the document using JavaScript","url":"/blog/javascript-dom-get-and-set-scroll-position-of-the-document","description":"Learn how to get and set the scroll position of the document in JavaScript.","date":"Aug 12, 2020","categories":["JavaScript"]},{"title":"Get and set scroll position of an element using JavaScript","short_title":"Get and set scroll position of an element using JavaScript","url":"/blog/javacript-dom-get-and-set-scroll-position-of-an-element","description":"Learn how to get or set scroll position of an element by using scrollTop and scrollLeft properties in JavaScript.","date":"Aug 12, 2020","categories":["JavaScript"]},{"title":"Get height and  width of an element using JavaScript","short_title":"Get height and width of an element using JavaScript","url":"/blog/javascript-dom-get-height-and-width-of-an-element","description":"Learn how to get the height and width of an HTML element by using offsetHeight and offsetWidth properties in JavaScript.","date":"Aug 12, 2020","categories":["JavaScript"]},{"title":"how to remove an attribute from the element using JavaScript","short_title":"Remove an attribute from the element using JavaScript","url":"/blog/javascript-dom-remove-an-attribute-from-the-element","description":"Learn how to remove an attribute from an HTML element using the removeAttribute() method in JavaScript.\r\n","date":"Aug 12, 2020","categories":["JavaScript"]},{"title":"How to set the value of an attribute using JavaScript","short_title":"Set the value of an attribute using JavaScript","url":"/blog/javascript-dom-set-the-value-of-an-attribute","description":"Learn how to use the setAttribute() method to set the value of the attribute of an HTML element in JavaScript.","date":"Aug 10, 2020","categories":["JavaScript"]},{"title":"How to get the value of an attribute using JavaScript","short_title":"Get the value of an attribute using JavaScript","url":"/blog/javascript-dom-get-the-value-of-an-attribute","description":"Learn how to get the value of an HTML element's attribute by using the getAttribute() method in JavaScript.","date":"Aug 10, 2020","categories":["JavaScript"]},{"title":"How to check if an element has children using JavaScript","short_title":"Check if an element has children using JavaScript","url":"/blog/javascript-dom-check-if-an-element-has-children","description":"Learn how to check if an HTML element has children by using the hasChildNodes() method in JavaScript.","date":"Aug 10, 2020","categories":["JavaScript"]},{"title":"How to check if an element has attributes using JavaScript","short_title":"Check if an element has attributes using JavaScript","url":"/blog/javascript-dom-check-if-an-element-has-attributes","description":"Learn how to use the hasAttributes() method in JavaScript to check if an HTML element has any attributes.","date":"Aug 10, 2020","categories":["JavaScript"]},{"title":"How to check if an attribute exists using JavaScript","short_title":"Check if an attribute exists using JavaScript","url":"/blog/javascript-dom-check-if-an-attribute-exists","description":"Learn how to check if an HTML element has a specified attribute by using the hasAttribute() method in JavaScript.","date":"Aug 10, 2020","categories":["JavaScript"]},{"title":"How to remove all children of an element using JavaScript","short_title":"Remove all children of an element using JavaScript","url":"/blog/javascript-dom-remove-all-children-of-an-element","description":"Learn how to remove all children of a DOM element by using the removeChild() method in JavaScript.","date":"Aug 9, 2020","categories":["JavaScript"]},{"title":"How to replace an element using JavaScript","short_title":"Replace an element using JavaScript","url":"/blog/javascript-dom-replace-an-element","description":"Learn how to replace a DOM element by using the replaceChild() method in JavaScript.","date":"Aug 9, 2020","categories":["JavaScript"]},{"title":"How to clone an element using JavaScript","short_title":"Clone an element using JavaScript","url":"/blog/javascript-dom-clone-an-element","description":"Learn how to clone a DOM element by using the cloneNode() method in JavaScript.","date":"Aug 9, 2020","categories":["JavaScript"]},{"title":"How to get all siblings of an element using JavaScript","short_title":"Get all siblings of an element using JavaScript","url":"/blog/javascript-dom-get-all-siblings-of-an-element","description":"Learn how to get all siblings of an element by using the element's DOM properties in JavaScript.","date":"Aug 8, 2020","categories":["JavaScript"]},{"title":"Get the next and previous siblings of an element using JavaScript","short_title":"Get the next and previous siblings of an element using JavaScript","url":"/blog/javascript-dom-get-the-next-and-previous-siblings-of-an-element","description":"Learn how to get the next and previous siblings of an element in JavaScript using nextElementSibling and previousElementSibling properties.","date":"Aug 8, 2020","categories":["JavaScript"]},{"title":"Get the closest element by selector using JavaScript","short_title":"Get the closest element by selector using JavaScript","url":"/blog/javascript-dom-get-closest-element-by-selector","description":"Learn how to get the closest element that matches a selector by using the closest() method in JavaScript. ","date":"Aug 8, 2020","categories":["JavaScript"]},{"title":"How to get first and last children of an element using JavaScript","short_title":"Get first and last children of an element using JavaScript","url":"/blog/javascript-dom-get-first-and-last-children-of-an-element","description":"Learn how to use firstChild and lastChild element properties to get the first and last child nodes of an HTML element in JavaScript.","date":"Aug 7, 2020","categories":["JavaScript"]},{"title":"How to get the children of an element using JavaScript","short_title":"Get the children of an element using JavaScript","url":"/blog/javascript-dom-get-all-child-nodes-of-an-element","description":"Learn how to get all child nodes of an element in JavaScript by using the childNodes property of the element.","date":"Aug 7, 2020","categories":["JavaScript"]},{"title":"How to get the parent of an element in JavaScript","short_title":"Get the parent of an element in JavaScript","url":"/blog/javascript-dom-get-the-parent-of-an-element","description":"Learn how to get the parent node of an element by using the parentNode property of the element.","date":"Aug 7, 2020","categories":["JavaScript"]},{"title":"How to select elements by name using JavaScript","short_title":"Select elements by name using JavaScript","url":"/blog/javascript-select-dom-elements-by-name","description":"A quick guide to learning how to select DOM elements by name using the JavaScript getElementsByName() method.","date":"Aug 7, 2020","categories":["JavaScript"]},{"title":"How to encrypt and decrypt data in Node.js","short_title":"Encrypt and decrypt data in Node.js","url":"/blog/nodejs-encrypt-decrypt-data","description":"Learn how to encrypt and decrypt strings, numbers, buffers, and streams by using the Node.js built-in crypto module.","date":"Jul 30, 2020","categories":["Node.js"]},{"title":"How to access data in Thymeleaf templates","short_title":"Access data in Thymeleaf templates","url":"/blog/thymeleaf-access-data","description":"Learn how to access Spring model attributes, request parameters, session attributes, and Spring beans in Thymeleaf templates.","date":"Jul 15, 2020","categories":["Spring Boot","Thymeleaf"]},{"title":"How to check if a value is an object in JavaScript","short_title":"Check if a value is an object in JavaScript","url":"/blog/javascript-check-variable-is-object","description":"Learn how to use the Object.prototype.toString() method to check if a value is an object in JavaScript.","date":"Jul 11, 2020","categories":["JavaScript"]},{"title":"Understanding Object.assign() Method in JavaScript","short_title":"Understanding Object.assign() Method in JavaScript","url":"/blog/javascript-object-assign","description":"A complete guide to JavaScript Object.assign() method. Learn how to use to create new objects from existing objects as well as merge multiple objects.","date":"Jul 10, 2020","categories":["JavaScript"]},{"title":"How to remove a property from an object in JavaScript","short_title":"Remove a property from an object in JavaScript","url":"/blog/javascript-object-remove-property","description":"A quick article to learn how to remove a property from an object in JavaScript.","date":"Jul 3, 2020","categories":["JavaScript"]},{"title":"How to add a property to an object in JavaScript","short_title":"Add a property to an object in JavaScript","url":"/blog/javascript-object-add-key","description":"A short article to learn how to add a new item to an object in JavaScript. ","date":"Jul 3, 2020","categories":["JavaScript"]},{"title":"How to compare two objects using JavaScript","short_title":"Compare two objects using JavaScript","url":"/blog/javacript-compare-objects","description":"A quick guide to learn how to compare two objects in JavaScript to check if they contain they same key-value pairs.","date":"Jun 18, 2020","categories":["JavaScript"]},{"title":"How to clone an object in JavaScript","short_title":"Clone an object in JavaScript","url":"/blog/javascript-clone-objects","description":"A detailed article to learn about different ways to create a shallow as well as a deep copy of an object in JavaScript.","date":"Jun 16, 2020","categories":["JavaScript"]},{"title":"How to merge two objects in JavaScript","short_title":"Merge two objects in JavaScript","url":"/blog/javascript-merge-objects","description":"A detailed article to learn about different ways to combine properties of two objects into a new object in JavaScript.","date":"Jun 14, 2020","categories":["JavaScript"]},{"title":"How to create an object in JavaScript","short_title":"Create an object in JavaScript","url":"/blog/javascript-create-object","description":"Learn about different ways to create an object in JavaScript like object literal syntax, constructor function, Object.create() method, Object.assign() method, and ES6 classes.","date":"Jun 13, 2020","categories":["JavaScript"]},{"title":"ES6 Object Literal Property Value Shorthand in JavaScript","short_title":"ES6 Object Literal Property Value Shorthand in JavaScript","url":"/blog/javascript-object-property-shorthand","description":"Learn how to use the object literal property value shorthand to create an object in JavaScript.","date":"Jun 10, 2020","categories":["JavaScript"]},{"title":"How to populate an array with zeros or objects in JavaScript","short_title":"Populate an array with zeros or objects in JavaScript","url":"/blog/javascript-array-populate","description":"A quick article to learn how to populate an array with numbers, strings, or objects using ES6 Array.fill() method in JavaScript.","date":"Jun 8, 2020","categories":["JavaScript"]},{"title":"How to convert arguments object to an array in JavaScript","short_title":"Convert arguments object to an array in JavaScript","url":"/blog/javascript-convert-arguments-object-to-array","description":"A quick guide to learning how to convert the arguments object available inside a function to an array in JavaScript. ","date":"Jun 7, 2020","categories":["JavaScript"]},{"title":"How to use Array.from() method in JavaScript","short_title":"Use Array.from() method in JavaScript","url":"/blog/javascript-array-from","description":"A detailed article to learn about the Array.from() method in JavaScript and how to use it to create a new array from an array-like or iterable object.","date":"Jun 6, 2020","categories":["JavaScript"]},{"title":"How to add, remove, and replace items using Array.splice() in JavaScript","short_title":"Add, remove, and replace items using Array.splice() in JavaScript","url":"/blog/javascript-array-splice","description":"A complete guide to learn how to use the Array.splice() method in JavaScript to add, remove, or replace elements in an array.","date":"Jun 3, 2020","categories":["JavaScript"]},{"title":"How to lowercase or uppercase all array values in JavaScript","short_title":"Lowercase or uppercase all array values in JavaScript","url":"/blog/javascript-array-lowercase-uppercase","description":"A quick article to learn how to uppercase or lowercase all values in an array using JavaScript.","date":"May 26, 2020","categories":["JavaScript"]},{"title":"How to check if an array contains a value in JavaScript","short_title":"Check if an array contains a value in JavaScript","url":"/blog/javascript-array-search","description":"A comprehensive article to learn about different ways to check if an array contains a specific item in vanilla JavaScript.","date":"May 25, 2020","categories":["JavaScript"]},{"title":"How to deep clone an array in JavaScript","short_title":"Deep clone an array in JavaScript","url":"/blog/javascript-deep-clone-array","description":"A quick guide to learn about different ways to create a deep clone of an array in vanilla JavaScript.","date":"May 23, 2020","categories":["JavaScript"]},{"title":"How to use object & array destructuring  in JavaScript","short_title":"Use object & array destructuring in JavaScript","url":"/blog/javascript-object-array-destructuring","description":"Learn how to use the ES6 destructuring expression in JavaScript to extract values from arrays or properties from objects into distinct variables. ","date":"May 22, 2020","categories":["JavaScript"]},{"title":"How to remove items from an array in JavaScript","short_title":"Remove items from an array in JavaScript","url":"/blog/javascript-array-remove-items","description":"A complete guide to learn about different ways to remove elements from an array in JavaScript.","date":"May 20, 2020","categories":["JavaScript"]},{"title":"How to flatten an array in JavaScript","short_title":"Flatten an array in JavaScript","url":"/blog/javascript-flatten-array","description":"A quick guide to learn how to flatten a multi-dimensional array to a one-dimension array in vanilla JavaScript.","date":"May 19, 2020","categories":["JavaScript"]},{"title":"How to merge two arrays in JavaScript","short_title":"Merge two arrays in JavaScript","url":"/blog/javascript-merge-arrays","description":"A quick guide to learn about different ways to merge two or more arrays into one in JavaScript.","date":"May 18, 2020","categories":["JavaScript"]},{"title":"How to add items to an array in JavaScript","short_title":"Add items to an array in JavaScript","url":"/blog/javascript-array-add-items","description":"A quick article to learn about three different ways to add new items to an array using JavaScript.","date":"May 17, 2020","categories":["JavaScript"]},{"title":"How to shuffle an array in JavaScript","short_title":"Shuffle an array in JavaScript","url":"/blog/javascript-shuffle-array","description":"A quick hack to learn how to randomize or shuffle an array in vanilla JavaScript.","date":"May 16, 2020","categories":["JavaScript"]},{"title":"How to convert a string to an array in JavaScript","short_title":"Convert a string to an array in JavaScript","url":"/blog/javascript-convert-string-to-array","description":"A quick article to learn about 4 different ways to convert a string into an array in vanilla JavaScript.","date":"May 15, 2020","categories":["JavaScript"]},{"title":"How to convert an array to a string in JavaScript","short_title":"Convert an array to a string in JavaScript","url":"/blog/javascript-convert-array-to-string","description":"Learn how to use the join() method in vanilla JavaScript to convert an array to a string.","date":"May 14, 2020","categories":["JavaScript"]},{"title":"How to check if an object is an array in JavaScript","short_title":"Check if an object is an array in JavaScript","url":"/blog/javascript-check-if-object-is-array","description":"A short guide to learn how to check if a variable is an array in vanilla JavaScript.","date":"May 13, 2020","categories":["JavaScript"]},{"title":"How to copy an array in JavaScript","short_title":"Copy an array in JavaScript","url":"/blog/javascript-copy-array","description":"A quick guide to learn how to copy or clone an array into a new array by using vanilla JavaScript.","date":"May 11, 2020","categories":["JavaScript"]},{"title":"How to compare two arrays in JavaScript","short_title":"Compare two arrays in JavaScript","url":"/blog/javascript-compare-arrays","description":"A short article to learn how to compare two arrays to check if they are equal in vanilla JavaScript.","date":"May 10, 2020","categories":["JavaScript"]},{"title":"How to find matching items in an array using JavaScript","short_title":"Find matching items in an array using JavaScript","url":"/blog/javascript-array-find-matching-items","description":"A quick guide to learn how to find all matching items in an array by using vanilla JavaScript.","date":"May 10, 2020","categories":["JavaScript"]},{"title":"How to use Array.map() method in JavaScript","short_title":"Use Array.map() method in JavaScript","url":"/blog/javascript-array-map","description":"A quick introduction to Array.map() method in JavaScript and how to use it to iterate over all elements of an array.","date":"May 9, 2020","categories":["JavaScript"]},{"title":"How to remove duplicates from an array in JavaScript","short_title":"Remove duplicates from an array in JavaScript","url":"/blog/javascript-remove-duplicates-from-array","description":"A quick article to learn about different ways to remove duplicate elements from an array in vanilla JavaScript.","date":"May 8, 2020","categories":["JavaScript"]},{"title":"How to empty an array in JavaScript","short_title":"Empty an array in JavaScript","url":"/blog/javascript-empty-array","description":"A quick guide to learn how to remove all elements of an array in vanilla JavaScript.","date":"May 3, 2020","categories":["JavaScript"]},{"title":"The complete guide to JavaScript arrays","short_title":"JavaScript arrays","url":"/blog/javascript-arrays","description":"A detailed article that explains what are arrays in JavaScript, how to create a new array, and how to manipulate array elements with examples. ","date":"May 2, 2020","categories":["JavaScript"]},{"title":"How to get all query string parameters as an object in JavaScript","short_title":"Get all query string parameters as an object in JavaScript","url":"/blog/javascript-convert-query-string-to-object","description":"Learn how to use the URLSearchParams interface to convert a query string into an object in JavaScript.","date":"Apr 22, 2020","categories":["JavaScript"]},{"title":"How to get query string parameters in JavaScript","short_title":"Get query string parameters in JavaScript","url":"/blog/javascript-query-string","description":"A quick guide to learn how to get query string parameters from the current browser URL by using vanilla JavaScript.","date":"Apr 22, 2020","categories":["JavaScript"]},{"title":"Add and update query string parameters using URLSearchParams","short_title":"Add and update query string parameters using URLSearchParams","url":"/blog/javascript-url-search-params","description":"An introduction to URLSearchParams interface and how to use it to add, update and delete query string parameters in JavaScript.","date":"Apr 20, 2020","categories":["JavaScript"]},{"title":"How to convert an object to a query string using JavaScript","short_title":"Convert an object to a query string using JavaScript","url":"/blog/javascript-convert-object-to-query-string-parameters","description":"A short guide to learning how to use the URLSearchParams interface to convert an object to a query string in JavaScript.","date":"Apr 19, 2020","categories":["JavaScript"]},{"title":"How to check if an image exists on the server in JavaScript","short_title":"Check if an image exists on the server in JavaScript","url":"/blog/javascript-check-if-image-exists","description":"A quick guide to learn how to check if an image or any other file exists on the server in vanilla JavaScript.","date":"Apr 16, 2020","categories":["JavaScript"]},{"title":"How to edit an XML file with Node.js","short_title":"Edit an XML file with Node.js","url":"/blog/nodjs-edit-xml-file","description":"A quick article on learning how to update XML file contents using Node.js.","date":"Apr 16, 2020","categories":["Node.js"]},{"title":"How to read input from the command line in Node.js","short_title":"Read input from the command line in Node.js","url":"/blog/nodejs-read-input-from-cli","description":"A quick guide to learning how to make a Node.js CLI program interactive by prompting users to enter data from the command line.","date":"Apr 15, 2020","categories":["Node.js"]},{"title":"How to convert XML to JSON in Node.js","short_title":"Convert XML to JSON in Node.js","url":"/blog/nodejs-convert-xml-to-json","description":"A step-by-step guide to learn how to convert an XML file or a string to a JSON object by using Node.js.","date":"Apr 15, 2020","categories":["Node.js","JSON","XML"]},{"title":"How to delete a non-empty directory in Node.js","short_title":"Delete a non-empty directory in Node.js","url":"/blog/nodejs-delete-directory","description":"A quick article to learn how to delete a directory that is not empty by using Node.js.","date":"Apr 12, 2020","categories":["Node.js"]},{"title":"Check if file is readable, writable, or executable in Node.js","short_title":"Check if file is readable, writable, or executable in Node.js","url":"/blog/nodejs-check-if-file-readable-writable-executable","description":"A short guide to learning how to check if a file is readable, writable, or executable in a Node.js application.","date":"Apr 11, 2020","categories":["Node.js"]},{"title":"How to rename a directory in Node.js","short_title":"Rename a directory in Node.js","url":"/blog/nodejs-rename-directory","description":"A short article to learn how to quickly rename a folder in a Node.js application.","date":"Apr 11, 2020","categories":["Node.js"]},{"title":"How to list all files in a directory with Node.js","short_title":"List all files in a directory with Node.js","url":"/blog/nodejs-list-directory-files","description":"A quick guide to learn how to list all files available in a directory using Node.js.","date":"Apr 11, 2020","categories":["Node.js"]},{"title":"How to create a directory in Node.js","short_title":"Create a directory in Node.js","url":"/blog/nodejs-create-directory","description":"A quick guide to learning how to create a new directory in a Node.js application.","date":"Apr 10, 2020","categories":["Node.js"]},{"title":"How to check if a directory exists in Node.js","short_title":"Check if a directory exists in Node.js","url":"/blog/nodejs-check-if-directory-exists","description":"A short guide to learn how to use the native File System Node.js module to check if a directory exists.","date":"Apr 10, 2020","categories":["Node.js"]},{"title":"How to convert JSON to CSV in Node.js","short_title":"Convert JSON to CSV in Node.js","url":"/blog/nodejs-convert-json-to-csv","description":"A complete guide to learning how to convert a JSON array to a CSV (Comma-Separated Values) file using Node.js.","date":"Apr 9, 2020","categories":["Node.js"]},{"title":"How to convert CSV to JSON in Node.js","short_title":"Convert CSV to JSON in Node.js","url":"/blog/nodejs-convert-csv-to-json","description":"A quick guide to learning how to convert a CSV (Comma-Separated Values) file into a JSON array using Node.js.","date":"Apr 8, 2020","categories":["Node.js"]},{"title":"Encoding and decoding Base64  strings in Node.js","short_title":"Encoding and decoding Base64 strings in Node.js","url":"/blog/nodejs-base64-encode-decode","description":"A detailed guide to learn how to perform Base64 encoding and decoding in a Node.js application.","date":"Apr 7, 2020","categories":["Node.js"]},{"title":"How to get a random value from an array with JavaScript","short_title":"Get a random value from an array with JavaScript","url":"/blog/javascript-get-random-value-from-array","description":"A quick guide to learn how to select a random value from an array in JavaScript.","date":"Apr 3, 2020","categories":["JavaScript"]},{"title":"How to get the current directory in Node.js","short_title":"Get the current directory in Node.js","url":"/blog/nodejs-get-current-directory","description":"A short article to learn how to get the current working directory in a Node.js application.","date":"Apr 1, 2020","categories":["Node.js"]},{"title":"How to pretty-print a JSON object with JavaScript","short_title":"Pretty-print a JSON object with JavaScript","url":"/blog/javascript-pretty-print-json","description":"A quick article to learn how to pretty-print a JSON object by adding spaces and line breaks with vanilla JavaScript.","date":"Mar 31, 2020","categories":["JavaScript"]},{"title":"How to get the last modified date of a file with Node.js","short_title":"Get the last modified date of a file with Node.js","url":"/blog/nodejs-get-file-last-modified-date","description":"Learn about a quick way to get the last modified date of a file in a Node.js application.","date":"Mar 31, 2020","categories":["Node.js"]},{"title":"How to append data to a file in Node.js","short_title":"Append data to a file in Node.js","url":"/blog/nodejs-append-data-to-file","description":"A quick article to learn how to append data to a file in a Node.js application.","date":"Mar 30, 2020","categories":["Node.js"]},{"title":"How to delete a file in Node.js","short_title":"Delete a file in Node.js","url":"/blog/nodejs-delete-file","description":"Learn about a quick way to delete a file from the local file system with Node.js.","date":"Mar 30, 2020","categories":["Node.js"]},{"title":"How to create an empty file in Node.js","short_title":"Create an empty file in Node.js","url":"/blog/nodejs-create-empty-file","description":"Learn how to use the built-in Node.js file system module to create an empty file.","date":"Mar 29, 2020","categories":["Node.js"]},{"title":"How to read and write a JSON object to a file in Node.js","short_title":"Read and write a JSON object to a file in Node.js","url":"/blog/nodejs-write-json-object-to-file","description":"Learn how to write as well as read a JSON object from a file by using the Node.js file system module.","date":"Mar 28, 2020","categories":["Node.js"]},{"title":"How to convert HTML to Markdown with JavaScript","short_title":"Convert HTML to Markdown with JavaScript","url":"/blog/convert-html-to-markdown","description":"A quick guide to learn how to convert HTML to Markdown using  Turndown in a Node.js application as well as in browser.","date":"Mar 28, 2020","categories":["Node.js","JavaScript"]},{"title":"How to start a local web server from any directory","short_title":"Start a local web server from any directory","url":"/blog/local-web-server","description":"A quick guide to learn how to start a web server from any local directory.","date":"Mar 27, 2020","categories":["Node.js"]},{"title":"How to install Nginx on Ubuntu 18.04","short_title":"Install Nginx on Ubuntu 18.04","url":"/blog/install-nginx-on-ubuntu","description":"A step by step guide to learn how to install Nginx web server on a Ubuntu 18.04 machine.","date":"Mar 26, 2020","categories":["Ubuntu","DevOps"]},{"title":"How to remove an element from the DOM in JavaScript","short_title":"Remove an element from the DOM in JavaScript","url":"/blog/javascript-remove-dom-element","description":"A simple guide to learn how to remove an HTML element from the DOM tree by using vanilla JavaScript.","date":"Mar 11, 2020","categories":["JavaScript"]},{"title":"Insert an element after another DOM element with JavaScript","short_title":"Insert an element after another DOM element with JavaScript","url":"/blog/javascript-insert-element-after","description":"Learn how to create and insert an element after another element in the DOM by using vanilla JavaScript.","date":"Mar 11, 2020","categories":["JavaScript"]},{"title":"Insert an element before another DOM element with JavaScript","short_title":"Insert an element before another DOM element with JavaScript","url":"/blog/javascript-insert-element-before","description":"Learn how to create and insert an element before another element in the DOM by using vanilla JavaScript.","date":"Mar 11, 2020","categories":["JavaScript"]},{"title":"How to insert an element to the DOM in JavaScript","short_title":"Insert an element to the DOM in JavaScript","url":"/blog/javascript-insert-element","description":"A quick guide to learn how to create and insert an element to the DOM by using vanilla JavaScript.","date":"Mar 11, 2020","categories":["JavaScript"]},{"title":"How to update the text content of a DOM element in JavaScript","short_title":"Update the text content of a DOM element in JavaScript","url":"/blog/javascript-update-element-text","description":"Learn how to update the text of an HTML element by using the innerText and textCotent properties in vanilla JavaScript.","date":"Mar 8, 2020","categories":["JavaScript"]},{"title":"Update the HTML markup of a DOM element with JavaScript","short_title":"Update the HTML markup of a DOM element with JavaScript","url":"/blog/javascript-update-element-html-markup","description":"A quick guide to learn how to update the HTML markup of a DOM element in JavaScript.","date":"Mar 8, 2020","categories":["JavaScript"]},{"title":"How to create a DOM element using JavaScript","short_title":"Create a DOM element using JavaScript","url":"/blog/javascript-create-dom-element","description":"A brief guide to learning how to create a DOM element using vanilla JavaScript.","date":"Mar 7, 2020","categories":["JavaScript"]},{"title":"How to select a DOM element by ID using JavaScript","short_title":"Select a DOM element by ID using JavaScript","url":"/blog/javascript-select-dom-elements-by-id","description":"A short tutorial to learn how to select an HTML element by its ID in vanilla JavaScript. ","date":"Mar 6, 2020","categories":["JavaScript"]},{"title":"How to select DOM elements by tag name using JavaScript","short_title":"Select DOM elements by tag name using JavaScript","url":"/blog/javascript-select-dom-elements-by-tag-name","description":"A short guide to learn how to select HTML elements from the DOM by tag names in JavaScript.","date":"Mar 6, 2020","categories":["JavaScript"]},{"title":"How to select DOM elements by class name using JavaScript","short_title":"Select DOM elements by class name using JavaScript","url":"/blog/javascript-select-dom-elements-by-class-name","description":"A quick guide to learn how to select DOM elements by CSS class name in JavaScript.","date":"Mar 6, 2020","categories":["JavaScript"]},{"title":"How to select DOM elements by CSS selectors using JavaScript","short_title":"Select DOM elements by CSS selectors using JavaScript","url":"/blog/javascript-select-dom-elements-by-css-selectors","description":"A simple guide to learn how to select DOM elements using CSS selectors in JavaScript.","date":"Mar 6, 2020","categories":["JavaScript"]},{"title":"Hide and show DOM elements using a CSS class in JavaScript","short_title":"Hide and show DOM elements using a CSS class in JavaScript","url":"/blog/javascript-hide-show-elements-using-css-class","description":"A quick article to learn how to hide and show different DOM elements using CSS classes in vanilla JavaScript.","date":"Mar 5, 2020","categories":["JavaScript"]},{"title":"Check if an element contains a CSS class in JavaScript","short_title":"Check if an element contains a CSS class in JavaScript","url":"/blog/javascript-check-if-element-contains-css-class","description":"Learn how to check if any HTML element contains a specific CSS class in vanilla JavaScript.","date":"Mar 5, 2020","categories":["JavaScript"]},{"title":"How to add, remove, and toggle CSS classes in JavaScript","short_title":"Add, remove, and toggle CSS classes in JavaScript","url":"/blog/javascript-add-remove-toggle-css-classes","description":"Learn how to add, remove, and toggle CSS classes in vanilla JavaScript without jQuery by using the classList property.","date":"Mar 4, 2020","categories":["JavaScript"]},{"title":"How to hide and show DOM elements using JavaScript","short_title":"Hide and show DOM elements using JavaScript","url":"/blog/javascript-hide-show-dom-elements","description":"A quick guide to learn how to hide or show DOM elements using vanilla JavaScript.","date":"Mar 3, 2020","categories":["JavaScript"]},{"title":"How to add multiple CSS styles using JavaScript","short_title":"Add multiple CSS styles using JavaScript","url":"/blog/javascript-add-multiple-css-styles","description":"A quick guide to learn how to add multiple CSS styles to an element using vanilla JavaScript.","date":"Mar 3, 2020","categories":["JavaScript"]},{"title":"How to set CSS styles using JavaScript","short_title":"Set CSS styles using JavaScript","url":"/blog/javascript-set-css-styles","description":"A detailed tutorial to learn about different ways to apply CSS styles to an element using JavaScript.","date":"Mar 2, 2020","categories":["JavaScript"]},{"title":"How to get CSS styles from an element with JavaScript","short_title":"Get CSS styles from an element with JavaScript","url":"/blog/javascript-get-css-styles","description":"A guide to learning how to get different CSS style rules for an element using vanilla JavaScript.","date":"Mar 1, 2020","categories":["JavaScript"]},{"title":"Introduction to HTML DOM style property in JavaScript","short_title":"Intro to HTML DOM style property in JavaScript","url":"/blog/javascript-dom-style-property","description":"An short guide to learn what is DOM style property and how to use it to set different CSS properties in JavaScript.","date":"Mar 1, 2020","categories":["JavaScript"]},{"title":"How to convert a NodeList to an array in JavaScript","short_title":"Convert a NodeList to an array in JavaScript","url":"/blog/javascript-convert-nodelist-to-array","description":"A quick guide to learning about different ways to convert a NodeList object to an array in JavaScript.","date":"Feb 28, 2020","categories":["JavaScript"]},{"title":"Difference between a NodeList and an Array in JavaScript","short_title":"Difference between a NodeList and an Array in JavaScript","url":"/blog/javascript-nodelist-vs-array","description":"A quick guide to understand the difference between a NodeList and an array in JavaScript.","date":"Feb 28, 2020","categories":["JavaScript"]},{"title":"Introduction to HTMLCollection in JavaScript","short_title":"Intro to HTMLCollection in JavaScript","url":"/blog/javascript-htmlcollection","description":"A quick guide to understand what is HTMLCollection and how to use it in JavaScript","date":"Feb 27, 2020","categories":["JavaScript"]},{"title":"Introduction to NodeList in JavaScript","short_title":"Intro to NodeList in JavaScript","url":"/blog/javascript-nodelist","description":"A detailed guide to learning what is a NodeList object, how it differs from arrays and HTMLCollection, and how to use it in JavaScript.","date":"Feb 26, 2020","categories":["JavaScript"]},{"title":"How to decode a URL using JavaScript","short_title":"Decode a URL using JavaScript","url":"/blog/javascript-decode-url","description":"A quick guide to learning how to decode URLs or query string parameters in JavaScript using native functions.","date":"Feb 26, 2020","categories":["JavaScript"]},{"title":"How to encode a URL using JavaScript","short_title":"Encode a URL using JavaScript","url":"/blog/javascript-encode-url","description":"A quick guide to learn what is URL encoding and how to encode a URL in JavaScript using built-in functions.","date":"Feb 25, 2020","categories":["JavaScript"]},{"title":"Open a URL in a new tab or window on button click in JavaScript","short_title":"Open a URL in a new tab or window on button click in JavaScript","url":"/blog/javascript-open-url-in-new-tab","description":"Learn how to use the window.open() method to open a URL in a new tab or window when a button is clicked in JavaScript.","date":"Feb 24, 2020","categories":["JavaScript"]},{"title":"How to convert an array to an object in JavaScript","short_title":"Convert an array to an object in JavaScript","url":"/blog/javascript-convert-array-to-object","description":"A detailed guide to learn about different ways to convert an array to an object in JavaScript.","date":"Feb 24, 2020","categories":["JavaScript"]},{"title":"Converting strings to uppercase and lowercase with JavaScript","short_title":"Converting strings to uppercase and lowercase with JavaScript","url":"/blog/javascript-string-uppercase-lowercase","description":"Learn how to use the JavaScript built-in functions to convert strings to uppercase and lowercase.","date":"Feb 24, 2020","categories":["JavaScript"]},{"title":"Using the Fetch API to get HTML response in JavaScript","short_title":"Using the Fetch API to get HTML response in JavaScript","url":"/blog/javascript-fetch-html-response","description":"A short guide to learn how to get the HTML response using the JavaScript Fetch API.","date":"Feb 23, 2020","categories":["JavaScript"]},{"title":"How to monitor progress using XMLHttpRequest (XHR)","short_title":"Monitor progress using XMLHttpRequest (XHR)","url":"/blog/xhr-monitor-progress","description":"Learn how to monitor file download as well as upload progress using XMLHttpRequest (XHR) in JavaScript.","date":"Feb 23, 2020","categories":["JavaScript"]},{"title":"How to upload a file using XMLHttpRequest (XHR) and Node.js","short_title":"Upload a file using XMLHttpRequest (XHR) and Node.js","url":"/blog/xhr-node-file-upload","description":"A simple step-by-step guide to learning how to upload a file asynchronously via XHR in JavaScript and Node.js.","date":"Feb 23, 2020","categories":["Node.js","JavaScript"]},{"title":"Remove the last character of a string in Java","short_title":"Remove the last character of a string in Java","url":"/blog/java-remove-last-character-of-string","description":"Learn about different ways to remove the last character of a string in Java.","date":"Feb 22, 2020","categories":["Java"]},{"title":"How to reverse the elements of a stream in Java ","short_title":"Reverse the elements of a stream in Java","url":"/blog/java-reverse-stream-elements","description":"Learn how to reverse the elements of a stream object in Java.","date":"Feb 22, 2020","categories":["Java"]},{"title":"How to extract digits from a string in Java","short_title":"Extract digits from a string in Java","url":"/blog/java-extract-digits-from-string","description":"A simple guide to learn how to extract digits from a string in Java.","date":"Feb 22, 2020","categories":["Java"]},{"title":"How to handle  XHR JSON response in JavaScript","short_title":"Handle XHR JSON response in JavaScript","url":"/blog/xhr-json-response","description":"A quick article to learn how to parse and consume the JSON response returned by XMLHttpRequest (XHR) in vanilla JavaScript.","date":"Feb 22, 2020","categories":["JavaScript"]},{"title":"How to send JSON request using XMLHttpRequest (XHR)","short_title":"Send JSON request using XMLHttpRequest (XHR)","url":"/blog/xhr-json-post-request","description":"A short tutorial to learn how to make JSON POST request to the server using XMLHttpRequest (XHR) in JavaScript.","date":"Feb 22, 2020","categories":["JSON","JavaScript"]},{"title":"How to send POST request using XMLHttpRequest (XHR)","short_title":"Send POST request using XMLHttpRequest (XHR)","url":"/blog/xhr-post-request","description":"A quick guide to learn how to send an HTTP post request using XMLHttpRequest (XHR) in JavaScript.","date":"Feb 22, 2020","categories":["JavaScript"]},{"title":"Difference between for...of and for...in loops in JavaScript","short_title":"Difference between for...of and for...in loops in JavaScript","url":"/blog/javascript-for-of-vs-for-in","description":"A short guide to learn the difference between for...of and for...in statements in JavaScript and what you should use.","date":"Feb 21, 2020","categories":["JavaScript"]},{"title":"How to iterate over DOM elements using JavaScript","short_title":"Iterate over DOM elements using JavaScript","url":"/blog/javascript-loop-dom-elements","description":"Learn how to loop through DOM elements returned by the querySelectorAll() method in JavaScript.","date":"Feb 21, 2020","categories":["JavaScript"]},{"title":"How to iterate over object keys and values in JavaScript","short_title":"Iterate over object keys and values in JavaScript","url":"/blog/javascript-iterate-objects","description":"Learn how to use the for...in statement, Object.keys(), Object.values(), and Object.entries() methods to iterate over object properties in JavaScript.","date":"Feb 20, 2020","categories":["JavaScript"]},{"title":"How to loop through an array in JavaScript","short_title":"Loop through an array in JavaScript","url":"/blog/javascript-loops","description":"A complete guide to JavaScript loops and how to use them to iterate through an array.","date":"Feb 20, 2020","categories":["JavaScript"]},{"title":"How to use for...of loop in JavaScript","short_title":"Use for...of loop in JavaScript","url":"/blog/javascript-for-of-loop","description":"An introduction to JavaScript for...of loop and how to use it to iterate through different iterable  objects.","date":"Feb 20, 2020","categories":["JavaScript"]},{"title":"Base64 encoding and decoding in JavaScript","short_title":"Base64 encoding and decoding in JavaScript","url":"/blog/javascript-base64-encode-decode","description":"A complete guide to learning how to Base64 encode and decode strings in JavaScript using built-in functions.","date":"Feb 19, 2020","categories":["JavaScript"]},{"title":"How to use forEach() Loop in JavaScript ","short_title":"Use forEach() Loop in JavaScript","url":"/blog/javascript-foreach","description":"An introduction to ES6 forEach() loop and how to use it in JavaScript.","date":"Feb 18, 2020","categories":["JavaScript"]},{"title":"Spring Boot Optional Path Variables","short_title":"Spring Boot Optional Path Variables","url":"/blog/spring-boot-optional-path-variables","description":"A short guide to learning how to use optional path variables in a Spring Boot web controller.","date":"Feb 17, 2020","categories":["Spring Boot"]},{"title":"How to display a custom error page in Spring Boot","short_title":"Display a custom error page in Spring Boot","url":"/blog/spring-boot-custom-error-page","description":"A quick guide to learning how to display a custom error page in a Spring Boot web application.","date":"Feb 16, 2020","categories":["Spring Boot","Thymeleaf"]},{"title":"How to change or disable the default banner in Spring Boot","short_title":"Change or disable the default banner in Spring Boot","url":"/blog/spring-boot-change-disable-banner","description":"A quick guide to learning how to customize the default banner or disable it completely in Spring Boot.","date":"Feb 16, 2020","categories":["Spring Boot"]},{"title":"How to change the default port in Spring Boot","short_title":"Change the default port in Spring Boot","url":"/blog/spring-boot-change-default-port","description":"A quick article to learn how to change the default port for a Spring Boot application.","date":"Feb 12, 2020","categories":["Spring Boot"]},{"title":"Spring Boot and Thymeleaf File Upload Example","short_title":"Spring Boot and Thymeleaf File Upload Example","url":"/blog/spring-boot-thymeleaf-file-upload","description":"A step-by-step guide to learning how to upload a file in Spring Boot and Thymeleaf web application.","date":"Feb 11, 2020","categories":["Spring Boot","Thymeleaf"]},{"title":"Working with Thymeleaf Layout Dialect in Spring Boot","short_title":"Working with Thymeleaf Layout Dialect in Spring Boot","url":"/blog/spring-boot-thymeleaf-layouts","description":"A detailed article to learning how to use Thymeleaf Layout Dialect in a Spring Boot web application to build layouts and reusable templates.","date":"Feb 9, 2020","categories":["Spring Boot","Thymeleaf"]},{"title":"How to use fragments in Thymeleaf","short_title":"Use fragments in Thymeleaf","url":"/blog/thymeleaf-fragments","description":"A quick guide to learn how to use fragments in Thymeleaf templates. ","date":"Feb 8, 2020","categories":["Thymeleaf"]},{"title":"HTML Form Handling in Thymeleaf and Spring Boot","short_title":"HTML Form Handling in Thymeleaf and Spring Boot","url":"/blog/spring-boot-thymeleaf-form-handling","description":"A complete guide to learn how to use HTML forms in a Thymeleaf template and how to handle the form submission using Spring Boot.","date":"Feb 6, 2020","categories":["Spring Boot","Thymeleaf"]},{"title":"How set a JavaScript variable in Thymeleaf","short_title":"How set a JavaScript variable in Thymeleaf","url":"/blog/thymeleaf-set-javascript-variable","description":"A quick guide to learn what is JavaScript inlining and how to use it to set a JavaScript variable by in Thymeleaf.","date":"Jan 29, 2020","categories":["Thymeleaf"]},{"title":"How to get query string parameters in Thymeleaf","short_title":"Get query string parameters in Thymeleaf","url":"/blog/thymeleaf-get-query-string-parameters","description":"A quick article to learn how to get query string parameters in Thymeleaf templates.","date":"Jan 29, 2020","categories":["Thymeleaf"]},{"title":"How to get session attributes in Thymeleaf","short_title":"Get session attributes in Thymeleaf","url":"/blog/thymeleaf-get-session-attributes","description":"A quick guide to learn how to access session attributes in Thymeleaf templates.","date":"Jan 29, 2020","categories":["Thymeleaf"]},{"title":"How to dynamically add/remove CSS classes in Thymeleaf","short_title":"Dynamically add/remove CSS classes in Thymeleaf","url":"/blog/thymeleaf-dynamically-add-remove-css-classes","description":"A quick guide to learn how to dynamically add or remove a CSS class in Thymeleaf.","date":"Jan 29, 2020","categories":["Thymeleaf"]},{"title":"Iterating through Map, List, Set, and Array in Thymeleaf","short_title":"Iterating through Map, List, Set, and Array in Thymeleaf","url":"/blog/thymeleaf-iterate-map-list-set-array","description":"A quick guide to learn how to map through an iterator like Map, List, Set, and Array in Thymeleaf.","date":"Jan 25, 2020","categories":["Thymeleaf"]},{"title":"How to get the current environment in Thymeleaf","short_title":"Get the current environment in Thymeleaf","url":"/blog/thymeleaf-get-current-environment","description":"A quick article to learn how to get the current environment of the Spring Boot application in a Thymeleaf template.","date":"Jan 24, 2020","categories":["Thymeleaf"]},{"title":"How to display and compare enum values in Thymeleaf","short_title":"Display and compare enum values in Thymeleaf","url":"/blog/thymeleaf-enum-example","description":"A quick article to learn how to display and compare enum values in Thymeleaf.","date":"Jan 24, 2020","categories":["Thymeleaf"]},{"title":"How to set and use a local variable in Thymeleaf","short_title":"Set and use a local variable in Thymeleaf","url":"/blog/thymeleaf-local-variables","description":"A short guide to learn how to set and use a local variable in Thymeleaf template engine.","date":"Jan 23, 2020","categories":["Thymeleaf"]},{"title":"How to conditionally add attributes in Thymeleaf","short_title":"Conditionally add attributes in Thymeleaf","url":"/blog/thymeleaf-conditionally-add-attributes","description":"A quick article to learn how to conditionally add boolean attributes like checked and selected in Thymeleaf.","date":"Jan 23, 2020","categories":["Thymeleaf"]},{"title":"How to construct URLs in Thymeleaf","short_title":"Construct URLs in Thymeleaf","url":"/blog/thymeleaf-construct-urls","description":"A quick tutorial to learn how to construct different kinds of URLs in Thymeleaf templates.","date":"Jan 22, 2020","categories":["Thymeleaf"]},{"title":"How to check if a variable is defined in Thymeleaf","short_title":"Check if a variable is defined in Thymeleaf","url":"/blog/thymeleaf-check-if-variable-defined","description":"A quick article to learn how to check if a certain variable is defined in Thymeleaf.","date":"Jan 22, 2020","categories":["Thymeleaf"]},{"title":"How to handle null values in Thymeleaf","short_title":"Handle null values in Thymeleaf","url":"/blog/thymeleaf-handling-null-values","description":"A quick guide to learn how to handle null values in Thymeleaf templates.","date":"Jan 21, 2020","categories":["Thymeleaf"]},{"title":"How to use Custom HTML5 Attributes in Thymeleaf","short_title":"Use Custom HTML5 Attributes in Thymeleaf","url":"/blog/thymeleaf-custom-html-attributes","description":"A quick guide to learning how to create HTML5 custom attributes using the Thymeleaf template engine.","date":"Jan 21, 2020","categories":["Thymeleaf"]},{"title":"How to use conditionals in Thymeleaf","short_title":"Use conditionals in Thymeleaf","url":"/blog/thymeleaf-conditions","description":"A quick guide to learn how to use conditional statements like if-else, switch, and ternary operator in Thymeleaf.","date":"Jan 20, 2020","categories":["Thymeleaf"]},{"title":"How to use Thymeleaf with Spring Boot","short_title":"Use Thymeleaf with Spring Boot","url":"/blog/spring-boot-thymeleaf-example","description":"A quick guide to learning how to use the Thymeleaf template engine with a Spring Boot application to serve dynamic web content.","date":"Jan 19, 2020","categories":["Spring Boot","Thymeleaf"]},{"title":"Introduction to Spring Boot Starters","short_title":"Intro to Spring Boot Starters","url":"/blog/spring-boot-starters","description":"A detailed article to learn what are Spring Boot starters and how to use them in a Spring Boot application.","date":"Jan 19, 2020","categories":["Spring Boot"]},{"title":"How to upload and parse a CSV file using Spring Boot","short_title":"Upload and parse a CSV file using Spring Boot","url":"/blog/spring-boot-upload-parse-csv-file","description":"A step-by-step guide to learn how to upload and parse a CSV file in Spring Boot and Thymeleaf.","date":"Jan 17, 2020","categories":["Spring Boot","Thymeleaf","CSV"]},{"title":"How to install MySQL on Ubuntu 18.04","short_title":"Install MySQL on Ubuntu 18.04","url":"/blog/install-mysql-on-ubuntu","description":"A step-by-step guide to learn how to install, manage, and uninstall the latest version of MySQL database on Ubuntu 18.04.  ","date":"Jan 16, 2020","categories":["Ubuntu","DevOps","MySQL"]},{"title":"How to scaffold a Spring Boot application","short_title":"Scaffold a Spring Boot application","url":"/blog/scaffolding-spring-boot-application","description":"A detailed article on learning how to quickly create a Spring Boot using Spring Initializr and Spring Boot CLI.","date":"Jan 12, 2020","categories":["Spring Boot"]},{"title":"How to read and parse a CSV file in Java","short_title":"Read and parse a CSV file in Java","url":"/blog/java-read-parse-csv-file","description":"A detailed guide to learning how to read and parse a CSV file using core Java, OpenCSV, and Apache Commons CSV.","date":"Jan 11, 2020","categories":["Java","CSV"]},{"title":"How to calculate days between two dates in Java","short_title":"Calculate days between two dates in Java","url":"/blog/java-date-difference","description":"A complete guide to calculating the days, hours, and minutes between two dates in Java using the new date and time API.","date":"Jan 10, 2020","categories":["Java"]},{"title":"Check if a string contains a substring in Java","short_title":"Check if a string contains a substring in Java","url":"/blog/java-string-contains-substring","description":"Learn about six different ways to check if a specific string contains a substring in Java.","date":"Jan 8, 2020","categories":["Java"]},{"title":"How to convert a Java object to XML using JAXB","short_title":"Convert a Java object to XML using JAXB","url":"/blog/jaxb-convert-java-object-to-from-xml","description":"A quick guide to learn how to convert a Java object to its XML representation and vice versa using JAXB. ","date":"Jan 3, 2020","categories":["Java","XML"]},{"title":"How to read and write XML using Java","short_title":"Read and write XML using Java","url":"/blog/java-read-write-xml","description":"A complete guide to learning how to read and write XML in Java using JAXB and DOM Parser.","date":"Jan 2, 2020","categories":["Java","XML"]},{"title":"How to generate random numbers in Java","short_title":"Generate random numbers in Java","url":"/blog/java-generate-random-numbers","description":"A quick article to learn how to generate random numbers in a range in Java.","date":"Jan 1, 2020","categories":["Java"]},{"title":"How to convert string to LocalDateTime in Java","short_title":"Convert string to LocalDateTime in Java","url":"/blog/java-convert-string-to-localdatetime","description":"A quick tutorial to learn how to convert a string to an instance of LocalDateTime in Java.","date":"Dec 30, 2019","categories":["Java"]},{"title":"How to convert string to LocalDate in Java","short_title":"Convert string to LocalDate in Java","url":"/blog/java-convert-string-to-localdate","description":"A quick tutorial to learn how to convert a string to an instance of LocalDate in Java.","date":"Dec 30, 2019","categories":["Java"]},{"title":"How to convert LocalDateTime to string in Java","short_title":"Convert LocalDateTime to string in Java","url":"/blog/java-format-localdatetime","description":"A quick tutorial to learn how to format an instance of LocalDateTime in Java.","date":"Dec 30, 2019","categories":["Java"]},{"title":"How to convert LocalDate to string in Java","short_title":"Convert LocalDate to string in Java","url":"/blog/java-format-localdate","description":"A quick tutorial to learn how to format an instance of LocalDate in Java.","date":"Dec 30, 2019","categories":["Java"]},{"title":"How to convert a date to string in Java ","short_title":"Convert a date to string in Java","url":"/blog/java-date-format-to-string","description":"A complete guide to learning how to convert a date to a string in Java 8 and beyond.","date":"Dec 29, 2019","categories":["Java"]},{"title":"How to add days to a date in Java","short_title":"Add days to a date in Java","url":"/blog/java-add-days-to-date","description":"A quick tutorial to learn how to add days to a date using Java 8 new date and time API as well as the legacy Date and Calendar API.","date":"Dec 26, 2019","categories":["Java"]},{"title":"How to compare two dates in Java","short_title":"Compare two dates in Java","url":"/blog/java-compare-dates","description":"A comprehensive guide to learn how to compare dates using Java 8 new date and time API as well as legacy Date and Calendar API.","date":"Dec 25, 2019","categories":["Java"]},{"title":"How to get the Unix timestamp in Java","short_title":"Get the Unix timestamp in Java","url":"/blog/java-get-unix-timestamp","description":"A brief article to learn how to get the Unix timestamp in Java.","date":"Dec 23, 2019","categories":["Java"]},{"title":"How to get current timestamp in Java","short_title":"Get current timestamp in Java","url":"/blog/java-get-current-timestamp","description":"A quick article to learn how to get the current timestamp in Java.","date":"Dec 23, 2019","categories":["Java"]},{"title":"How to convert a string to date in Java","short_title":"Convert a string to date in Java","url":"/blog/java-convert-string-to-date","description":"Learn how to convert a string to a date using Java 8 new date and time API, legacy Date class, and external libraries.","date":"Dec 22, 2019","categories":["Java"]},{"title":"How to get current date and time in Java","short_title":"Get current date and time in Java","url":"/blog/java-get-current-date-time","description":"A detailed tutorial to learn how to get current date and time in Java using legacy classes as well as Java 8 new date and time API.","date":"Dec 21, 2019","categories":["Java"]},{"title":"Introduction to Java 8 Date and Time API","short_title":"Intro to Java 8 Date and Time API","url":"/blog/java-new-date-time-api","description":"A comprehensive guide to learning about new Java 8 date and time APIs including LocalDate, LocalTime, LocalDateTime, ZonedDateTime, Instant, and more. ","date":"Dec 19, 2019","categories":["Java"]},{"title":"How to convert a byte array to a string in Java","short_title":"Convert a byte array to a string in Java","url":"/blog/java-convert-byte-array-to-string","description":"A quick tutorial to learn how to convert a byte[] array to a string and vice versa in Java.","date":"Dec 17, 2019","categories":["Java"]},{"title":"How to filter a Map with Java 8 Stream API","short_title":"Filter a Map with Java 8 Stream API","url":"/blog/java-filter-map","description":"This is a short article to learn how to filter map elements using Java 8 Stream API.","date":"Dec 17, 2019","categories":["Java"]},{"title":"How to use forEach() method to loop in Java","short_title":"Use forEach() method to loop in Java","url":"/blog/java-foreach","description":"A quick article to learn how to loop a list or a map by using Java 8 forEach() method.","date":"Dec 17, 2019","categories":["Java"]},{"title":"how to create a temporary directory in Java","short_title":"Create a temporary directory in Java","url":"/blog/java-create-temporary-directory","description":"A short tutorial to learn how to create a temporary directory in Java.","date":"Dec 16, 2019","categories":["Java"]},{"title":"How to create a temporary file in Java","short_title":"Create a temporary file in Java","url":"/blog/java-create-temporary-file","description":"A short tutorial to learn how to create a temporary file in Java.","date":"Dec 16, 2019","categories":["Java"]},{"title":"How to get the current working directory in Java","short_title":"Get the current working directory in Java","url":"/blog/java-get-current-working-directory","description":"A quick hack to learn how to get current working directory in Java.","date":"Dec 15, 2019","categories":["Java"]},{"title":"How to traverse a directory structure in Java","short_title":"Traverse a directory structure in Java","url":"/blog/java-traverse-directory-structure","description":"A quick tutorial to learn how to iterate through all files and sub-directories in a directory using Java.","date":"Dec 15, 2019","categories":["Java"]},{"title":"How to move a file to another directory in Java","short_title":"Move a file to another directory in Java","url":"/blog/java-move-file-to-another-directory","description":"A quick tutorial to learn how to move a file from one directory to another directory in Java.","date":"Dec 15, 2019","categories":["Java"]},{"title":"How to copy files from one directory to another in Java","short_title":"Copy files from one directory to another in Java","url":"/blog/java-copy-files-from-one-directory-to-another","description":"A short tutorial to learn how to copy all files and sub-directories from one directory to another in Java.","date":"Dec 15, 2019","categories":["Java"]},{"title":"How to create symbolic and hard links in Java","short_title":"Create symbolic and hard links in Java","url":"/blog/java-create-symbolic-hard-links","description":"A short guide to learn how to create a symbolic link as well as a hard link in Java.","date":"Dec 14, 2019","categories":["Java"]},{"title":"How to check if directory is a symbolic link in Java","short_title":"Check if directory is a symbolic link in Java","url":"/blog/java-check-if-directory-is-symbolic-link","description":"A quick tutorial to learn how to check if a directory is a symbolic link in Java.","date":"Dec 14, 2019","categories":["Java"]},{"title":"How to check if directory is empty in Java","short_title":"Check if directory is empty in Java","url":"/blog/java-check-if-directory-is-empty","description":"A quick tutorial to learn how to check if a directory is empty in Java.","date":"Dec 14, 2019","categories":["Java"]},{"title":"How to delete a directory recursively in Java","short_title":"Delete a directory recursively in Java","url":"/blog/java-delete-directory-recursively","description":"A quick article to learn how to delete a directory with files and sub-directories in Java.","date":"Dec 14, 2019","categories":["Java"]},{"title":"How to delete a directory in Java","short_title":"Delete a directory in Java","url":"/blog/java-delete-directory","description":"A quick article to learn how to delete an empty as well as non-empty directory in Java.","date":"Dec 13, 2019","categories":["Java"]},{"title":"How to create a directory in Java","short_title":"Create a directory in Java","url":"/blog/java-create-directory","description":"A short tutorial to learn how to create a single directory as well as nested directories structure in Java.","date":"Dec 13, 2019","categories":["Java"]},{"title":"How to get the absolute path of a file in Java","short_title":"Get the absolute path of a file in Java","url":"/blog/java-get-file-absolute-path","description":"A quick tutorial to learn how to get the complete path of a file in Java.","date":"Dec 12, 2019","categories":["Java"]},{"title":"How to get the file last modified date in Java","short_title":"Get the file last modified date in Java","url":"/blog/java-get-file-last-modified-date","description":"A quick tutorial to learn how to change the file last modified date in Java.","date":"Dec 12, 2019","categories":["Java"]},{"title":"How to change the file last modified date in Java","short_title":"Change the file last modified date in Java","url":"/blog/java-change-file-last-modified-date","description":"A simple program to learn how to change the file last modified date in Java.","date":"Dec 12, 2019","categories":["Java"]},{"title":"How to check if a file is hidden in Java","short_title":"Check if a file is hidden in Java","url":"/blog/java-check-if-file-hidden","description":"A quick tutorial to learn how to check if a file is hidden in Java.","date":"Dec 12, 2019","categories":["Java"]},{"title":"How to make a file read only in Java","short_title":"Make a file read only in Java","url":"/blog/java-make-file-read-only","description":"A quick tutorial to learn how to make a file read-only in Java.","date":"Dec 12, 2019","categories":["Java"]},{"title":"How to check if file is readable, writable or executable in Java","short_title":"Check if file is readable, writable or executable in Java","url":"/blog/java-check-if-file-readable-writable-executable","description":"A quick tutorial to learn how to check if file is readable, writable or executable in Java.","date":"Dec 12, 2019","categories":["Java"]},{"title":"How to check if a directory exists in Java","short_title":"Check if a directory exists in Java","url":"/blog/java-check-if-directory-exists","description":"A short tutorial to learn how to check if a directory exists in Java.","date":"Dec 12, 2019","categories":["Java"]},{"title":"How to check if a file exists in Java","short_title":"Check if a file exists in Java","url":"/blog/java-check-if-file-exists","description":"A short tutorial to learn how to check if a file exists in Java.","date":"Dec 12, 2019","categories":["Java"]},{"title":"How to read a File to a String in Java","short_title":"Read a File to a String in Java","url":"/blog/java-read-file-to-string","description":"A quick tutorial to learn how to read the contents of a file into a string in Java.","date":"Dec 11, 2019","categories":["Java"]},{"title":"How to download and save a file from Internet in Java","short_title":"Download and save a file from Internet in Java","url":"/blog/java-download-save-file-from-internet","description":"A quick article to learn how to download and save a file from the Internet in Java.","date":"Dec 11, 2019","categories":["Java"]},{"title":"How to read an Object from a File in Java","short_title":"Read an Object from a File in Java","url":"/blog/java-read-object-from-file","description":"A quick tutorial to learn how to read an object from a file using Java. ","date":"Dec 11, 2019","categories":["Java"]},{"title":"How to write an Object to a File in Java ","short_title":"Write an Object to a File in Java","url":"/blog/java-write-object-to-file","description":"A quick tutorial to learn how to serialize a Java Object to a file.","date":"Dec 11, 2019","categories":["Java"]},{"title":"How to convert InputStream to OutputStream in Java","short_title":"Convert InputStream to OutputStream in Java","url":"/blog/java-convert-inputstream-to-outputstream","description":"A quick tutorial to learn how to convert an instance of InputStream into an OutputStream object in Java.","date":"Dec 10, 2019","categories":["Java"]},{"title":"How to convert an InputStream to a File in Java","short_title":"Convert an InputStream to a File in Java","url":"/blog/java-convert-inputstream-to-file","description":"A short article to learn how to convert an InputStream object to a file object in Java.","date":"Dec 10, 2019","categories":["Java"]},{"title":"How to convert a String to an InputStream in Java","short_title":"Convert a String to an InputStream in Java","url":"/blog/java-convert-string-to-inputstream","description":"A quick article to learn how to convert a string into an InputStream object in Java.","date":"Dec 8, 2019","categories":["Java"]},{"title":"How to convert an InputStream to a String in Java","short_title":"Convert an InputStream to a String in Java","url":"/blog/java-convert-inputstream-to-string","description":"A quick article to learn how to convert an instance of InputStream to a string in Java.","date":"Dec 8, 2019","categories":["Java"]},{"title":"How to list all files in a directory in Java","short_title":"List all files in a directory in Java","url":"/blog/java-list-all-files-in-a-directory","description":"A quick tutorial to learn how to list all files and folders in a directory using Java.","date":"Dec 8, 2019","categories":["Java"]},{"title":"How to delete a file in Java","short_title":"Delete a file in Java","url":"/blog/java-delete-file","description":"A short article to learn how to delete a file in Java.","date":"Dec 8, 2019","categories":["Java"]},{"title":"How to create a file in Java","short_title":"Create a file in Java","url":"/blog/java-create-file","description":"A short tutorial to learn how to create a new file in Java.","date":"Dec 8, 2019","categories":["Java"]},{"title":"How to get a file size in Java","short_title":"Get a file size in Java","url":"/blog/java-get-file-size","description":"A short tutorial to learn how to get a file size in Java.","date":"Dec 7, 2019","categories":["Java"]},{"title":"How to read a file using Files.readAllBytes() in Java","short_title":"Read a file using Files.readAllBytes() in Java","url":"/blog/java-files-readallbytes-example","description":"A short tutorial to learn how to read a file using the Files.readAllBytes() method in Java.","date":"Dec 7, 2019","categories":["Java"]},{"title":"How to lock a file before writing in Java","short_title":"Lock a file before writing in Java","url":"/blog/java-lock-file-before-writing","description":"A short tutorial to learn how to lock a file before writing in Java.","date":"Dec 7, 2019","categories":["Java"]},{"title":"How to save a string to a text file using Java","short_title":"Save a string to a text file using Java","url":"/blog/java-save-string-to-text-file","description":"A quick tutorial to learn how to save a String to a text file in Java.","date":"Dec 7, 2019","categories":["Java"]},{"title":"How to append text to a file in Java","short_title":"Append text to a file in Java","url":"/blog/java-append-text-to-file","description":"A short tutorial to learn how to append text to an existing file in Java.","date":"Dec 7, 2019","categories":["Java"]},{"title":"How to write to a file using FileOutputStream in Java","short_title":"Write to a file using FileOutputStream in Java","url":"/blog/java-write-file-using-fileoutputstream","description":"A short tutorial to learn how to write to a file using FileOutputStream in Java.","date":"Dec 6, 2019","categories":["Java"]},{"title":"How to read a file using FileInputStream in Java","short_title":"Read a file using FileInputStream in Java","url":"/blog/java-read-file-using-fileinputstream","description":"A short tutorial to learn how to read and write a file using FileInputStream in Java.","date":"Dec 6, 2019","categories":["Java"]},{"title":"How to create and write to a file in Java","short_title":"Create and write to a file in Java","url":"/blog/java-create-and-write-file","description":"A short tutorial to learn how to create a new file and write data into it using Java.","date":"Dec 6, 2019","categories":["Java"]},{"title":"How to write to a file using BufferedWriter in Java","short_title":"Write to a file using BufferedWriter in Java","url":"/blog/java-write-file-using-bufferedwriter","description":"A short article to learn how to write to a file using the BufferedWriter class in Java.","date":"Dec 6, 2019","categories":["Java"]},{"title":"How to read a file using BufferedReader in Java","short_title":"Read a file using BufferedReader in Java","url":"/blog/java-read-file-using-bufferedreader","description":"A short article to learn how to read a file using the BufferedReader class in Java.","date":"Dec 6, 2019","categories":["Java"]},{"title":"Reading and Writing Files using Java NIO API","short_title":"Reading and Writing Files using Java NIO API","url":"/blog/java-read-write-files-nio-api","description":"A short article to learn how to read and write files using Java New I/O API (NIO).","date":"Dec 6, 2019","categories":["Java"]},{"title":"How to Read and Write Binary Files in Java","short_title":"Read and Write Binary Files in Java","url":"/blog/java-read-write-binary-files","description":"A quick article to learn how to read and write binary files in Java.","date":"Dec 5, 2019","categories":["Java"]},{"title":"How to Read and Write Text Files in Java","short_title":"Read and Write Text Files in Java","url":"/blog/java-read-write-text-files","description":"A quick tutorial to learn how to read and write text file in Java.","date":"Dec 4, 2019","categories":["Java"]},{"title":"Reading and Writing Files in Java","short_title":"Reading and Writing Files in Java","url":"/blog/java-read-write-files","description":"A comprehensive guide to learn how to read and write text and binary files in Java.","date":"Dec 1, 2019","categories":["Java"]},{"title":"How to concatenate two arrays in Java","short_title":"Concatenate two arrays in Java","url":"/blog/java-concatenate-arrays","description":"A short tutorial to learn how to concatenate multiple arrays into one using Java.","date":"Dec 1, 2019","categories":["Java"]},{"title":"How to check if an array contains a value in Java","short_title":"Check if an array contains a value in Java","url":"/blog/java-array-contains-value","description":"A short tutorial to learn how to check if an array contains a certain value in Java.","date":"Dec 1, 2019","categories":["Java"]},{"title":"How to convert an Array to a List in Java","short_title":"Convert an Array to a List in Java","url":"/blog/java-convert-array-to-list","description":"A short article to learn how to convert an array to a list in Java using Stream API.","date":"Dec 1, 2019","categories":["Java"]},{"title":"How to split a string by new line in Java","short_title":"Split a string by new line in Java","url":"/blog/java-split-string-new-line","description":"A short guide to learn how to split a string by new line in Java.","date":"Nov 30, 2019","categories":["Java"]},{"title":"How to split a string in Java","short_title":"Split a string in Java","url":"/blog/java-string-split","description":"A short tutorial to learn how to split a string by period/dot or new line in Java.","date":"Nov 30, 2019","categories":["Java"]},{"title":"How to read JSON from a file using Gson in Java","short_title":"Read JSON from a file using Gson in Java","url":"/blog/gson-read-json-file","description":"A quick tutorial to learn how to read JSON data from a file using Gson.","date":"Nov 30, 2019","categories":["Java","JSON"]},{"title":"How to write JSON to a file using Gson in Java","short_title":"Write JSON to a file using Gson in Java","url":"/blog/gson-write-json-file","description":"A quick tutorial to learn how to write  JSON data to a file using the Gson library. ","date":"Nov 30, 2019","categories":["Java","JSON"]},{"title":"Read and write JSON as a stream using Gson","short_title":"Read and write JSON as a stream using Gson","url":"/blog/gson-read-write-json-stream","description":"A quick article to learn how to read and write JSON as a stream by using the Gson library.","date":"Nov 30, 2019","categories":["Java","JSON"]},{"title":"How to pretty print JSON using Gson in Java","short_title":"Pretty print JSON using Gson in Java","url":"/blog/gson-pretty-print-json","description":"A short tutorial to learn how to enable pretty print JSON output using Gson.","date":"Nov 30, 2019","categories":["Java","JSON"]},{"title":"Convert JSON String to and from Map using Gson","short_title":"Convert JSON String to and from Map using Gson","url":"/blog/gson-convert-json-string-to-map","description":"A short tutorial to learn how to convert a JSON string to Java Map and vice versa using Gson.","date":"Nov 30, 2019","categories":["Java","JSON"]},{"title":"Convert JSON Array to List using Gson in Java","short_title":"Convert JSON Array to List using Gson in Java","url":"/blog/gson-convert-json-array-to-from-java-list","description":"A short tutorial to learn how to convert a JSON array to a Java list and vice versa using Gson.","date":"Nov 30, 2019","categories":["Java","JSON"]},{"title":"Convert Java Object to JSON using Gson","short_title":"Convert Java Object to JSON using Gson","url":"/blog/gson-convert-java-object-to-from-json","description":"A quick guide to learn how to convert a Java Object to a JSON string or file and vice versa by using the Gson library.","date":"Nov 29, 2019","categories":["Java","JSON"]},{"title":"How to read and write JSON using Gson in Java","short_title":"Read and write JSON using Gson in Java","url":"/blog/gson-read-write-json","description":"A complete guide to learn how to read and write JSON to a file as well as convert a Java Object to JSON and back by using the Gson library.","date":"Nov 29, 2019","categories":["Java","JSON"]},{"title":"How to Read JSON from a file using Jackson","short_title":"Read JSON from a file using Jackson","url":"/blog/jackson-read-json-file","description":"A quick tutorial to learn how to read JSON data from a file using Jackson API.","date":"Nov 27, 2019","categories":["Java","JSON","Jackson"]},{"title":"How to write JSON to a file using Jackson","short_title":"Write JSON to a file using Jackson","url":"/blog/jackson-write-json-file","description":"A quick tutorial to learn how to write  JSON to a file using Jackson API. ","date":"Nov 27, 2019","categories":["Java","JSON","Jackson"]},{"title":"How to create a JSON Object using Jackson","short_title":"Create a JSON Object using Jackson","url":"/blog/jackson-create-json-object","description":"A short tutorial to learn how to create a JSON object using Jackson API.","date":"Nov 27, 2019","categories":["Java","JSON","Jackson"]},{"title":"How to create a JSON array using Jackson","short_title":"Create a JSON array using Jackson","url":"/blog/jackson-create-json-array","description":"A short tutorial to learn how to create a JSON array using Jackson API.","date":"Nov 26, 2019","categories":["Java","JSON","Jackson"]},{"title":"Working with Tree Model Nodes in Jackson","short_title":"Working with Tree Model Nodes in Jackson","url":"/blog/jackson-json-node-tree-model","description":"A comprehensive guide to understand what is Jackson tree model and how to add, remove, modify and traverse JSON nodes using tree model.","date":"Nov 18, 2019","categories":["Java","JSON","Jackson"]},{"title":"Convert Java Object to JsonNode using Jackson","short_title":"Convert Java Object to JsonNode using Jackson","url":"/blog/jackson-convert-java-object-to-json-node","description":"A short tutorial to learn how to convert a Java Object or a Map to a JsonNode Object using Jackson.","date":"Nov 17, 2019","categories":["Java","JSON","Jackson"]},{"title":"How to pretty print JsonNode to JSON string using Jackson","short_title":"Pretty print JsonNode to JSON string using Jackson","url":"/blog/jackson-pretty-print-json-node-to-string","description":"A short guide to learn how to pretty print a JsonNode to a JSON string using Jackson.","date":"Nov 17, 2019","categories":["Java","JSON","Jackson"]},{"title":"Convert JSON string to JsonNode using Jackson","short_title":"Convert JSON string to JsonNode using Jackson","url":"/blog/jackson-convert-json-string-to-json-node","description":"A short tutorial to learn about different ways of converting JSON string to JsonNode using Jackson.","date":"Nov 17, 2019","categories":["Java","JSON","Jackson"]},{"title":"How to map a dynamic JSON object with Jackson","short_title":"Map a dynamic JSON object with Jackson","url":"/blog/jackson-map-dynamic-json-object","description":"A short tutorial to learn how to map a dynamic JSON object to a Java class using Jackson API.","date":"Nov 17, 2019","categories":["Java","JSON","Jackson"]},{"title":"How to ignore unknown JSON properties with Jackson","short_title":"Ignore unknown JSON properties with Jackson","url":"/blog/jackson-ignore-unknown-json-properties","description":"A short tutorial to learn how to ignore unknown JSON properties while parsing JSON to a Java Object using Jackson API.","date":"Nov 17, 2019","categories":["Java","JSON","Jackson"]},{"title":"How to pretty print JSON using Jackson in Java","short_title":"Pretty print JSON using Jackson in Java","url":"/blog/jackson-pretty-print-json","description":"A short tutorial to learn how to enable pretty print JSON output using Jackson.","date":"Nov 16, 2019","categories":["Java","JSON","Jackson"]},{"title":"How to Ignore Null Fields with Jackson in Java","short_title":"Ignore Null Fields with Jackson in Java","url":"/blog/jackson-ignore-null-fields","description":"A short tutorial to learn how to ignore null fields while serializing with Jackson on class level as well as globally.","date":"Nov 16, 2019","categories":["Java","JSON","Jackson"]},{"title":"Convert JSON String to Map using Jackson","short_title":"Convert JSON String to Map using Jackson","url":"/blog/jackson-convert-json-string-to-map","description":"A short tutorial to learn how to convert a JSON string to Java Map and vice versa using Jackson.","date":"Nov 16, 2019","categories":["Java","JSON","Jackson"]},{"title":"Convert JSON array to a list using Jackson in Java","short_title":"Convert JSON array to a list using Jackson in Java","url":"/blog/jackson-convert-json-array-to-from-java-list","description":"A short tutorial to learn how to convert a JSON array to a Java list and vice versa using Jackson.","date":"Nov 16, 2019","categories":["Java","JSON","Jackson"]},{"title":"Convert Java Object to JSON using Jackson","short_title":"Convert Java Object to JSON using Jackson","url":"/blog/jackson-convert-java-object-to-from-json","description":"A short tutorial to learn how to convert a Java Object to JSON string or file and vice versa by using the Jackson library.","date":"Nov 16, 2019","categories":["Java","JSON","Jackson"]},{"title":"How to read and write JSON using Jackson in Java","short_title":"Read and write JSON using Jackson in Java","url":"/blog/jackson-read-write-json","description":"A complete guide to learn how to read and write JSON to a file as well as convert a Java Object to JSON and back by using the Jackson library.","date":"Nov 15, 2019","categories":["Java","JSON","Jackson"]},{"title":"RestTemplate POST Request with JSON and Headers","short_title":"RestTemplate POST Request with JSON and Headers","url":"/blog/spring-boot-resttemplate-post-request-json-headers","description":"Learn how to make different kinds of HTTP POST requests with request body parameters, custom request headers, basic HTTP authentication, and more using RestTemplate. ","date":"Nov 9, 2019","categories":["Spring Boot"]},{"title":"RestTemplate GET Request with Parameters and Headers","short_title":"RestTemplate GET Request with Parameters and Headers","url":"/blog/spring-boot-resttemplate-get-request-parameters-headers","description":"Learn how to make different kinds of HTTP GET requests with query parameters, custom request headers, basic HTTP authentication, and more using RestTemplate. ","date":"Nov 9, 2019","categories":["Spring Boot"]},{"title":"Spring Boot RestTemplate Error Handling","short_title":"Spring Boot RestTemplate Error Handling","url":"/blog/spring-boot-resttemplate-error-handling","description":"Learn how to handle errors while making HTTP requests using the RestTemplate class in a Spring Boot application.","date":"Nov 8, 2019","categories":["Spring Boot"]},{"title":"How to read and write JSON using JSON.simple in Java","short_title":"Read and write JSON using JSON.simple in Java","url":"/blog/json-simple-read-write-json","description":"A complete guide to learn how to read and write JSON to a file as well as convert a Java Object to JSON and back by using the JSON.simple library.","date":"Oct 27, 2019","categories":["Java","JSON"]},{"title":"How to read and write JSON Files in Java","short_title":"Read and write JSON Files in Java","url":"/blog/java-read-write-json-files","description":"Learn how to read and write JSON files using JSON.simple, Jackson, Gson, and Mushi open-source libraries.","date":"Oct 26, 2019","categories":["Java","JSON","Jackson"]},{"title":"Spring Data JPA Auditing using Spring Boot and MySQL","short_title":"Spring Data JPA Auditing using Spring Boot and MySQL","url":"/blog/spring-data-jpa-auditing","description":"A complete guide to learning what is Spring Data JPA auditing feature and how to enable it in a Spring Boot and MySQL application.","date":"Oct 20, 2019","categories":["Spring Boot","Spring Data JPA","MySQL"]},{"title":"Dynamic Queries with Spring Data JPA Specifications","short_title":"Dynamic Queries with Spring Data JPA Specifications","url":"/blog/spring-data-jpa-specifications","description":"A complete guide on learning what is Spring Data JPA specifications and how to use them to generate dynamic database queries. ","date":"Oct 20, 2019","categories":["Spring Boot","Spring Data JPA"]},{"title":"Introduction to Spring Data JPA Repositories","short_title":"Intro to Spring Data JPA Repositories","url":"/blog/spring-data-jpa-repositories","description":"A complete guide to learning in detail about Spring Data repository interfaces such as CrudRepository, PagingAndSortingRepository, and JpaRepository.","date":"Oct 19, 2019","categories":["Spring Data JPA"]},{"title":"Spring Data JPA Composite Primary Key Mapping Example","short_title":"Spring Data JPA Composite Primary Key Mapping Example","url":"/blog/spring-data-jpa-composite-primary-key","description":"A complete guide to map a composite primary key by using both @IdClass and @EmbeddedId annotations in Spring Data JPA.","date":"Oct 19, 2019","categories":["Spring Boot","Spring Data JPA"]},{"title":"Spring Data JPA Many To Many Relationship Mapping Example","short_title":"Spring Data JPA Many To Many Relationship Mapping Example","url":"/blog/spring-data-jpa-many-to-many-mapping","description":"A step-by-step guide on how to map and use a many-to-many relationship using Spring Data JPA and MySQL in a Spring Boot application. ","date":"Oct 18, 2019","categories":["Spring Boot","Spring Data JPA","MySQL"]},{"title":"Spring Data JPA One To Many Relationship Mapping Example","short_title":"Spring Data JPA One To Many Relationship Mapping Example","url":"/blog/spring-data-jpa-one-to-many-mapping","description":"A step-by-step guide to creating and using a one-to-many relationship mapping in a Spring Data JPA and MySQL application.","date":"Oct 13, 2019","categories":["Spring Boot","Spring Data JPA","MySQL"]},{"title":"Spring Data JPA One To One Relationship Mapping Example","short_title":"Spring Data JPA One To One Relationship Mapping Example","url":"/blog/spring-data-jpa-one-to-one-mapping","description":"A complete guide for defining and using a one-to-one relationship mapping in a Spring Data JPA and MySQL project.","date":"Oct 12, 2019","categories":["Spring Boot","Spring Data JPA","MySQL"]},{"title":"Pagination with Spring Data JPA","short_title":"Pagination with Spring Data JPA","url":"/blog/spring-data-jpa-pagination","description":"A comprehensive guide on learning how to use paginate query results using the Pageable interface in Spring Data JPA.","date":"Oct 12, 2019","categories":["Spring Boot","Spring Data JPA"]},{"title":"Sorting Query Results with Spring Data JPA","short_title":"Sorting Query Results with Spring Data JPA","url":"/blog/spring-data-jpa-sorting","description":"A complete guide to understanding how sorting works in Spring Data JPA and how to use it for derived, named, and custom queries.","date":"Oct 9, 2019","categories":["Spring Boot","Spring Data JPA"]},{"title":"How to Use Spring Data JPA Named Queries","short_title":"Use Spring Data JPA Named Queries","url":"/blog/spring-data-jpa-named-queries","description":"Learn how to create and use named queries in a Spring Boot application using a properties file, annotations, or the orm.xml file.","date":"Oct 8, 2019","categories":["Spring Boot","Spring Data JPA"]},{"title":"Spring Data JPA Custom Queries using @Query Annotation ","short_title":"Spring Data JPA Custom Queries using @Query Annotation","url":"/blog/spring-data-jpa-query-annotation","description":"Learn how to create and use both JPQL and native SQL queries by using the @Query annotation in Spring Data JPA.","date":"Oct 6, 2019","categories":["Spring Boot","Spring Data JPA"]},{"title":"Derived Query Methods in Spring Data JPA","short_title":"Derived Query Methods in Spring Data JPA","url":"/blog/derived-query-methods-spring-data-jpa","description":"Learn how to create and use the derived query methods in Spring Data JPA to fetch, update, and delete data from a database.","date":"Oct 4, 2019","categories":["Spring Boot","Spring Data JPA"]},{"title":"Accessing Data with Spring Data JPA and MySQL","short_title":"Accessing Data with Spring Data JPA and MySQL","url":"/blog/accessing-data-spring-data-jpa-mysql","description":"Learn how to access data using Spring Data JPA with MySQL database in a Spring Boot application.","date":"Oct 3, 2019","categories":["Spring Boot","Spring Data JPA","MySQL"]},{"title":"Spring Data JPA with H2 DataBase and Spring Boot","short_title":"Spring Data JPA with H2 DataBase and Spring Boot","url":"/blog/spring-data-jpa-h2-database","description":"Learn how to use Spring Data JPA with H2 in-memory database in a Spring Boot application for storing, accessing, updating, and deleting entities.","date":"Oct 2, 2019","categories":["Spring Boot","Spring Data JPA"]},{"title":"Getting Started with Spring Data JPA","short_title":"Get started with Spring Data JPA","url":"/blog/getting-started-spring-data-jpa","description":"Learn what is Spring Data JPA (Java Persistence API) and how to configure it in a Spring Boot application.","date":"Oct 1, 2019","categories":["Spring Boot","Spring Data JPA"]},{"title":"How to read and write CSV files using core Java","short_title":"Read and write CSV files using core Java","url":"/blog/read-write-csv-files-core-java","description":"Learn how to read and write CSV files by using core Java APIs like the Scanner class or the BufferedReader class.","date":"Sep 29, 2019","categories":["Java","CSV"]},{"title":"Base64 Encoding and Decoding in Java","short_title":"Base64 Encoding and Decoding in Java","url":"/blog/base64-encode-decode-java","description":"Learn how to Base64 encode or decode a string by using Java 8 and Apache Commons Codec.","date":"Sep 28, 2019","categories":["Java"]},{"title":"How to Install Node.js and NPM on Ubuntu 18.04","short_title":"Install Node.js and NPM on Ubuntu 18.04","url":"/blog/install-nodejs-npm-ubuntu","description":"A step-by-step guide to installing Node.js and NPM on a Ubuntu 18.04 serve using three different methods.","date":"Sep 27, 2019","categories":["Node.js","Ubuntu","DevOps","NPM"]},{"title":"How to encode or decode a URL string in Java","short_title":"Encode or decode a URL string in Java","url":"/blog/encode-decode-url-string-java","description":"Learn how to URL encode or decode query strings and form parameters in Java.","date":"Sep 26, 2019","categories":["Java"]},{"title":"How to read cookies in Spring Boot","short_title":"Read cookies in Spring Boot","url":"/blog/read-cookies-spring-boot","description":"A quick guide to learning how to use the `@CookieValue annotation to read cookies in Spring Boot.","date":"Sep 25, 2019","categories":["Spring Boot"]},{"title":"Express File Upload with Multer in Node.js","short_title":"Express File Upload with Multer in Node.js","url":"/blog/express-file-upload-multer","description":"A step-by-step guide to uploading single and multiple files with Express.js and Multer in Node.js.","date":"Sep 24, 2019","categories":["Node.js","Express.js"]},{"title":"How to install Gradle on Ubuntu 18.04","short_title":"Install Gradle on Ubuntu 18.04","url":"/blog/install-gradle-on-ubuntu","description":"A step-by-step guide to installing the latest version of Gradle on a Ubuntu 18.04 machine.","date":"Sep 22, 2019","categories":["Ubuntu","DevOps","Gradle"]},{"title":"How to install Java on Ubuntu 18.04","short_title":"Install Java on Ubuntu 18.04","url":"/blog/install-java-on-ubuntu","description":"A step by step guide to install Java Runtime Environment (JRE)  and Java Development Kit (JDK) versions 8 and 11 on Ubuntu 18.04 machine.","date":"Sep 22, 2019","categories":["Java","Ubuntu","DevOps"]},{"title":"How to Increase Tomcat Default Memory Size","short_title":"Increase Tomcat Default Memory Size","url":"/blog/tomcat-increase-default-memory-size","description":"Find out how to increase the default heap memory size for Apache Tomcat web server.","date":"Sep 21, 2019","categories":["Java","DevOps"]},{"title":"How to use basic authentication with RestTemplate","short_title":"Use basic authentication with RestTemplate","url":"/blog/resttemplate-basic-authentication","description":"A quick guide to learning how to add basic Authentication to the requests made by RestTemplate in a Spring Boot application.","date":"Sep 21, 2019","categories":["Spring Boot"]},{"title":"How to Make an HTTP Post Request using Node.js","short_title":"Make an HTTP Post Request using Node.js","url":"/blog/node-http-post-request","description":"A step-by-step article to learn how to make an HTTP POST request using Node.js.","date":"Sep 20, 2019","categories":["Node.js"]},{"title":"How to make HTTP Requests using Node.js Request Module","short_title":"Make HTTP Requests using Node.js Request Module","url":"/blog/node-http-requests-using-request-module","description":"Learn how to use Node.js Request Module to making HTTP requests like GET, POST, PUT, and DELETE.","date":"Sep 19, 2019","categories":["Node.js"]},{"title":"How to make HTTP Requests in native Node.js","short_title":"Make HTTP Requests in native Node.js","url":"/blog/node-make-http-requests","description":"An introduction to Node.js native HTTPS module for performing HTTP requests like GET, POST, PUT, and DELETE.","date":"Sep 18, 2019","categories":["Node.js"]},{"title":"How to read and write CSV files using OpenCSV","short_title":"Read and write CSV files using OpenCSV","url":"/blog/read-write-csv-files-opencsv","description":"A comprehensive guide to reading and writing CSV files using a popular open-source library OpenCSV in Java. Learn how to read CSV files as an array of strings or map CSV columns directly to Java objects.","date":"Sep 15, 2019","categories":["Java","CSV"]},{"title":"How to use for...in loop in JavaScript","short_title":"Use for...in loop in JavaScript","url":"/blog/for-in-loop-in-javascript","description":"Learn how the for...in statement works JavaScript and how you can use it to iterate through objects, arrays, maps, sets, strings, and more.","date":"Sep 14, 2019","categories":["JavaScript"]},{"title":"Capitalize the first letter of each word in a string using Java","short_title":"Capitalize the first letter of each word in a string using Java","url":"/blog/capitalize-first-letter-of-each-word-in-string-java","description":"Learn how to capitalize the first letter of each word in a string in Java using Java 8 Streams, Regular Expression, and Apache Commons Text library.","date":"Sep 14, 2019","categories":["Java"]},{"title":"Capitalize the first letter of a string in Java","short_title":"Capitalize the first letter of a string in Java","url":"/blog/capitalize-first-letter-of-string-java","description":"Learn how to capitalize the first letter of a string in Java by using the String's substring() method and Apache Commons Lang library. ","date":"Sep 14, 2019","categories":["Java"]},{"title":"How to sort a List using Stream sorted() in Java","short_title":"Sort a List using Stream sorted() in Java","url":"/blog/sort-list-using-stream-sorted-method-java","description":"Learn how to sort a list using Stream sorted() method using natural ordering as well as ordering provided by Comparator in Java.","date":"Sep 11, 2019","categories":["Java"]},{"title":"How to sort a Map in Java","short_title":"Sort a Map in Java","url":"/blog/how-to-sort-a-map-in-java","description":"Learn how to sort a Map by keys or by values in Java using Java 8 Streams. ","date":"Sep 10, 2019","categories":["Java"]},{"title":"Check if a string contains a substring using indexOf() in JavaScript ","short_title":"Check if a string contains a substring using indexOf() in JavaScript","url":"/blog/javascript-string-indexof-method","description":"Learn how to use  String.indexOf() method to check if a string contains a substring in JavaScript.","date":"Sep 9, 2019","categories":["JavaScript"]},{"title":"Check if a string contains a substring using includes() in JavaScript","short_title":"Check if a string contains a substring using includes() in JavaScript","url":"/blog/javascript-includes-method","description":"Introduction to JavaScript String.includes() method. The easiest way to check if a string contains a substring.","date":"Sep 8, 2019","categories":["JavaScript"]},{"title":"How to read and write CSV files using Apache Commons CSV","short_title":"Read and write CSV files using Apache Commons CSV","url":"/blog/read-write-csv-files-apache-commons-csv","description":"A step-by-step guide to reading and writing CSV files in Java using Apache Commons CSV library.","date":"Sep 8, 2019","categories":["Java","CSV"]},{"title":"How to Install MongoDB on Ubuntu 18.04","short_title":"Install MongoDB on Ubuntu 18.04","url":"/blog/install-mongodb-ubuntu-18-04","description":"A step-by-step guide to install and configure MongoDB 4.2 community edition on Ubuntu 18.04 server.","date":"Sep 7, 2019","categories":["Ubuntu","DevOps","MongoDB"]},{"title":"How to Create a Sudo User on Ubuntu 18.04","short_title":"Create a Sudo User on Ubuntu 18.04","url":"/blog/create-user-with-sudo-privileges-on-ubuntu","description":"A step-by-step guide to create a user with sudo privileges on Ubuntu, Debian, Kubuntu, and Linux Mint. ","date":"Sep 5, 2019","categories":["Ubuntu","DevOps"]},{"title":"How to Add and Delete Users on Ubuntu 18.04","short_title":"Add and Delete Users on Ubuntu 18.04","url":"/blog/add-delete-users-on-ubuntu","description":"A step-by-step guide to learn how to add and delete users on Ubuntu, Debian, Kubuntu, and Linux Mint. ","date":"Sep 5, 2019","categories":["Ubuntu","DevOps"]},{"title":"A Beginner's Guide to JSON with Examples","short_title":"JSON with Examples","url":"/blog/what-is-json","description":"A comprehensive guide to understand what is JSON (JavaScript Object Notation), what are JSON data types, and how to use it with examples.","date":"Sep 4, 2019","categories":["JSON"]},{"title":"How to get the Unix timestamp in JavaScript","short_title":"Get the Unix timestamp in JavaScript","url":"/blog/unix-timestamp-javacript","description":"Learn about different ways to generate the current Unix timestamp in JavaScript.","date":"Sep 4, 2019","categories":["JavaScript"]},{"title":"How to read a file line by line in Node.js","short_title":"Read a file line by line in Node.js","url":"/blog/reading-a-file-line-by-line-in-nodejs","description":"Learn how to read a file line by line in Node.js using the FS module, readline module, and more.","date":"Sep 1, 2019","categories":["Node.js"]},{"title":"How to check if a file exists in Node.js","short_title":"Check if a file exists in Node.js","url":"/blog/how-to-check-if-a-file-exists-in-nodejs","description":"Learn how to check if a file exists in the local file system using Node.js FS module.","date":"Sep 1, 2019","categories":["Node.js"]},{"title":"How to read and write files in Node.js","short_title":"Read and write files in Node.js","url":"/blog/reading-writing-files-nodejs","description":"A practical guide to learning how to read and write files in Node.js using the native Filesystem module.","date":"Aug 31, 2019","categories":["Node.js"]},{"title":"How to convert a string to an integer in Java","short_title":"Convert a string to an integer in Java","url":"/blog/convert-string-to-integer-in-java","description":"A quick article to learn how to convert a string to an integer in Java.","date":"Aug 24, 2019","categories":["Java"]},{"title":"How to read a file line by line in Java","short_title":"Read a file line by line in Java","url":"/blog/how-to-read-a-file-line-by-line-in-java","description":"Learn about seven different ways to read a file line-by-line in Java (Scanner, BufferedReader, Java 8 Streams, New I/O API, RandomAccessFile, Apache Commons IO, & Okie).","date":"Aug 24, 2019","categories":["Java"]},{"title":"How to use the Fetch API to GET and POST data in JavaScript","short_title":"Use the Fetch API to GET and POST data in JavaScript","url":"/blog/using-javascript-fetch-api-to-get-and-post-data","description":"A practical guide to learning how to use native JavaScript Fetch API to get and post data from a server.","date":"Aug 21, 2019","categories":["JavaScript"]},{"title":"How to Schedule Tasks in Spring Boot","short_title":"Schedule Tasks in Spring Boot","url":"/blog/task-scheduling-spring-boot","description":"A step-by-step guide to learning how to schedule different tasks in a Spring Boot application.","date":"Aug 20, 2019","categories":["Java","Spring Boot"]},{"title":"Object.entries() and Object.values() methods in JavaScript","short_title":"Object.entries() and Object.values() methods in JavaScript","url":"/blog/object-entries-values-javascript","description":"An introduction to ES8's Object.entries() and Object.values() methods and how to use them in JavaScript.","date":"Aug 18, 2019","categories":["JavaScript"]},{"title":"How to check if an object is empty in JavaScript","short_title":"Check if an object is empty in JavaScript","url":"/blog/check-if-javascript-object-is-empty","description":"Learn how to use the Object.entries(), Object.keys(), and Object.getOwnPropertyNames() methods to check if an object is empty in JavaScript.","date":"Aug 18, 2019","categories":["JavaScript"]},{"title":"Uploading files on the server using Fetch API","short_title":"Uploading files on the server using Fetch API","url":"/blog/uploading-files-using-fetch-api","description":"A step-by-step guide to upload upload files on server using JavaScript Fetch API. Example code snippets for handling server side requests using Node.js and Spring Boot.","date":"Aug 15, 2019","categories":["JavaScript"]},{"title":"How to make HTTP requests using XMLHttpRequest (XHR)","short_title":"Make HTTP requests using XMLHttpRequest (XHR)","url":"/blog/http-requests-xhr","description":"Learn about XHR request basics, events, response formats,  request timeout, request states, request an abortion, manipulating HTTP headers, form data submissions, CORS, and more.","date":"Aug 12, 2019","categories":["JavaScript"]},{"title":"How to use the URL Object in JavaScript","short_title":"Use the URL Object in JavaScript","url":"/blog/javascript-url-object","description":"An introduction to JavaScript URL Object and how to use it to parse, construct, normalize, and encode URLs.","date":"Aug 11, 2019","categories":["JavaScript"]},{"title":"4 ways to compare strings in Java","short_title":"4 ways to compare strings in Java","url":"/blog/ways-to-compare-strings-in-java","description":"Learn about four different ways to compare two strings in Java.","date":"Aug 10, 2019","categories":["Java"]},{"title":"How to create an ArrayList in Java","short_title":"Create an ArrayList in Java","url":"/blog/how-to-create-an-arraylist-in-java","description":"A short guide to create and use ArrayList in Java.","date":"Aug 10, 2019","categories":["Java"]},{"title":"How to convert a List to a Set in Java","short_title":"Convert a List to a Set in Java","url":"/blog/how-to-convert-a-list-to-a-set-in-java","description":"A protip to convert a list object (ArrayList) to a set object (HashSet) and vice versa in Java.","date":"Aug 8, 2019","categories":["Java"]},{"title":"How to check if a date is today in JavaScript","short_title":"Check if a date is today in JavaScript","url":"/blog/check-if-date-is-today-javascript","description":"A protip to check if a date object is equal to today's date in JavaScript.","date":"Aug 7, 2019","categories":["JavaScript"]},{"title":"How to get current year in Thymeleaf","short_title":"Get current year in Thymeleaf","url":"/blog/how-to-get-current-year-in-thymeleaf","description":"A protip to get current year in a Thymeleaf template.","date":"Aug 7, 2019","categories":["Thymeleaf"]},{"title":"How to convert country code to emoji flag in Java","short_title":"Convert country code to emoji flag in Java","url":"/blog/how-to-convert-country-code-to-emoji-in-java","description":"Learn about the easiest way to convert two letters country code into emoji flag in Java. ","date":"Aug 7, 2019","categories":["Java"]},{"title":"How to convert a string to a number in JavaScript","short_title":"Convert a string to a number in JavaScript","url":"/blog/convert-string-to-number-in-javascript","description":"Learn about six different ways to convert a string to a number in JavaScript.","date":"Aug 4, 2019","categories":["JavaScript"]},{"title":"How to set a cookie with Response Entity in Spring Boot","short_title":"Set a cookie with Response Entity in Spring Boot","url":"/blog/set-cookie-with-response-entity-in-spring-boot","description":"Learn how to set a cookie along with Response Entity in a Spring Boot application.","date":"Aug 3, 2019","categories":["Spring Boot"]},{"title":"How to upload a file with Ajax in Spring Boot","short_title":"Upload a file with Ajax in Spring Boot","url":"/blog/spring-boot-file-upload-with-ajax","description":"A short guide for uploading a file in Spring Boot web application through asynchronous Ajax request.","date":"Aug 3, 2019","categories":["Spring Boot","Ajax"]},{"title":"How to make HTTP requests using RestTemplate in Spring Boot ","short_title":"Make HTTP requests using RestTemplate in Spring Boot","url":"/blog/http-requests-resttemplate-spring-boot","description":"A complete guide to learning how to make HTTP GET and POST requests using the RestTemplate class in a Spring Boot application.","date":"Jul 25, 2019","categories":["Spring Boot","Spring Web"]},{"title":"Introduction to Service Workers in JavaScript","short_title":"Intro to Service Workers in JavaScript","url":"/blog/service-workers-javascript","description":"A comprehensive guide to JavaScript service workers and how to utilize them in Progressive Web Apps (PWA) to create an effective offline experience.","date":"Jul 13, 2019","categories":["JavaScript"]},{"title":"Understanding objects, prototypes, and classes in JavaScript","short_title":"Understanding objects, prototypes, and classes in JavaScript","url":"/blog/objects-prototypes-classes-javascript","description":"A detailed introduction to JavaScript objects, prototypes, and classes and how to use them in modern JavaScript development.","date":"May 28, 2019","categories":["JavaScript"]},{"title":"How to get DOM elements using JavaScript","short_title":"Get DOM elements using JavaScript","url":"/blog/getting-dom-elements-javascript","description":"Learn what Document Object Model (DOM) is in JavaScript and how to use JavaScript to access different nodes (HTML elements) in the DOM.","date":"May 21, 2019","categories":["JavaScript"]},{"title":"Understanding JSON.parse() and JSON.stringify()","short_title":"Understanding JSON.parse() and JSON.stringify()","url":"/blog/json-parse-stringify","description":"A complete guide to learning what are JSON.parse() and JSON.stringify() methods and how you can use them to transform JSON data into different formats.","date":"May 19, 2019","categories":["JSON","JavaScript"]},{"title":"Introduction to Map object in JavaScript","short_title":"Intro to Map object in JavaScript","url":"/blog/maps-javascript","description":"A quick introduction to ES6's newest data type Map and how to a collection of key-value pairs in JavaScript.","date":"May 17, 2019","categories":["JavaScript"]},{"title":"Introduction to Set object in JavaScript","short_title":"Intro to Set object in JavaScript","url":"/blog/sets-javascript","description":"An introduction to ES6's newest data type Set and how to use it to create a collection of unique values in JavaScript. ","date":"May 16, 2019","categories":["JavaScript"]},{"title":"How to use async/await in JavaScript","short_title":"Use async/await in JavaScript","url":"/blog/async-await-javascript","description":"A detailed article to learn what is async/await and how to use it in JavaScript to write asynchronous code.","date":"May 14, 2019","categories":["JavaScript"]},{"title":"Using Fetch API to make HTTP requests in JavaScript","short_title":"Using Fetch API to make HTTP requests in JavaScript","url":"/blog/javascript-fetch-api","description":"Learn what is JavaScript Fetch API, how it works, how to use it to request network resources with custom request headers, request and object objects, and more.","date":"May 12, 2019","categories":["JavaScript"]},{"title":"How to use Axios to make HTTP requests in JavaScript","short_title":"Use Axios to make HTTP requests in JavaScript","url":"/blog/axios-javascript","description":"A practical guide to learning how to use the Axios library in JavaScript to make different HTTP requests.","date":"May 11, 2019","categories":["JavaScript"]},{"title":"How to use Promise.all() in JavaScript","short_title":"Use Promise.all() in JavaScript","url":"/blog/promise-all-javascript","description":"Learn about the Promise.all() function and how to use it in JavaScript for executing many promises in parallel. ","date":"May 10, 2019","categories":["JavaScript"]},{"title":"Introduction to JavaScript Arrow Functions","short_title":"Intro to JavaScript Arrow Functions","url":"/blog/javascript-arrow-functions","description":"Learn what are ES6's arrow functions and how to use them to write concise functions in JavaScript.","date":"May 9, 2019","categories":["JavaScript"]},{"title":"Introduction to Promises in JavaScript","short_title":"Intro to Promises in JavaScript","url":"/blog/promises-javascript","description":"An introduction to Promises in JavaScript and how to use them to write asynchronous code.","date":"May 7, 2019","categories":["JavaScript"]},{"title":"How to reverse a string in JavaScript","short_title":"Reverse a string in JavaScript","url":"/blog/string-reverse-javascript","description":"Learn how to reverse a string in JavaScript using built-in methods like split(), reverse(), and join().","date":"May 6, 2019","categories":["JavaScript"]},{"title":"How to capitalize the first letter of a string in JavaScript","short_title":"Capitalize the first letter of a string in JavaScript","url":"/blog/string-capitalize-javascript","description":"A quick article to learn how to capitalize the first letter of a string using charAt() and slice() functions in JavaScript.","date":"May 5, 2019","categories":["JavaScript"]},{"title":"How to Display Desktop Notifications using JavaScript","short_title":"Display Desktop Notifications using JavaScript","url":"/blog/desktop-notifications-javascript","description":"An introductory guide to learning how to use the JavaScript Notifications API to show desktop notifications.","date":"May 3, 2019","categories":["JavaScript"]},{"title":"How to replace all occurrences of a string in JavaScript","short_title":"Replace all occurrences of a string in JavaScript","url":"/blog/string-replace-javascript","description":"Learn how to use the replace() and replaceAll() methods to replace all occurrences of a string in a text using JavaScript. ","date":"May 2, 2019","categories":["JavaScript"]},{"title":"How to make HTTP Requests using Needle in Node.js","short_title":"Make HTTP Requests using Needle in Node.js","url":"/blog/http-requests-needle","description":"A detailed article to learn how to make different HTTP requests using Needle module in Node.js.","date":"May 1, 2019","categories":["Node.js"]},{"title":"Introduction to JavaScript Regular Expressions","short_title":"Intro to JavaScript Regular Expressions","url":"/blog/javascript-regular-expressions","description":"An introduction to JavaScript regular expressions and how to use them to perform pattern-matching and search-replace functions on strings.","date":"Apr 27, 2019","categories":["JavaScript"]},{"title":"How to check if a string contains a substring in JavaScript","short_title":"Check if a string contains a substring in JavaScript","url":"/blog/ways-to-check-string-contains-substring-javascript","description":"A practical guide to learning about six different methods to check if a string contains a substring in JavaScript.","date":"Apr 24, 2019","categories":["JavaScript"]},{"title":"How to create and read cookies in Spring Boot","short_title":"Create and read cookies in Spring Boot","url":"/blog/cookies-spring-boot","description":"A complete guide to learning how to read, write, and delete cookies in a Spring Boot web application. ","date":"Apr 24, 2019","categories":["Spring Boot"]},{"title":"How to change the default Java version on Ubuntu","short_title":"Change the default Java version on Ubuntu","url":"/blog/change-default-java-version-ubuntu","description":"A short guide to change the default Java version on a Ubuntu machine.","date":"Apr 17, 2019","categories":["Java","Ubuntu","DevOps"]},{"title":"How to serve static resources in Express","short_title":"Serve static resources in Express","url":"/blog/static-resources-express","description":"A quick article to learn how to serve static resources in a Node.js and Express.js web application.","date":"Apr 10, 2019","categories":["Node.js","Express.js"]},{"title":"How to Make HTTP Requests using Axios in Node.js","short_title":"Make HTTP Requests using Axios in Node.js","url":"/blog/http-requests-axios","description":"Axios is a popular promise-based JavaScript HTTP client for making asynchronous HTTP requests. It works both in the browser and in the Node.js applications.","date":"Apr 2, 2019","categories":["Node.js","JavaScript"]},{"title":"How to upload files in Node.js and Express","short_title":"Upload files in Node.js and Express","url":"/blog/uploading-files-nodejs-express","description":"A comprehensive guide to learning how to upload single and multiple files in Node.js.","date":"Mar 31, 2019","categories":["Node.js","Express.js"]},{"title":"Upgrade Ubuntu 18.10 to 19.04 Disco Dingo","short_title":"Upgrade Ubuntu 18.10 to 19.04 Disco Dingo","url":"/blog/upgrade-ubuntu-19-04-dicso-dingo","description":"","date":"Mar 29, 2019","categories":["Ubuntu","DevOps"]},{"title":"Upgrade Ubuntu 18.04 to 18.10 Cosmic Cuttlefish","short_title":"Upgrade Ubuntu 18.04 to 18.10 Cosmic Cuttlefish","url":"/blog/upgrade-ubuntu-18-04-to-18-10-cosmic-cuttlefish","description":"","date":"Mar 28, 2019","categories":["Ubuntu","DevOps"]},{"title":"How to export & download data as a CSV file in Spring Boot","short_title":"Export & download data as a CSV file in Spring Boot","url":"/blog/export-download-data-csv-file-spring-boot","description":"A detailed guide to learning how to export and download data as a CSV file in a Spring Boot application.","date":"Mar 27, 2019","categories":["Java","Spring Boot","CSV"]},{"title":"Add Deep Anchor Links to Your Blog using JavaScript","short_title":"Add Deep Anchor Links to Your Blog using JavaScript","url":"/blog/deep-anchor-links-javascript","description":"A quick guide to learn how to add deep anchor links to your blog using JavaScript.","date":"Mar 25, 2019","categories":["JavaScript","jQuery"]},{"title":"Upload and download files using Spring Boot REST API","short_title":"Upload and download files using Spring Boot REST API","url":"/blog/uploading-files-spring-boot","description":"A comprehensive guide to learning how to upload, save, and download files through Spring boot REST API.","date":"Mar 21, 2019","categories":["Spring Boot","Thymeleaf","RESTful"]},{"title":"How to parse XML response in Spring Boot","short_title":"Parse XML response in Spring Boot","url":"/blog/parsing-xml-response-spring-boot","description":"A comprehensive guide on learning how to parse the XML response returned by web services in Spring Boot.","date":"Mar 17, 2019","categories":["Spring Boot","RESTful","XML"]},{"title":"Accepting credit card payments with Stripe in Spring Boot","short_title":"Accepting credit card payments with Stripe in Spring Boot","url":"/blog/stripe-integration-with-spring-boot","description":"A step-by-step guide on learning how to integrate the Stripe payment processor with Spring Boot to accept online payments.","date":"Mar 11, 2019","categories":["Spring Boot","Thymeleaf","RESTful"]},{"title":"A guide to type conversion in Java","short_title":"A guide to type conversion in Java","url":"/blog/data-type-conversions-java","description":"A brief guide to popular data type conversions in Java. Learn how to convert a string to an integer, a string to a date, and more.\r\n","date":"Mar 10, 2019","categories":["Java"]},{"title":"How to create a Spring Boot console application","short_title":"Create a Spring Boot console application","url":"/blog/spring-boot-console-application","description":"A quick article to learn how to create a Spring Boot console application.","date":"Mar 10, 2019","categories":["Spring Boot"]},{"title":"How to parse JSON data in Spring Boot","short_title":"Parse JSON data in Spring Boot","url":"/blog/processing-json-spring-boot","description":"A comprehensive guide to learning how to parse, read, and write JSON in a Spring Boot application.","date":"Mar 9, 2019","categories":["Spring Boot","JSON","Jackson"]},{"title":"How to export PostgreSQL table data as JSON","short_title":"Export PostgreSQL table data as JSON","url":"/blog/export-postgresql-table-data-json","description":"A step-by-step guide to learning how to export PostgreSQL database table data as a JSON file.","date":"Feb 6, 2019","categories":["JSON","PostgresSQL"]},{"title":"Spring Boot Thymeleaf Pagination","short_title":"Spring Boot Thymeleaf Pagination","url":"/blog/spring-boot-thymeleaf-pagination","description":"A short guide to learn how to implement pagination in a Spring Boot and Thymeleaf web application.","date":"Jan 30, 2019","categories":["Spring Boot","Thymeleaf"]},{"title":"How to send emails using Amazon SES in Node.js","short_title":"Send emails using Amazon SES in Node.js","url":"/blog/amazon-ses-integration-nodejs","description":"A practical guide to learn how to use Amazon Simple Email Service (SES) to send emails in Node.js.","date":"Jan 28, 2019","categories":["Node.js","Amazon Web Services"]},{"title":"How to make HTTP requests in Node.js","short_title":"Make HTTP requests in Node.js","url":"/blog/http-requests-in-nodejs","description":"A comprehensive guide to learning about 7 different ways of making HTTP requests in Node.js using Axios, Needle, HTTP standard library, Request module, and more.","date":"Jan 25, 2019","categories":["Node.js","Express.js"]},{"title":"Upgrade Debian 8 Jessie to Debian 9 Stretch","short_title":"Upgrade Debian 8 Jessie to Debian 9 Stretch","url":"/blog/upgrade-debian-8-Jessie-to-debian-9-stretch","description":"","date":"Jan 12, 2019","categories":["Debian","DevOps"]},{"title":"How to fix Tomcat 8 slow start issue","short_title":"Fix Tomcat 8 slow start issue","url":"/blog/fix-tomcat-8-slow-start","description":"Learn how to fix the Tomcat 8 slow start issue using the Haveged open-source library.","date":"Jan 10, 2019","categories":["DevOps"]},{"title":"Setup White-Label Name Servers using AWS Route 53","short_title":"Setup White-Label Name Servers using AWS Route 53","url":"/blog/setup-white-label-name-servers-aws-route-53","description":"A step-by-step guide to learning how to setup and use white-label name servers using AWS Route 53.","date":"Oct 24, 2018","categories":["Amazon Web Services"]},{"title":"Serverless Application with Express.js using AWS Lambda and Claudia.js","short_title":"Serverless Application with Express.js using AWS Lambda and Claudia.js","url":"/blog/express-js-aws-lambda-claudia-serverless-app","description":"A practical guide on learning how to create an deploy a serverless application written in Express.js using AWS Lamda and Cloudia.js.","date":"Oct 23, 2018","categories":["Node.js","Express.js","Amazon Web Services"]},{"title":"Spring Boot & IntelliJ IDEA: Auto reload Thymeleaf templates without restart","short_title":"Spring Boot & IntelliJ IDEA: Auto reload Thymeleaf templates without restart","url":"/blog/spring-boot-auto-reload-thymeleaf-templates","description":"A detailed article to learn how to auto-reload Thymeleaf templates without restarting the Spring Boot application in IntelliJ IDEA.","date":"Oct 17, 2018","categories":["Spring Boot","Thymeleaf","Gulp"]},{"title":"How to smooth scroll to a page section with jQuery","short_title":"Smooth scroll to a page section with jQuery","url":"/blog/smooth-scroll-page-section-jquery","description":"Learn how to use JavaScript jQuery library to smooth scroll to different sections of a web page.","date":"Sep 15, 2018","categories":["JavaScript","jQuery"]},{"title":"How to send emails using Amazon SES in Spring Boot","short_title":"Send emails using Amazon SES in Spring Boot","url":"/blog/amazon-ses-integration-with-spring-boot","description":"A detailed guide to learning how to use Amazon Simple Email Service (SES) for sending transactional emails in Spring Boot.","date":"Aug 24, 2018","categories":["Spring Boot","Amazon Web Services"]}]