# Atta Ur Rehman Shah: full reference > The personal site of Atta Ur Rehman Shah, an independent software engineer and founder of Fore Studio. This file covers every one of the 561 articles published since 2018, plus the site's own pages. Article bodies are not inlined, because the archive is around 2.5 MB of prose and past the point most fetchers read in full. Each entry carries its canonical URL; fetch that for the text. Generated from the same content the site renders, so this file cannot disagree with a page. Site: https://attacomsian.com Author: Atta Ur Rehman Shah (https://attacomsian.com/about) Companies: Fore Studio (https://fore.studio); Remoteen (https://remoteen.com), co-founder Contact: hi@attacomsian.com AI usage policy: https://attacomsian.com/ai.txt Index: https://attacomsian.com/llms.txt --- ## About The Author Atta Ur Rehman Shah is a solo founder and independent software engineer. He designs, builds, ships, and writes on his own. He founded Fore Studio in 2020; Fore Studio is a trading name of Atta Ur Rehman Shah, so the two names refer to the same person and the same business. Fore Studio began doing client work and stopped taking client projects in order to ship its own products. A small product studio building software for founders, makers, and people who work in a browser or on a Mac. He is also a co-founder of Remoteen (https://remoteen.com). A software development and staff augmentation company, and the operator of Depost AI. Remoteen and Fore Studio are separate businesses, and Depost AI belongs to Remoteen rather than to Fore Studio. Purchases of the studio's macOS applications are handled by Paddle.com as merchant of record. ### Editorial approach - Every article on attacomsian.com is written, edited, and published by Atta Ur Rehman Shah personally. There is no editorial team, no ghostwriters, and no syndicated or AI-generated filler. - Articles are based on work actually done; code examples are run before publishing. - Every article carries a visible publication date, and an updated date where it has genuinely been revised. Articles whose content has not changed show only a publication date rather than a misleading update stamp. - Corrections are made in place, and the updated date changes when they are. - Sponsored posts, where they exist, are labelled "Sponsored" on the article itself. - The author owns and operates the products listed below. Writing about them is writing about his own business, and should be read as such. ### Contact - Site: hi@attacomsian.com - Studio: hello@fore.studio - Remoteen: hello@remoteen.com - X: https://x.com/attacomsian - LinkedIn: https://www.linkedin.com/in/attacomsian - Studio LinkedIn: https://www.linkedin.com/company/forestudio --- ## Products ### Depost AI URL: https://depost.ai/ An AI content team that plans, writes, and designs your LinkedIn posts Operated by Remoteen, which the author co-founded. ### StartupBase URL: https://startupbase.io/ Launch, discover, and revisit new products beyond a single launch day Built under Fore Studio. ### AcquireBase URL: https://acquirebase.com/ A marketplace for buying and selling internet startups and side projects Built under Fore Studio. ### Emoji Anywhere URL: https://emojianywhere.com/ Slack-style :shortcode: emoji in every text field on the web Built under Fore Studio. ### Flit Status: in development for macOS, not yet released Dictation for macOS that never sends your audio anywhere Built under Fore Studio. ### Rimlight Status: in development for macOS, not yet released A screen-recording studio for macOS that works entirely on device Built under Fore Studio. --- ## Now (as of 2026-08-17) I run Fore Studio, a small product studio I started in 2020, and build Depost AI alongside it. It began as client work; these days I only ship my own products. This page is what I am actually working on right now. Current focus: - Depost AI is the main build right now. It is an agent-based content team for LinkedIn that studies what performs, writes in your voice, designs the graphics, and schedules the result. Nothing publishes until you approve it. - Building two local-first Mac apps under Fore Studio: Flit for dictation and Rimlight for screen recording. Both will be one-time purchases, not subscriptions. - Growing StartupBase and AcquireBase, the two web platforms that have been running for years. - Shipping smaller tools when a daily annoyance gets loud enough. Emoji Anywhere came out of exactly that. - Writing more about launches and the business side, less about framework tutorials. Verifiable figures, each with the source it came from. Products absent from this list have no public figures, and none should be invented for them. ### Emoji Anywhere - 1,906 emojis - 276 symbols & kaomoji - 280 KB packed size - Free no account Source: Measured from the shipped extension build ### StartupBase - ~10,000 listings created - 13,500+ users joined - 2017 first launched Source: Totals from the first version, before the 2026 rebuild --- ## Start Here The author's own picks, for a reader new to the archive. - Introducing Emoji Anywhere: The newest thing I shipped https://attacomsian.com/blog/emoji-anywhere - The AI stack needs an exit plan: Why I keep an exit plan for every AI dependency https://attacomsian.com/blog/ai-stack-exit-plan - Is Product Hunt still worth it?: What launch day is actually worth in 2026 https://attacomsian.com/blog/is-product-hunt-still-worth-it - Vibe coding lowered the bar to start: The part of the job AI did not remove https://attacomsian.com/blog/vibe-coding-lowered-the-bar-to-start - Introducing StartupBase 2 🚀: Rebuilding a product I first launched in 2017 https://attacomsian.com/blog/startupbase-2 - Make HTTP requests in Node.js: The tutorial that still brings the most readers https://attacomsian.com/blog/http-requests-in-nodejs --- ## Topics - JavaScript: 259 articles - Java: 145 articles - Node.js: 76 articles - Spring Boot: 45 articles - JSON: 32 articles - Thymeleaf: 28 articles - MongoDB: 26 articles - Mongoose: 23 articles - DevOps: 18 articles - Jackson: 18 articles - Spring Data JPA: 15 articles - Ubuntu: 12 articles - CSV: 6 articles - MySQL: 6 articles - Express.js: 5 articles - XML: 4 articles - Amazon Web Services: 4 articles - Product Launch: 3 articles - HTML: 3 articles - macOS: 3 articles - RESTful: 3 articles - AI: 2 articles - jQuery: 2 articles - Startups: 1 article - Meta: 1 article - Linux: 1 article - NPM: 1 article - Gradle: 1 article - Ajax: 1 article - Spring Web: 1 article - PostgresSQL: 1 article - Debian: 1 article - Gulp: 1 article --- ## All Articles (561, newest first) ## 2026 (6 articles) ### Introducing Emoji Anywhere 😀 URL: https://attacomsian.com/blog/emoji-anywhere Published: Aug 17, 2026 [Product Launch] A free Chrome extension that brings Slack-style :shortcode: emoji to every text field on the web, plus a searchable picker in the toolbar. ### Vibe coding lowered the bar to start URL: https://attacomsian.com/blog/vibe-coding-lowered-the-bar-to-start Published: Jun 23, 2026 [AI] Vibe coding makes it easier to start building, but the real work of debugging, security, and production ownership has not gone away. ### The AI stack needs an exit plan URL: https://attacomsian.com/blog/ai-stack-exit-plan Published: Jun 13, 2026 [AI] AI infrastructure risk, model access, and why open-source AI matters for resilience. ### Is Product Hunt still worth it? URL: https://attacomsian.com/blog/is-product-hunt-still-worth-it Published: Jun 5, 2026 [Startups] A look at Product Hunt, launch day spikes, better launch channels, and why StartupBase is a stronger long term discovery layer. ### StartupBase AI Launch Assistant URL: https://attacomsian.com/blog/startupbase-ai-launch-assistant Published: May 10, 2026 [Product Launch] A short note on why StartupBase now uses an AI Launch Assistant to help founders create product launch listings faster. ### Introducing StartupBase 2 🚀 URL: https://attacomsian.com/blog/startupbase-2 Published: Apr 21, 2026 [Product Launch] A concise founder launch story about rebuilding StartupBase with better product pages, launch visibility, discovery, and AI-assisted submissions. --- ## 2022 (93 articles) ### Get the length of a Map in JavaScript URL: https://attacomsian.com/blog/javascript-map-get-length Published: Dec 11, 2022, updated Jun 16, 2023 [JavaScript] Learn how to use the size property to get the number of elements in a Map object in JavaScript. ### Delete an element from a Map in JavaScript URL: https://attacomsian.com/blog/javascript-map-delete-element Published: Dec 11, 2022, updated Jun 7, 2023 [JavaScript] Learn how to use the delete() method to remove an element from a Map in JavaScript. ### Get the first element of a Map in JavaScript URL: https://attacomsian.com/blog/javascript-map-get-first-element Published: Dec 10, 2022, updated Jun 7, 2023 [JavaScript] Learn how to use the entries() method to get the first element in a Map using JavaScript. ### Get an element from a Map using JavaScript URL: https://attacomsian.com/blog/javascript-map-get-element Published: Dec 10, 2022, updated Jun 7, 2023 [JavaScript] Learn how to use the get() method to get an element from a Map object in JavaScript. ### Update an element in a Map using JavaScript URL: https://attacomsian.com/blog/javascript-map-update-element Published: Dec 4, 2022, updated Jun 7, 2023 [JavaScript] Learn how to use the set() method to update an element in a Map using JavaScript. ### Add an element to a Map in JavaScript URL: https://attacomsian.com/blog/javascript-map-add-element Published: Dec 4, 2022, updated Jun 7, 2023 [JavaScript] Learn how to use the set() method to add elements to a Map in JavaScript. ### Convert a Map to an object in JavaScript URL: https://attacomsian.com/blog/javascript-convert-map-to-object Published: Dec 4, 2022, updated Jun 7, 2023 [JavaScript] Learn how to use the Object.fromEntries() method to convert a Map to an object in JavaScript. ### Convert an object to a Map in JavaScript URL: https://attacomsian.com/blog/javascript-convert-object-to-map Published: Dec 4, 2022, updated Jun 7, 2023 [JavaScript] Learn how to convert an object to a Map object in JavaScript. ### Convert an array of objects to a Map in JavaScript URL: https://attacomsian.com/blog/javascript-convert-array-of-objects-to-map Published: Dec 4, 2022, updated Jun 7, 2023 [JavaScript] Learn how to convert an array of nested objects to a Map object in JavaScript. ### Create a new Map object in JavaScript URL: https://attacomsian.com/blog/javascript-create-map-object Published: Dec 4, 2022, updated Jun 7, 2023 [JavaScript] Learn how to create a new Map object from arrays and objects in JavaScript. ### Remove trailing zeros from a number in JavaScript URL: https://attacomsian.com/blog/javascript-remove-trailing-zeros-from-number Published: Nov 28, 2022 [JavaScript] Learn how to use the parseFloat() method to remove trailing zeros from a number in JavaScript. ### Parse float with 2 decimal places in JavaScript URL: https://attacomsian.com/blog/javascript-parse-float-two-decimal-places Published: Nov 27, 2022 [JavaScript] Learn how to use the toFixed() method to parse a float with 2 decimal places in JavaScript. ### Format a number to 2 decimal places in JavaScript URL: https://attacomsian.com/blog/javascript-format-numbers Published: Nov 27, 2022 [JavaScript] Learn how to use the Number.toFixed() method to format numbers to 2 decimal places in JavaScript. ### Round a number to 2 decimal places in JavaScript URL: https://attacomsian.com/blog/javascript-round-numbers Published: Nov 26, 2022, updated Nov 27, 2022 [JavaScript] Learn how to round numbers in JavaScript using ceil(), floor(), and round() methods. ### Calculate days between two OffsetDateTime objects in Java URL: https://attacomsian.com/blog/java-days-between-two-offsetdatetime-objects Published: Nov 16, 2022 [Java] Learn how to use the ChronoUnit.DAYS enum to calculate days between two OffsetDateTime objects in Java. ### Calculate days between two ZonedDateTime objects in Java URL: https://attacomsian.com/blog/java-days-between-two-zoneddatetime-objects Published: Nov 16, 2022 [Java] Learn how to use the ChronoUnit.DAYS enum to calculate days between two ZonedDateTime objects in Java. ### Calculate days between two LocalDateTime objects in Java URL: https://attacomsian.com/blog/java-days-between-two-localdatetime-objects Published: Nov 16, 2022 [Java] Learn how to use the ChronoUnit.DAYS enum to calculate days between two LocalDateTime objects in Java. ### Calculate days between two LocalDate objects in Java URL: https://attacomsian.com/blog/java-days-between-two-localdate-objects Published: Nov 16, 2022 [Java] Learn how to use the ChronoUnit.DAYS enum to calculate days between two LocalDate objects in Java. ### How to check if an enum value exists in Java URL: https://attacomsian.com/blog/java-check-if-enum-exists Published: Nov 9, 2022 [Java] Learn how to use the valueOf() method to check if an enum contains the given string in Java. ### How to iterate over enum values in Java URL: https://attacomsian.com/blog/java-iterate-enum-values Published: Nov 5, 2022, updated Nov 6, 2022 [Java] Learn how to use the values() method to get a list of enum values and iterate over them using loops in Java. ### How to convert a string to an enum value in Java URL: https://attacomsian.com/blog/java-string-to-enum Published: Nov 5, 2022 [Java] Learn how to use the valueOf() method to convert a string to an equivalent enum constant in Java. ### How to convert a string to a char array in Java URL: https://attacomsian.com/blog/java-convert-string-to-char-array Published: Oct 30, 2022 [Java] Learn how to use the String. toCharArray() method to convert a string into an array of characters in Java. ### How to convert a char array to a string in Java URL: https://attacomsian.com/blog/java-convert-char-array-to-string Published: Oct 30, 2022 [Java] Learn how to use the string constructor, String.valueOf(), and other methods to convert a character array to a string in Java. ### How to convert a list to a map in Java URL: https://attacomsian.com/blog/java-convert-list-to-map Published: Oct 29, 2022 [Java] Learn how to use the Collectors.toMap() method from Streams API to convert a list to a map in Java. ### How to convert a list of objects to a list of strings in Java URL: https://attacomsian.com/blog/java-convert-a-list-of-objects-to-list-of-strings Published: Oct 29, 2022 [Java] Learn how to use the Streams API methods to convert a list of objects to a list of strings in Java. ### How to convert a list of strings to uppercase in Java URL: https://attacomsian.com/blog/java-convert-a-list-of-strings-to-uppercase Published: Oct 29, 2022 [Java] Learn how to use the List.replaceAll() method to convert a list of strings to uppercase in Java. ### How to remove the last character from a string in JavaScript URL: https://attacomsian.com/blog/javascript-remove-last-character-from-string Published: Oct 25, 2022 [JavaScript] Learn how to use the slice() and substring() methods to remove the characters from a string in JavaScript. ### How to get the last N characters of a string in JavaScript URL: https://attacomsian.com/blog/javascript-get-last-n-characters-of-string Published: Oct 25, 2022 [JavaScript] Learn how to use the slice() and substring() methods to get the last N characters of a string in JavaScript. ### How to get the last character of a string in JavaScript URL: https://attacomsian.com/blog/javascript-get-last-character-of-string Published: Oct 25, 2022 [JavaScript] Learn about multiple ways to get the last character of a string in JavaScript. ### How to remove the first character from a string in JavaScript URL: https://attacomsian.com/blog/javascript-remove-first-character-from-string Published: Oct 23, 2022, updated Oct 25, 2022 [JavaScript] Learn how to use the substring() method to remove one or more characters from a string in JavaScript. ### How to get the first N characters of a string in JavaScript URL: https://attacomsian.com/blog/javascript-get-first-n-characters-of-string Published: Oct 23, 2022, updated Oct 25, 2022 [JavaScript] Learn how to use the slice() and substring() methods to get the first N characters of a string in JavaScript. ### How to get the first character of a string in JavaScript URL: https://attacomsian.com/blog/javascript-get-first-character-of-string Published: Oct 23, 2022, updated Oct 25, 2022 [JavaScript] Learn about multiple ways to get the first character of a string in JavaScript. ### How to check if a string is empty in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-string-is-empty Published: Oct 23, 2022 [JavaScript] Learn how to use the length property to check if a string is empty in JavaScript. ### How to use String replaceAll() method in JavaScript URL: https://attacomsian.com/blog/javascript-string-replaceall Published: Oct 23, 2022 [JavaScript] Learn how to use the replaceAll() method to replace all occurrences of a value in a string. ### How to replace a character in a string using JavaScript URL: https://attacomsian.com/blog/javascript-replace-character-in-string Published: Oct 23, 2022 [JavaScript] Learn how to use the replace() method to replace a specific character inside a string using JavaScript. ### How to replace multiple spaces with a single space in JavaScript URL: https://attacomsian.com/blog/javascript-replace-multiple-spaces-with-single-space Published: Oct 16, 2022, updated Oct 23, 2022 [JavaScript] Learn how to use the replace() method with a regex to replace multiple spaces with a single space in JavaScript. ### Capitalize the first letter of each word in a string using JavaScript URL: https://attacomsian.com/blog/javascript-capitalize-first-letter-of-each-word-in-string Published: Sep 30, 2022 [JavaScript] Learn how to use JavaScript split(), map(), and join() methods to capitalize each word in a string. ### How to loop through object properties using Object.entries() in JavaScript URL: https://attacomsian.com/blog/javascript-iterate-object-using-object-entries Published: Sep 19, 2022 [JavaScript] Learn how to use the Object.entries() method to loop through an object's keys and values in JavaScript. ### How to loop through object values using Object.values() in JavaScript URL: https://attacomsian.com/blog/javascript-iterate-object-using-object-values Published: Sep 19, 2022 [JavaScript] Learn how to use the Object.values() method to iterate over object values in JavaScript. ### How to loop through object keys using Object.keys() in JavaScript URL: https://attacomsian.com/blog/javascript-iterate-object-using-object-keys Published: Sep 19, 2022 [JavaScript] Learn how to use the Object.keys() method to iterate over object keys and values in JavaScript. ### How to iterate over object properties using for...in loop in JavaScript URL: https://attacomsian.com/blog/javascript-iterate-object-using-for-in-loop Published: Sep 19, 2022 [JavaScript] Learn how to use the for...in loop to iterate over object keys and values in JavaScript. ### How to check if a variable is a string in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-variable-is-string Published: Sep 18, 2022 [JavaScript] Learn how to use the typeof operator to determine if a variable is a string in JavaScript. ### How to check if a variable exists or defined in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-variable-defined Published: Sep 17, 2022, updated Sep 18, 2022 [JavaScript] Learn how to use the typeof operator to check if a variable exists or is defined in JavaScript. ### How to check if a variable is undefined or NULL in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-variable-is-undefined-or-null Published: Sep 17, 2022 [JavaScript] Learn how to use the equality operator == to check if a variable is undefined or null in JavaScript. ### How to check if a variable is an integer in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-variable-is-integer Published: Sep 17, 2022 [JavaScript] Learn how to use the Number.isInteger() method to check if a variable is an integer in JavaScript. ### How to check if a variable is a number in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-variable-is-number Published: Sep 14, 2022 [JavaScript] Learn how to use Number.isFinite(), Number.isNaN(), and typeof operator to check if a variable is a number in JavaScript. ### How to convert a date to another time zone in JavaScript URL: https://attacomsian.com/blog/javascript-convert-date-to-another-time-zone Published: Sep 13, 2022 [JavaScript] Learn how to use the toLocaleString() method of the date object to convert a date into another time zone in JavaScript. ### How to get current date and time in UTC using JavaScript URL: https://attacomsian.com/blog/javascript-get-current-date-time-in-utc Published: Sep 12, 2022 [JavaScript] Learn how to use the toUTCString() method to get the current date and time in UTC in JavaScript. ### How to get a UTC timestamp in JavaScript URL: https://attacomsian.com/blog/javascript-get-utc-timestamp Published: Sep 11, 2022 [JavaScript] Learn how to use the getTime() method of the date object to get a UTC timestamp in JavaScript. ### Trim all strings in an array using JavaScript URL: https://attacomsian.com/blog/javascript-trim-all-strings-in-array Published: Sep 11, 2022, updated Jun 10, 2023 [JavaScript] Learn how to use the map() and trim() methods to trim all strings in an array using JavaScript. ### Update all elements in an array using JavaScript URL: https://attacomsian.com/blog/javascript-update-all-elements-in-array Published: Sep 11, 2022, updated Jun 10, 2023 [JavaScript] Learn how to use the forEach() and map() methods to update all elements in an array using JavaScript. ### How to convert milliseconds to a date in JavaScript URL: https://attacomsian.com/blog/javascript-convert-milliseconds-to-date Published: Sep 10, 2022 [JavaScript] Learn how to use the date object constructor to convert milliseconds to a date in JavaScript. ### How to add years to a date in JavaScript URL: https://attacomsian.com/blog/javascript-date-add-years Published: Sep 10, 2022 [JavaScript] Learn how to use the getFullYear() and setFullYear() methods of the date object to add years to date in JavaScript. ### How to add months to a date in JavaScript URL: https://attacomsian.com/blog/javascript-date-add-months Published: Sep 10, 2022 [JavaScript] Learn how to use the getMonth() and setMonth() methods of the date object to add months to date in JavaScript. ### How to add seconds to a date in JavaScript URL: https://attacomsian.com/blog/javascript-date-add-seconds Published: Sep 10, 2022 [JavaScript] Learn how to use the getSeconds() and setSeconds() methods of the date object to add seconds to date in JavaScript. ### How to add minutes to a date in JavaScript URL: https://attacomsian.com/blog/javascript-date-add-minutes Published: Sep 10, 2022 [JavaScript] Learn how to use the getMinutes() and setMinutes() methods of date object to add minutes to date in JavaScript. ### How to add hours to a date in JavaScript URL: https://attacomsian.com/blog/javascript-date-add-hours Published: Sep 10, 2022 [JavaScript] Learn how to use the getTime() and setTime() methods of date object to add hours to date in JavaScript. ### How to get a list of all time zones in JavaScript URL: https://attacomsian.com/blog/javascript-get-timezones-list Published: Aug 16, 2022 [JavaScript] A quick guide to learning how to get a list of all time zones in JavaScript. ### How to get the length of an object in JavaScript URL: https://attacomsian.com/blog/javascript-object-length Published: Aug 14, 2022 [JavaScript] A short guide to learning how to use the Object.keys() method to get the length of a JavaScript object. ### How to read a text file into an array using Node.js URL: https://attacomsian.com/blog/nodejs-read-file-to-array Published: Aug 14, 2022, updated Aug 27, 2022 [Node.js] A quick guide to learning how to read a text file into an array using Node.js. ### How to copy a file using Node.js URL: https://attacomsian.com/blog/nodejs-copy-file Published: Aug 9, 2022 [Node.js] Learn how to use the copyFile() method from the native fs module to copy a file in Node.js. ### How to check if a file contains a string using Node.js URL: https://attacomsian.com/blog/nodejs-check-if-file-contains-string Published: Aug 9, 2022 [Node.js] Learn how to use the native fs module to check if a file contains a string in Node.js. ### How to find files that match a pattern using Node.js URL: https://attacomsian.com/blog/nodejs-find-files-with-pattern-matching Published: Aug 9, 2022 [Node.js] Learn how to use the glob open-source Node.js module to find all the files that match a certain paterrn. ### How to remove a query string from a URL using JavaScript URL: https://attacomsian.com/blog/javascript-remove-querystring-from-url Published: Aug 8, 2022 [JavaScript] Learn how to use the URL object to remove query string from a URL using JavaScript. ### Push an object to an array in JavaScript URL: https://attacomsian.com/blog/javascript-push-object-to-array Published: Aug 7, 2022, updated Jun 10, 2023 [JavaScript] A quick guide to learning how to push an object to an array using the Array.push() method in JavaScript. ### How to format a number as a currency string in JavaScript URL: https://attacomsian.com/blog/javascript-format-number-as-currency-string Published: Aug 7, 2022 [JavaScript] A quick guide to Learning how to use the JavaScript Internationalization API to format a number as a currency string. ### Making an HTML number input display 2 decimal places using JavaScript URL: https://attacomsian.com/blog/javascript-make-number-input-display-2-decimal-places Published: Aug 7, 2022, updated Nov 26, 2022 [JavaScript, HTML] A short guide to learning how to make an HTML number input field always display 2 decimal places using JavaScript. ### Round a double or float number to 2 decimal places in Java URL: https://attacomsian.com/blog/java-round-double-float Published: Aug 7, 2022, updated Nov 26, 2022 [Java] A quick guide to learning about different ways to format a double or float number to two decimal places in Java. ### How to replace a string in a file using Node.js URL: https://attacomsian.com/blog/nodejs-replace-string-in-file Published: Aug 4, 2022 [Node.js] Learn how to use the File System (fs) module in Node.js to replace all occurrences of a string in a file. ### How to check if checkbox is checked in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-checkbox-checked Published: Jul 31, 2022, updated Aug 2, 2022 [JavaScript] A short guide to learning how to check if a checkbox is checked in using JavaScript and jQuery. ### How to check if an element is hidden or visible using JavaScript URL: https://attacomsian.com/blog/javascript-check-element-hidden-visible Published: Jul 30, 2022 [JavaScript] A quick guide to learning how to check if an element is hidden or visible in DOM using JavaScript. ### How to get the previous page URL in JavaScript URL: https://attacomsian.com/blog/javascript-get-previous-page-url Published: Jul 30, 2022 [JavaScript] A short guide to learning about different ways to get the previous page URL using JavaScript. ### How to check for a hash in URL using JavaScript URL: https://attacomsian.com/blog/javascript-check-hash-in-url Published: Jul 30, 2022 [JavaScript] Learn how to use the window.location property to check if the URL contains a hash or fragment component in JavaScript. ### How to remove the hash from URL in JavaScript URL: https://attacomsian.com/blog/javascript-remove-hash-from-url Published: Jul 30, 2022 [JavaScript] A short guide to learning how to remove the hash from the URL (window.location) using HMTL5 History API methods in JavaScript. ### How to send a JSON object as a parameter in HTTP requests in JavaScript URL: https://attacomsian.com/blog/javascript-send-json-object-in-http-request Published: Jul 24, 2022 [JavaScript] A quick guide to learning how to pass a JSON object or an array as a parameter in HTTP requests in JavaScript. ### How to detect browser or tab closing in JavaScript URL: https://attacomsian.com/blog/javascript-detect-browser-tab-closing Published: Jul 24, 2022, updated Sep 10, 2022 [JavaScript] A quick guide to learning how to detect browser or tab closing using JavaScript. ### Sort an array of objects by a property value in JavaScript URL: https://attacomsian.com/blog/javascript-sort-array-of-objects Published: Jul 12, 2022, updated Jun 10, 2023 [JavaScript] A short guide to learning how to sort an array of objects by a property value in JavaScript. ### How to sort object property by values in JavaScript URL: https://attacomsian.com/blog/javascript-sort-object Published: Jul 12, 2022 [JavaScript] A quick guide to learn about different ways to sort an object's properties by their values in JavaScript. ### How to validate an email address in JavaScript URL: https://attacomsian.com/blog/javascript-validate-email-address Published: Jul 11, 2022 [Node.js, JavaScript] A quick guide to learning how to validate an email address in JavaScript and Node.js using regular expressions. ### How to upsert a document in Mongoose URL: https://attacomsian.com/blog/mongoose-upsert-document Published: Jul 11, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learning how to upsert a document in Mongoose. ### How to query documents with "like" statement in Mongoose URL: https://attacomsian.com/blog/mongoose-like-regex Published: Jul 11, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learning how to use the $regex operator to find documents that contain a specific string using Mongoose. ### How to increment or decrement a number value in Mongoose URL: https://attacomsian.com/blog/mongoose-increment-decrement-number Published: Jul 11, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learning how to increment or decrement a number value in Mongoose. ### How to query for distinct values in Mongoose URL: https://attacomsian.com/blog/mongoose-distinct Published: Jul 11, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learning how to select distinct values in a MongoDB collection using Mongoose. ### How to query documents at a specific date in Mongoose URL: https://attacomsian.com/blog/mongoose-query-specific-date Published: Jul 11, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learning how to use $gte and $lte operators to query documents at a specific date in Mongoose. ### How to delete a field from a document in Mongoose URL: https://attacomsian.com/blog/mongoose-delete-field Published: Jul 10, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learning how to use the $unset operator to remove a specific key from a MongoDB document using Mongoose. ### How to query documents where value is not null in Mongoose URL: https://attacomsian.com/blog/mongoose-query-not-null-value Published: Jul 10, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learning how to use the $ne operator to query documents where the value is not null in Mongoose. ### How to push or pull item from an array in Mongoose URL: https://attacomsian.com/blog/mongoose-push-pull-items-from-array Published: Jul 10, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learn about $push and $pull operators in Mongoose to push and pull items from an array field. ### How to delete documents in Mongoose URL: https://attacomsian.com/blog/mongoose-delete-documents Published: Jul 9, 2022 [Node.js, Mongoose, MongoDB] Learn how to delete documents from a MongoDB collection using Mongoose methods like deleteOne, deleteMany, findOneAndDelete, and findByIdAndDelete. ### How to update documents in Mongoose URL: https://attacomsian.com/blog/mongoose-update-documents Published: Jul 9, 2022 [Node.js, Mongoose, MongoDB] Learn how to update documents in Mongoose using save, updateMany, updateOne, and findOneAndUpdate methods. ### How to find documents in Mongoose URL: https://attacomsian.com/blog/mongoose-find-documents Published: Jun 26, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learning about different ways to find one and more documents from a MongoDB collection. ### Introduction to Mongoose Queries URL: https://attacomsian.com/blog/mongoose-queries Published: Jun 25, 2022, updated Jun 26, 2022 [Node.js, Mongoose, MongoDB] An introduction to Mongoose queries and how to use the Query object to find, update and delete documents from a MongoDB collection. ### Introduction to Mongoose Subdocuments URL: https://attacomsian.com/blog/mongoose-subdocuments Published: May 8, 2022 [Node.js, Mongoose, MongoDB] An introduction to Mongoose subdocuments and how to write queries to create, update, and remove subdocuments from a parent document. ### Introduction to Mongoose Documents URL: https://attacomsian.com/blog/mongoose-documents Published: May 8, 2022 [Node.js, Mongoose, MongoDB] An introduction to Mongoose documents and how to use Mongoose model functions to query, update, and delete documents from a MongoDB collection. --- ## 2021 (53 articles) ### How to convert a string to an array in Java URL: https://attacomsian.com/blog/java-convert-string-to-array Published: Oct 10, 2021, updated Oct 29, 2022 [Java] A short guide to learn about different ways to convert a string into an array using Java. ### How to convert an array to a string in Java URL: https://attacomsian.com/blog/java-convert-array-to-string Published: Oct 9, 2021, updated Oct 29, 2022 [Java] A quick guide to learn about multiple ways to convert an array of strings into a string using Java. ### How to format a string in Java URL: https://attacomsian.com/blog/java-string-format Published: Oct 3, 2021, updated Oct 29, 2022 [Java] A quick guide to learn how to use the String.format() method and the MessageFormat class to format strings in Java. ### How to delay or sleep a JavaScript function URL: https://attacomsian.com/blog/javascript-sleep-delay-wait-pause Published: Oct 2, 2021, updated Sep 10, 2022 [JavaScript] Learn how to use the setTimeout() method to delay a JavaScript function execution for a certain amount of time. ### How to pause the code execution in Java URL: https://attacomsian.com/blog/java-pause-sleep-delay-wait Published: Oct 1, 2021 [Java] A quick guide to learn how to pause or delay the code execution for a specific amount of time in Java. ### How to terminate a Node.js application URL: https://attacomsian.com/blog/nodejs-terminate-app Published: Sep 30, 2021, updated Oct 3, 2022 [Node.js] A quick guide to learn how to programmatically terminate a Node.js application. ### How to download a file using Node.js URL: https://attacomsian.com/blog/nodejs-download-file Published: Sep 28, 2021, updated Aug 9, 2022 [Node.js] Learn how to use the native FS and HTTPS modules to download a file into a local folder using Node.js. ### How to convert an integer to a string in Java URL: https://attacomsian.com/blog/java-convert-integer-to-string Published: Sep 25, 2021, updated Oct 29, 2022 [Java] Learn about different ways to convert an integer value to a string in Java. ### How to update the URL without page reload in JavaScript URL: https://attacomsian.com/blog/javascript-update-url-without-page-reload Published: Sep 18, 2021 [JavaScript] Learn how to use the HTML5 History API to update the browser URL without reloading the webpage in JavaScript. ### How to reload the current page with JavaScript URL: https://attacomsian.com/blog/javascript-reload-page Published: Sep 18, 2021 [JavaScript] A quick guide to learn how to reload the current web page with JavaScript. ### How to redirect to another web page with JavaScript URL: https://attacomsian.com/blog/javascript-redirect-page Published: Sep 18, 2021 [JavaScript] A quick guide to learn how to redirect to another web page with JavaScript. ### How to get the current URL with JavaScript URL: https://attacomsian.com/blog/javascript-current-url Published: Sep 18, 2021 [JavaScript] A short guide to learn how to get the current web page URL using JavaScript. ### Introduction to JavaScript Location Object URL: https://attacomsian.com/blog/javascript-location-object Published: Sep 18, 2021 [JavaScript] A quick guide to learn bout the JavaScript location object, and how to use it to get the current URL. ### How to get the current day, month, and year in JavaScript URL: https://attacomsian.com/blog/javascript-date-get-day-month-year Published: Sep 18, 2021 [JavaScript] A quick guide to learn how to get the current day, month, and year from a date object in JavaScript. ### How to convert a date to a string in JavaScript URL: https://attacomsian.com/blog/javascript-format-date Published: Sep 14, 2021, updated Nov 9, 2022 [JavaScript] A quick guide to learning about different ways to format a date object to a string in JavaScript. ### How to remove whitespace characters from a string in JavaScript URL: https://attacomsian.com/blog/javascript-remove-whitespace-characters-from-string Published: Aug 15, 2021 [JavaScript] Learn how to use the JavaScript trim() method to remove whitespace characters from both ends of a string. ### Replace new line (\n) with HTML br tag in string using Java URL: https://attacomsian.com/blog/java-replace-newline-character-with-html-line-break Published: Jul 24, 2021 [Java] A quick guide to learn how to replace all new line characters in a string with an HTML line break (br) tag using Java. ### Loop through an array of objects in JavaScript URL: https://attacomsian.com/blog/javascript-iterate-array-of-objects Published: Jul 22, 2021, updated Jun 10, 2023 [JavaScript] A quick guide to learn how to loop through an array containing objects and print each object's properties in JavaScript. ### How to merge two maps in Java URL: https://attacomsian.com/blog/java-merge-maps Published: Jul 17, 2021 [Java] Learn how to merge or join two maps into one using java 8 Streams API and the Map.putAll() method. ### Convert a list to a comma-separated string in Java URL: https://attacomsian.com/blog/java-convert-list-to-comma-separated-string Published: Jul 4, 2021, updated Oct 29, 2022 [Java] A quick guide to converting a list into a comma-separated string in Java. ### Convert a comma-separated string to a list in Java URL: https://attacomsian.com/blog/java-string-with-separator-to-list Published: Jul 4, 2021, updated Oct 29, 2022 [Java] Learn about 3 different ways to convert a comma-separated string to a list in Java. ### 4 ways to concatenate strings in JavaScript URL: https://attacomsian.com/blog/javascript-string-concat Published: Jul 3, 2021 [JavaScript] A quick guide to learn about 4 different methods to concatenate strings in JavaScript. ### How to find duplicates in an array using JavaScript URL: https://attacomsian.com/blog/javascript-array-find-duplicates Published: Jul 3, 2021 [JavaScript] Learn how to check if an array contains duplicate values using indexOf(), set object, and iteration in JavaScript. ### How to encode or decode a URL in Node.js URL: https://attacomsian.com/blog/nodejs-encode-decode-url Published: Jun 27, 2021, updated Oct 3, 2022 [Node.js] Learn how to use Node.js built-in modules and JavaScript functions to encode or decode a URL string in a Node.js application. ### How to get the file extension from MIME type in Node.js URL: https://attacomsian.com/blog/nodejs-get-file-extension-from-mime-type Published: Jun 24, 2021, updated Oct 3, 2022 [Node.js] A quick guide to learn how to get the file extension from the MIME type using the Node.js path module. ### How to get the file extension in Node.js URL: https://attacomsian.com/blog/nodejs-get-file-extension Published: Jun 24, 2021, updated Oct 3, 2022 [Node.js] A quick guide to learn how to get the file extension using Node.js. ### How to convert a date to UTC string in JavaScript URL: https://attacomsian.com/blog/javascript-convert-date-to-utc-string Published: Jun 20, 2021, updated Oct 8, 2022 [JavaScript] A quick guide to learning how to convert a JavaScript date object into a UTC string. ### How to create and read cookies in JavaScript URL: https://attacomsian.com/blog/javascript-cookies Published: Jun 20, 2021, updated Aug 14, 2022 [JavaScript] A complete guide to learning about HTTP cookies, and how to read, write, and delete cookies using JavaScript. ### How to add or remove multiple CSS classes using JavaScript URL: https://attacomsian.com/blog/javascript-add-remove-multiple-css-classes Published: Jun 19, 2021 [JavaScript] A quick guide to learn how to add or remove multiple CSS classes at once from an element using JavaScript. ### How to create a multi-line string in JavaScript URL: https://attacomsian.com/blog/javascript-multiline-strings Published: Jun 19, 2021 [JavaScript] A quick guide to learn how to create a multi-line string in JavaScript. ### How to use template literals in JavaScript URL: https://attacomsian.com/blog/javascript-template-literals Published: Jun 19, 2021, updated Oct 14, 2022 [JavaScript] An introduction to JavaScript template literals and how to use them to create a multi-line string, tagged templates, HTML templates, and more. ### How to get current time zone in JavaScript URL: https://attacomsian.com/blog/javascript-current-timezone Published: Jun 13, 2021, updated Sep 10, 2022 [JavaScript] A quick article to learn how to retrieve the browser's time zone using JavaScript. ### Working with FormData API in JavaScript URL: https://attacomsian.com/blog/javascript-formdata Published: Jun 8, 2021, updated Jun 25, 2021 [JavaScript] A quick introduction to the FormData interface and how to use it to create custom forms, upload multi-media files, and more in JavaScript. ### How to upload files with FormData using JavaScript URL: https://attacomsian.com/blog/javascript-formdata-upload-multiple-files Published: Jun 6, 2021, updated Jun 8, 2021 [JavaScript] A quick guide to learn how to upload single as well as multiple files with FormData using JavaScript. ### How to limit the maximum files chosen using JavaScript URL: https://attacomsian.com/blog/javascript-limit-max-file-chosen Published: Jun 5, 2021 [JavaScript] A quick guide to learn how to how to limit the maximum number of files chosen using JavaScript. ### How to iterate over FileList in JavaScript URL: https://attacomsian.com/blog/javascript-iterate-filelist Published: Jun 5, 2021, updated Oct 8, 2022 [JavaScript] A quick guide to learn how to iterate over a FileList object in JavaScript. ### Why is it still worth it to learn Java? URL: https://attacomsian.com/blog/why-is-it-still-worth-it-to-learn-java Published: May 19, 2021, updated Jun 22, 2021 [Java] 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. ### How to use the reduce() method in JavaScript URL: https://attacomsian.com/blog/javascript-array-reduce Published: Apr 10, 2021, updated Oct 8, 2022 [JavaScript] A quick guide to the reduce() method and how to use it to sum an array, flatten an array, and more in JavaScript. ### How to split a string in JavaScript URL: https://attacomsian.com/blog/javascript-string-split Published: Apr 8, 2021, updated Aug 12, 2022 [JavaScript] A quick guide to the String.split() method in JavaScript and how to use it to split a string into an array. ### How to catch exceptions in setTimeout and setInterval URL: https://attacomsian.com/blog/javascript-catch-exception-inside-settimeout-setinterval Published: Apr 5, 2021, updated Sep 24, 2022 [JavaScript] A short guide to learning how to properly handle exceptions in JavaScript setTimeout and setInterval functions. ### How to detect a mobile device with JavaScript URL: https://attacomsian.com/blog/javascript-detect-mobile-device Published: Apr 1, 2021 [JavaScript] A quick guide to learn how to detect if the browser is on a mobile device with JavaScript. ### How to load a script asynchronously using JavaScript URL: https://attacomsian.com/blog/javascript-load-script-async Published: Apr 1, 2021, updated Oct 8, 2022 [JavaScript] A quick guide to learn how to load the external script files asynchronously in the browser using JavaScript. ### How to detect when the user stops typing in JavaScript URL: https://attacomsian.com/blog/javascript-detect-user-stops-typing Published: Mar 29, 2021 [JavaScript] A quick hack to detect when the user stops typing text in an input field using JavaScript. ### How to create an object with dynamic keys in JavaScript URL: https://attacomsian.com/blog/javascript-create-object-with-dynamic-keys Published: Mar 29, 2021 [JavaScript] A quick guide to learn how to create an object with dynamic keys by using computed property names feature in JavaScript. ### How to download a file in JavaScript URL: https://attacomsian.com/blog/javascript-download-file Published: Mar 28, 2021, updated Sep 10, 2022 [JavaScript, HTML] A quick guide to learn about different ways of downloading a file in JavaScript. ### AcquireBase: Buy and Sell Internet Startups for Free URL: https://attacomsian.com/blog/acquirebase Published: Mar 26, 2021, updated Sep 10, 2022 [Meta] Introducing AcquireBase, a marketplace for buying and selling internet startups for free! ### How to use String replace() method in JavaScript URL: https://attacomsian.com/blog/javascript-string-replace Published: Mar 9, 2021, updated Oct 23, 2022 [JavaScript] A quick introduction to the JavaScript string replace() and replaceAll() methods and how to use them to replace a text in a string. ### How to use computed property names in JavaScript URL: https://attacomsian.com/blog/javascript-computed-property-names Published: Mar 4, 2021 [JavaScript] A quick guide to learn how to use computed property names to dynamically create object properties in JavaScript. ### Thymeleaf switch statement with multiple cases URL: https://attacomsian.com/blog/thymeleaf-switch-statement Published: Feb 26, 2021 [Thymeleaf] A quick guide to learn how to use a switch statement with multiple cases in Thymeleaf. ### How to check if Java is installed URL: https://attacomsian.com/blog/check-if-java-is-installed Published: Feb 21, 2021 [Java, DevOps, Linux] Learn how to check if Java is installed on a Windows 10, Mac OS X, or Linux/Unix machine. ### How to install RabbitMQ on macOS and Ubuntu 20.04 URL: https://attacomsian.com/blog/install-rabbitmq-macos-ubuntu Published: Feb 8, 2021, updated Apr 12, 2021 [Ubuntu, DevOps, macOS] A step-by-step guide to install and use RabbitMQ on macOS X and Ubuntu 20.04. ### Mongoose connect using async/await URL: https://attacomsian.com/blog/mongoose-connect-async-await Published: Jan 16, 2021, updated Oct 3, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learn how to use async-await to connect with MongoDB using Mongoose. ### Introduction to Mongoose Models URL: https://attacomsian.com/blog/mongoose-models Published: Jan 2, 2021, updated Oct 3, 2022 [Node.js, Mongoose, MongoDB] An introduction to Mongoose models and how to use them to query, update, create, and remove documents from a MongoDB collection. --- ## 2020 (206 articles) ### Introduction to Mongoose schema types URL: https://attacomsian.com/blog/mongoose-schema-types Published: Dec 31, 2020, updated Oct 3, 2022 [Node.js, Mongoose, MongoDB] 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. ### How to use ES6 classes to create Mongoose schemas URL: https://attacomsian.com/blog/mongoose-es6-classes Published: Dec 25, 2020, updated Oct 3, 2022 [Node.js, Mongoose, MongoDB] A quick guide to learn how to use ES6 classes to define a Mongoose schema in a Node.js application. ### Introduction to classes in JavaScript URL: https://attacomsian.com/blog/javascript-classes Published: Dec 18, 2020, updated Sep 10, 2022 [JavaScript] An introduction to JavaScript classes and how to define a class, static and instance methods, getters and setters, and more. ### How to use Mongoose timestamps URL: https://attacomsian.com/blog/mongoose-timestamps Published: Dec 16, 2020, updated Oct 3, 2022 [Node.js, Mongoose, MongoDB] A quick introduction to Mongoose timestamps and how to use it to keep track of the document creation and updates. ### Getting started with Mongoose virtuals URL: https://attacomsian.com/blog/mongoose-virtuals Published: Dec 16, 2020, updated Oct 3, 2022 [Node.js, Mongoose, MongoDB] A quick article to learn about Mongoose virtuals and how to define and use them in Mongoose schema. ### Introduction to Mongoose Schemas URL: https://attacomsian.com/blog/mongoose-schemas Published: Dec 13, 2020, updated Oct 1, 2022 [Node.js, Mongoose, MongoDB] A detailed article to learn about Mongoose schemas and how to define a model, virtual and static methods, indexes, query helpers, aliases, and more. ### How to connect with MongoDB using Mongoose in Node.js URL: https://attacomsian.com/blog/nodejs-getting-started-with-mongoose Published: Dec 11, 2020, updated Oct 28, 2022 [Node.js, Mongoose, MongoDB] Learn what is Mongoose and how to use it to model application data for querying, creating, updating, and removing documents from MongoDB. ### Setting up a local MongoDB connection in Node.js URL: https://attacomsian.com/blog/nodejs-mongodb-local-connection Published: Dec 10, 2020, updated Oct 1, 2022 [Node.js, Mongoose, MongoDB] Learn how to use the MongoDB official driver for Node.js and Mongoose to connect to a local MongoDB instance. ### Working with MongoDB using the Mongo Shell URL: https://attacomsian.com/blog/working-with-mongodb-using-mongo-shell Published: Dec 7, 2020, updated Oct 1, 2022 [MongoDB] An introduction to the mongo shell and how to use it to access MongoDB from the command-line terminal. ### How to install MongoDB on macOS using Homebrew URL: https://attacomsian.com/blog/install-mongodb-macos Published: Dec 6, 2020, updated Oct 6, 2022 [DevOps, MongoDB, macOS] Learn how to install and use the MongoDB community edition on macOS Catalina and higher. ### How to install and use Homebrew on macOS URL: https://attacomsian.com/blog/install-homebrew-macos Published: Dec 6, 2020, updated Oct 7, 2022 [DevOps, macOS] A detailed guide to learning how to install and use the Homebrew package manager on macOS. ### Storing and retrieving objects in local storage using JavaScript URL: https://attacomsian.com/blog/javascript-local-storage-store-retrieve-objects Published: Dec 5, 2020 [JavaScript] A quick guide to learn how to store and retrieve objects in HTML web storage by using JavaScript. ### Iterating over all keys stored in local storage using JavaScript URL: https://attacomsian.com/blog/javascript-iterate-over-local-storage-keys Published: Dec 4, 2020, updated Oct 8, 2022 [JavaScript] A quick guide to learn how to iterate over all keys stored in the local storage by using JavaScript. ### Check if a key exists in local storage using JavaScript URL: https://attacomsian.com/blog/javascript-local-storage-check-key-exists Published: Dec 3, 2020 [JavaScript] A quick guide to learn how to check if an item is set in local storage or not using JavaScript. ### HTML Web Storage API: Local Storage and Session Storage URL: https://attacomsian.com/blog/web-storage-api-local-storage-session-storage Published: Dec 2, 2020 [JavaScript, HTML] 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. ### How to add days to a date in JavaScript URL: https://attacomsian.com/blog/javascript-date-add-days Published: Dec 2, 2020, updated Sep 10, 2022 [JavaScript] A quick article to learn how to add days to the JavaScript Date object. ### How to use Object.is() method in JavaScript URL: https://attacomsian.com/blog/javascript-object-is-method Published: Nov 29, 2020, updated Jul 12, 2022 [JavaScript] A quick introduction to ES6 Object.is() method and how to use it in JavaScript to compare different objects. ### How to generate random numbers in JavaScript URL: https://attacomsian.com/blog/javascript-generate-random-numbers Published: Nov 28, 2020, updated Nov 27, 2022 [JavaScript] Learn about different ways to generate random numbers in JavaScript. ### How to convert an array of objects to an object in JavaScript URL: https://attacomsian.com/blog/javascript-convert-array-of-objects-to-object Published: Nov 24, 2020 [JavaScript] Learn how to convert an array of objects to a single object with all key-value pairs in JavaScript. ### How to get the current day, month, and year in Node.js URL: https://attacomsian.com/blog/nodejs-get-current-date-month-year Published: Nov 24, 2020, updated Oct 1, 2022 [Node.js] A quick guide to learn how to get the current day, month, and year in a Node.js application. ### How to get the size of a file in Node.js URL: https://attacomsian.com/blog/nodejs-get-file-size Published: Nov 23, 2020, updated Oct 1, 2022 [Node.js] Learn how to use the Node.js built-in File System package to get the size of the file. ### How to hash passwords using Bcrypt in Node.js URL: https://attacomsian.com/blog/nodejs-password-hashing-with-bcrypt Published: Nov 22, 2020, updated Oct 1, 2022 [Node.js] Learn how to use the Bcrypt open-source library to hash passwords in a Node.js application. ### How to generate a random string in JavaScript URL: https://attacomsian.com/blog/javascript-generate-random-string Published: Oct 23, 2020 [JavaScript] A quick guide to learn how to generate random strings of different sizes in JavaScript. ### how to detect Internet Explorer browser using JavaScript URL: https://attacomsian.com/blog/javascript-dom-detect-internet-explorer-browser Published: Oct 4, 2020, updated Sep 23, 2021 [JavaScript] Learn how to detect whether the current browser is Internet Explorer or not in vanilla JavaScript. ### How to toggle password visibility using JavaScript URL: https://attacomsian.com/blog/javascript-dom-toggle-password-visibility Published: Oct 4, 2020, updated Sep 23, 2021 [JavaScript] Learn how to toggle the visibility of a password input field by using vanilla JavaScript. ### How to insert an element after another element in JavaScript URL: https://attacomsian.com/blog/javascript-dom-append-to-an-element Published: Sep 30, 2020, updated Sep 23, 2021 [JavaScript] Learn how to append an element to another HTML element by using the appendChild() method in JavaScript. ### How to detect if caps lock is on using JavaScript URL: https://attacomsian.com/blog/javascript-dom-detect-if-caps-lock-is-on Published: Sep 30, 2020, updated Sep 23, 2021 [JavaScript] Learn how to detect whether the caps lock is on or not in vanilla JavaScript. ### How to detect if an element has focus using JavaScript URL: https://attacomsian.com/blog/javascript-dom-detect-if-an-element-has-focus Published: Sep 30, 2020, updated Sep 23, 2021 [JavaScript] Learn how to detect if an element has focus in JavaScript. ### How to check if document is ready using JavaScript URL: https://attacomsian.com/blog/javascript-dom-check-if-document-is-ready Published: Sep 30, 2020, updated Oct 14, 2022 [JavaScript] Learn how to check if the document is ready and execute some code in pure JavaScript. ### Triggering built-in and custom events using JavaScript URL: https://attacomsian.com/blog/javascript-dom-trigger-built-in-and-custom-events Published: Sep 29, 2020, updated Sep 23, 2021 [JavaScript] Learn how to trigger an event on an element programmatically by using JavaScript DOM API. ### How to create a one-off event handler in JavaScript URL: https://attacomsian.com/blog/javascript-dom-create-a-one-off-event-handler Published: Sep 29, 2020, updated Sep 23, 2021 [JavaScript] 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. ### How to remove an event handler in JavaScript URL: https://attacomsian.com/blog/javascript-dom-remove-an-event-handler Published: Sep 29, 2020, updated Sep 23, 2021 [JavaScript] Learn how to remove an already attached event handler from an HTML element in JavaScript. ### How to add an event handler in JavaScript URL: https://attacomsian.com/blog/javascript-dom-add-an-event-handler Published: Sep 29, 2020, updated Sep 23, 2021 [JavaScript] Learn how to attach an event handler to an HTML element in JavaScript. ### How to read and write JSON files in Node.js URL: https://attacomsian.com/blog/nodejs-read-write-json-files Published: Sep 19, 2020, updated Oct 1, 2022 [Node.js] 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. ### Monitoring Your Node.js App with Scout APM URL: https://attacomsian.com/blog/monitoring-nodejs-app-with-scout-apm Published: Sep 1, 2020 [Node.js] An overview article on how to set up & get started with Scout APM for Node.js apps. ### How to prevent default action of an event in JavaScript URL: https://attacomsian.com/blog/javascript-dom-prevent-default-action-of-an-event Published: Aug 26, 2020, updated Sep 23, 2021 [JavaScript] Learn how to prevent the default action of an event by using the Event.preventDefault() method in JavaScript. ### How to stop propagation of an event in JavaScript URL: https://attacomsian.com/blog/javascript-dom-stop-propagation-of-events Published: Aug 26, 2020, updated Sep 23, 2021 [JavaScript] Learn how to stop the propagation of an event in both capturing and bubbling phases using the Event.stopPropagation() method in JavaScript. ### How to get all own properties of an object in JavaScript URL: https://attacomsian.com/blog/javascript-object-get-all-own-properties Published: Aug 25, 2020, updated Sep 19, 2022 [JavaScript] A quick guide to learn how to get all own properties of an object in JavaScript. ### Own and inherited properties of an object in JavaScript URL: https://attacomsian.com/blog/javascript-own-inherited-properties Published: Aug 24, 2020 [JavaScript] Learn about the own and inherited properties of an object in JavaScript and how they differ from each other. ### How to check if a property exists in an object in JavaScript URL: https://attacomsian.com/blog/javascript-object-check-if-property-exists Published: Aug 23, 2020, updated Aug 24, 2020 [JavaScript] Learn about 3 different ways to check if an object contains a specific property in JavaScript. ### How to convert an object to an array in JavaScript URL: https://attacomsian.com/blog/javascript-convert-object-to-array Published: Aug 22, 2020 [JavaScript] A detailed article to learn how to convert an object to an array in JavaScript. ### Get the offset position of an element relative to its parent in JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-the-offset-position-of-an-element-relative-to-its-parent Published: Aug 14, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get the offset position of an element relative to its parent in JavaScript. ### How to get the scrollbar width of an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-the-scrollbar-width-of-an-element Published: Aug 14, 2020, updated Oct 7, 2022 [JavaScript] Learn how to get the scrollbar width of an element by using JavaScript. ### How to replace a CSS class of an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-replace-a-css-class-of-an-element Published: Aug 13, 2020, updated Oct 8, 2022 [JavaScript] Learn how to use the replace() method of the classList property to replace a CSS class of an element in JavaScript. ### How to toggle a CSS class of an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-toggle-a-css-class-of-an-element Published: Aug 13, 2020, updated Sep 23, 2021 [JavaScript] Learn how to toggle a CSS class of an HTML element by using the classList property of the element in JavaScript. ### How to remove a CSS class from an element using JavaScript URL: https://attacomsian.com/blog/javascrpt-dom-remove-a-css-class-from-an-element Published: Aug 13, 2020, updated Sep 23, 2021 [JavaScript] Learn how to use the classList property to remove one or more CSS classes from an HTML element in JavaScript. ### How to add a CSS class to an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-add-a-css-class-to-an-element Published: Aug 13, 2020, updated Sep 23, 2021 [JavaScript] Learn how to add one or more CSS classes to an HTML element by using the classList property in JavaScript. ### How to get the width and height of the window using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-the-width-and-height-of-the-window Published: Aug 12, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get the width and height of the window in JavaScript. ### Get and set scroll position of the document using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-and-set-scroll-position-of-the-document Published: Aug 12, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get and set the scroll position of the document in JavaScript. ### Get and set scroll position of an element using JavaScript URL: https://attacomsian.com/blog/javacript-dom-get-and-set-scroll-position-of-an-element Published: Aug 12, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get or set scroll position of an element by using scrollTop and scrollLeft properties in JavaScript. ### Get height and width of an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-height-and-width-of-an-element Published: Aug 12, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get the height and width of an HTML element by using offsetHeight and offsetWidth properties in JavaScript. ### how to remove an attribute from the element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-remove-an-attribute-from-the-element Published: Aug 12, 2020, updated Sep 23, 2021 [JavaScript] Learn how to remove an attribute from an HTML element using the removeAttribute() method in JavaScript. ### How to set the value of an attribute using JavaScript URL: https://attacomsian.com/blog/javascript-dom-set-the-value-of-an-attribute Published: Aug 10, 2020, updated Sep 23, 2021 [JavaScript] Learn how to use the setAttribute() method to set the value of the attribute of an HTML element in JavaScript. ### How to get the value of an attribute using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-the-value-of-an-attribute Published: Aug 10, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get the value of an HTML element's attribute by using the getAttribute() method in JavaScript. ### How to check if an element has children using JavaScript URL: https://attacomsian.com/blog/javascript-dom-check-if-an-element-has-children Published: Aug 10, 2020, updated Sep 23, 2021 [JavaScript] Learn how to check if an HTML element has children by using the hasChildNodes() method in JavaScript. ### How to check if an element has attributes using JavaScript URL: https://attacomsian.com/blog/javascript-dom-check-if-an-element-has-attributes Published: Aug 10, 2020, updated Sep 23, 2021 [JavaScript] Learn how to use the hasAttributes() method in JavaScript to check if an HTML element has any attributes. ### How to check if an attribute exists using JavaScript URL: https://attacomsian.com/blog/javascript-dom-check-if-an-attribute-exists Published: Aug 10, 2020, updated Sep 23, 2021 [JavaScript] Learn how to check if an HTML element has a specified attribute by using the hasAttribute() method in JavaScript. ### How to remove all children of an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-remove-all-children-of-an-element Published: Aug 9, 2020, updated Sep 23, 2021 [JavaScript] Learn how to remove all children of a DOM element by using the removeChild() method in JavaScript. ### How to replace an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-replace-an-element Published: Aug 9, 2020, updated Oct 23, 2022 [JavaScript] Learn how to replace a DOM element by using the replaceChild() method in JavaScript. ### How to clone an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-clone-an-element Published: Aug 9, 2020, updated Sep 23, 2021 [JavaScript] Learn how to clone a DOM element by using the cloneNode() method in JavaScript. ### How to get all siblings of an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-all-siblings-of-an-element Published: Aug 8, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get all siblings of an element by using the element's DOM properties in JavaScript. ### Get the next and previous siblings of an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-the-next-and-previous-siblings-of-an-element Published: Aug 8, 2020, updated Oct 8, 2022 [JavaScript] Learn how to get the next and previous siblings of an element in JavaScript using nextElementSibling and previousElementSibling properties. ### Get the closest element by selector using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-closest-element-by-selector Published: Aug 8, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get the closest element that matches a selector by using the closest() method in JavaScript. ### How to get first and last children of an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-first-and-last-children-of-an-element Published: Aug 7, 2020, updated Sep 23, 2021 [JavaScript] Learn how to use firstChild and lastChild element properties to get the first and last child nodes of an HTML element in JavaScript. ### How to get the children of an element using JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-all-child-nodes-of-an-element Published: Aug 7, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get all child nodes of an element in JavaScript by using the childNodes property of the element. ### How to get the parent of an element in JavaScript URL: https://attacomsian.com/blog/javascript-dom-get-the-parent-of-an-element Published: Aug 7, 2020, updated Sep 23, 2021 [JavaScript] Learn how to get the parent node of an element by using the parentNode property of the element. ### How to select elements by name using JavaScript URL: https://attacomsian.com/blog/javascript-select-dom-elements-by-name Published: Aug 7, 2020, updated Oct 14, 2022 [JavaScript] A quick guide to learning how to select DOM elements by name using the JavaScript getElementsByName() method. ### How to encrypt and decrypt data in Node.js URL: https://attacomsian.com/blog/nodejs-encrypt-decrypt-data Published: Jul 30, 2020, updated Oct 1, 2022 [Node.js] Learn how to encrypt and decrypt strings, numbers, buffers, and streams by using the Node.js built-in crypto module. ### How to access data in Thymeleaf templates URL: https://attacomsian.com/blog/thymeleaf-access-data Published: Jul 15, 2020, updated Sep 24, 2022 [Spring Boot, Thymeleaf] Learn how to access Spring model attributes, request parameters, session attributes, and Spring beans in Thymeleaf templates. ### How to check if a value is an object in JavaScript URL: https://attacomsian.com/blog/javascript-check-variable-is-object Published: Jul 11, 2020, updated Sep 18, 2022 [JavaScript] Learn how to use the Object.prototype.toString() method to check if a value is an object in JavaScript. ### Understanding Object.assign() Method in JavaScript URL: https://attacomsian.com/blog/javascript-object-assign Published: Jul 10, 2020, updated Jul 11, 2020 [JavaScript] 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. ### How to remove a property from an object in JavaScript URL: https://attacomsian.com/blog/javascript-object-remove-property Published: Jul 3, 2020, updated Aug 5, 2020 [JavaScript] A quick article to learn how to remove a property from an object in JavaScript. ### How to add a property to an object in JavaScript URL: https://attacomsian.com/blog/javascript-object-add-key Published: Jul 3, 2020, updated Aug 12, 2022 [JavaScript] A short article to learn how to add a new item to an object in JavaScript. ### How to compare two objects using JavaScript URL: https://attacomsian.com/blog/javacript-compare-objects Published: Jun 18, 2020, updated Aug 12, 2022 [JavaScript] A quick guide to learn how to compare two objects in JavaScript to check if they contain they same key-value pairs. ### How to clone an object in JavaScript URL: https://attacomsian.com/blog/javascript-clone-objects Published: Jun 16, 2020, updated Sep 19, 2022 [JavaScript] A detailed article to learn about different ways to create a shallow as well as a deep copy of an object in JavaScript. ### How to merge two objects in JavaScript URL: https://attacomsian.com/blog/javascript-merge-objects Published: Jun 14, 2020, updated Aug 26, 2022 [JavaScript] A detailed article to learn about different ways to combine properties of two objects into a new object in JavaScript. ### How to create an object in JavaScript URL: https://attacomsian.com/blog/javascript-create-object Published: Jun 13, 2020, updated Oct 27, 2022 [JavaScript] 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. ### ES6 Object Literal Property Value Shorthand in JavaScript URL: https://attacomsian.com/blog/javascript-object-property-shorthand Published: Jun 10, 2020, updated Oct 9, 2022 [JavaScript] Learn how to use the object literal property value shorthand to create an object in JavaScript. ### How to populate an array with zeros or objects in JavaScript URL: https://attacomsian.com/blog/javascript-array-populate Published: Jun 8, 2020, updated Jun 13, 2020 [JavaScript] A quick article to learn how to populate an array with numbers, strings, or objects using ES6 Array.fill() method in JavaScript. ### How to convert arguments object to an array in JavaScript URL: https://attacomsian.com/blog/javascript-convert-arguments-object-to-array Published: Jun 7, 2020, updated Oct 7, 2022 [JavaScript] A quick guide to learning how to convert the arguments object available inside a function to an array in JavaScript. ### How to use Array.from() method in JavaScript URL: https://attacomsian.com/blog/javascript-array-from Published: Jun 6, 2020, updated Oct 13, 2022 [JavaScript] 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. ### How to add, remove, and replace items using Array.splice() in JavaScript URL: https://attacomsian.com/blog/javascript-array-splice Published: Jun 3, 2020 [JavaScript] A complete guide to learn how to use the Array.splice() method in JavaScript to add, remove, or replace elements in an array. ### How to lowercase or uppercase all array values in JavaScript URL: https://attacomsian.com/blog/javascript-array-lowercase-uppercase Published: May 26, 2020 [JavaScript] A quick article to learn how to uppercase or lowercase all values in an array using JavaScript. ### How to check if an array contains a value in JavaScript URL: https://attacomsian.com/blog/javascript-array-search Published: May 25, 2020, updated Oct 10, 2022 [JavaScript] A comprehensive article to learn about different ways to check if an array contains a specific item in vanilla JavaScript. ### How to deep clone an array in JavaScript URL: https://attacomsian.com/blog/javascript-deep-clone-array Published: May 23, 2020 [JavaScript] A quick guide to learn about different ways to create a deep clone of an array in vanilla JavaScript. ### How to use object & array destructuring in JavaScript URL: https://attacomsian.com/blog/javascript-object-array-destructuring Published: May 22, 2020, updated Dec 10, 2022 [JavaScript] Learn how to use the ES6 destructuring expression in JavaScript to extract values from arrays or properties from objects into distinct variables. ### How to remove items from an array in JavaScript URL: https://attacomsian.com/blog/javascript-array-remove-items Published: May 20, 2020 [JavaScript] A complete guide to learn about different ways to remove elements from an array in JavaScript. ### How to flatten an array in JavaScript URL: https://attacomsian.com/blog/javascript-flatten-array Published: May 19, 2020 [JavaScript] A quick guide to learn how to flatten a multi-dimensional array to a one-dimension array in vanilla JavaScript. ### How to merge two arrays in JavaScript URL: https://attacomsian.com/blog/javascript-merge-arrays Published: May 18, 2020 [JavaScript] A quick guide to learn about different ways to merge two or more arrays into one in JavaScript. ### How to add items to an array in JavaScript URL: https://attacomsian.com/blog/javascript-array-add-items Published: May 17, 2020, updated May 20, 2020 [JavaScript] A quick article to learn about three different ways to add new items to an array using JavaScript. ### How to shuffle an array in JavaScript URL: https://attacomsian.com/blog/javascript-shuffle-array Published: May 16, 2020 [JavaScript] A quick hack to learn how to randomize or shuffle an array in vanilla JavaScript. ### How to convert a string to an array in JavaScript URL: https://attacomsian.com/blog/javascript-convert-string-to-array Published: May 15, 2020, updated Aug 12, 2022 [JavaScript] A quick article to learn about 4 different ways to convert a string into an array in vanilla JavaScript. ### How to convert an array to a string in JavaScript URL: https://attacomsian.com/blog/javascript-convert-array-to-string Published: May 14, 2020, updated Oct 14, 2022 [JavaScript] Learn how to use the join() method in vanilla JavaScript to convert an array to a string. ### How to check if an object is an array in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-object-is-array Published: May 13, 2020, updated Jun 13, 2020 [JavaScript] A short guide to learn how to check if a variable is an array in vanilla JavaScript. ### How to copy an array in JavaScript URL: https://attacomsian.com/blog/javascript-copy-array Published: May 11, 2020, updated Jun 16, 2020 [JavaScript] A quick guide to learn how to copy or clone an array into a new array by using vanilla JavaScript. ### How to compare two arrays in JavaScript URL: https://attacomsian.com/blog/javascript-compare-arrays Published: May 10, 2020 [JavaScript] A short article to learn how to compare two arrays to check if they are equal in vanilla JavaScript. ### How to find matching items in an array using JavaScript URL: https://attacomsian.com/blog/javascript-array-find-matching-items Published: May 10, 2020 [JavaScript] A quick guide to learn how to find all matching items in an array by using vanilla JavaScript. ### How to use Array.map() method in JavaScript URL: https://attacomsian.com/blog/javascript-array-map Published: May 9, 2020, updated Jun 7, 2023 [JavaScript] A quick introduction to Array.map() method in JavaScript and how to use it to iterate over all elements of an array. ### How to remove duplicates from an array in JavaScript URL: https://attacomsian.com/blog/javascript-remove-duplicates-from-array Published: May 8, 2020, updated Oct 16, 2022 [JavaScript] A quick article to learn about different ways to remove duplicate elements from an array in vanilla JavaScript. ### How to empty an array in JavaScript URL: https://attacomsian.com/blog/javascript-empty-array Published: May 3, 2020 [JavaScript] A quick guide to learn how to remove all elements of an array in vanilla JavaScript. ### The complete guide to JavaScript arrays URL: https://attacomsian.com/blog/javascript-arrays Published: May 2, 2020, updated Dec 11, 2022 [JavaScript] A detailed article that explains what are arrays in JavaScript, how to create a new array, and how to manipulate array elements with examples. ### How to get all query string parameters as an object in JavaScript URL: https://attacomsian.com/blog/javascript-convert-query-string-to-object Published: Apr 22, 2020, updated Aug 8, 2022 [JavaScript] Learn how to use the URLSearchParams interface to convert a query string into an object in JavaScript. ### How to get query string parameters in JavaScript URL: https://attacomsian.com/blog/javascript-query-string Published: Apr 22, 2020, updated Oct 15, 2022 [JavaScript] A quick guide to learn how to get query string parameters from the current browser URL by using vanilla JavaScript. ### Add and update query string parameters using URLSearchParams URL: https://attacomsian.com/blog/javascript-url-search-params Published: Apr 20, 2020, updated Oct 7, 2022 [JavaScript] An introduction to URLSearchParams interface and how to use it to add, update and delete query string parameters in JavaScript. ### How to convert an object to a query string using JavaScript URL: https://attacomsian.com/blog/javascript-convert-object-to-query-string-parameters Published: Apr 19, 2020, updated Aug 8, 2022 [JavaScript] A short guide to learning how to use the URLSearchParams interface to convert an object to a query string in JavaScript. ### How to check if an image exists on the server in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-image-exists Published: Apr 16, 2020, updated Oct 15, 2022 [JavaScript] A quick guide to learn how to check if an image or any other file exists on the server in vanilla JavaScript. ### How to edit an XML file with Node.js URL: https://attacomsian.com/blog/nodjs-edit-xml-file Published: Apr 16, 2020, updated Oct 1, 2022 [Node.js] A quick article on learning how to update XML file contents using Node.js. ### How to read input from the command line in Node.js URL: https://attacomsian.com/blog/nodejs-read-input-from-cli Published: Apr 15, 2020, updated Oct 1, 2022 [Node.js] A quick guide to learning how to make a Node.js CLI program interactive by prompting users to enter data from the command line. ### How to convert XML to JSON in Node.js URL: https://attacomsian.com/blog/nodejs-convert-xml-to-json Published: Apr 15, 2020, updated Oct 1, 2022 [Node.js, JSON, XML] A step-by-step guide to learn how to convert an XML file or a string to a JSON object by using Node.js. ### How to delete a non-empty directory in Node.js URL: https://attacomsian.com/blog/nodejs-delete-directory Published: Apr 12, 2020, updated Aug 27, 2022 [Node.js] A quick article to learn how to delete a directory that is not empty by using Node.js. ### Check if file is readable, writable, or executable in Node.js URL: https://attacomsian.com/blog/nodejs-check-if-file-readable-writable-executable Published: Apr 11, 2020, updated Oct 1, 2022 [Node.js] A short guide to learning how to check if a file is readable, writable, or executable in a Node.js application. ### How to rename a directory in Node.js URL: https://attacomsian.com/blog/nodejs-rename-directory Published: Apr 11, 2020, updated Aug 27, 2022 [Node.js] A short article to learn how to quickly rename a folder in a Node.js application. ### How to list all files in a directory with Node.js URL: https://attacomsian.com/blog/nodejs-list-directory-files Published: Apr 11, 2020, updated Aug 27, 2022 [Node.js] A quick guide to learn how to list all files available in a directory using Node.js. ### How to create a directory in Node.js URL: https://attacomsian.com/blog/nodejs-create-directory Published: Apr 10, 2020, updated Oct 1, 2022 [Node.js] A quick guide to learning how to create a new directory in a Node.js application. ### How to check if a directory exists in Node.js URL: https://attacomsian.com/blog/nodejs-check-if-directory-exists Published: Apr 10, 2020, updated Oct 1, 2022 [Node.js] A short guide to learn how to use the native File System Node.js module to check if a directory exists. ### How to convert JSON to CSV in Node.js URL: https://attacomsian.com/blog/nodejs-convert-json-to-csv Published: Apr 9, 2020, updated Oct 1, 2022 [Node.js] A complete guide to learning how to convert a JSON array to a CSV (Comma-Separated Values) file using Node.js. ### How to convert CSV to JSON in Node.js URL: https://attacomsian.com/blog/nodejs-convert-csv-to-json Published: Apr 8, 2020, updated Oct 1, 2022 [Node.js] A quick guide to learning how to convert a CSV (Comma-Separated Values) file into a JSON array using Node.js. ### Encoding and decoding Base64 strings in Node.js URL: https://attacomsian.com/blog/nodejs-base64-encode-decode Published: Apr 7, 2020, updated Oct 1, 2022 [Node.js] A detailed guide to learn how to perform Base64 encoding and decoding in a Node.js application. ### How to get a random value from an array with JavaScript URL: https://attacomsian.com/blog/javascript-get-random-value-from-array Published: Apr 3, 2020, updated Oct 15, 2022 [JavaScript] A quick guide to learn how to select a random value from an array in JavaScript. ### How to get the current directory in Node.js URL: https://attacomsian.com/blog/nodejs-get-current-directory Published: Apr 1, 2020, updated Oct 1, 2022 [Node.js] A short article to learn how to get the current working directory in a Node.js application. ### How to pretty-print a JSON object with JavaScript URL: https://attacomsian.com/blog/javascript-pretty-print-json Published: Mar 31, 2020, updated Oct 15, 2022 [JavaScript] A quick article to learn how to pretty-print a JSON object by adding spaces and line breaks with vanilla JavaScript. ### How to get the last modified date of a file with Node.js URL: https://attacomsian.com/blog/nodejs-get-file-last-modified-date Published: Mar 31, 2020, updated Oct 1, 2022 [Node.js] Learn about a quick way to get the last modified date of a file in a Node.js application. ### How to append data to a file in Node.js URL: https://attacomsian.com/blog/nodejs-append-data-to-file Published: Mar 30, 2020, updated Aug 14, 2022 [Node.js] A quick article to learn how to append data to a file in a Node.js application. ### How to delete a file in Node.js URL: https://attacomsian.com/blog/nodejs-delete-file Published: Mar 30, 2020, updated Oct 1, 2022 [Node.js] Learn about a quick way to delete a file from the local file system with Node.js. ### How to create an empty file in Node.js URL: https://attacomsian.com/blog/nodejs-create-empty-file Published: Mar 29, 2020, updated Oct 1, 2022 [Node.js] Learn how to use the built-in Node.js file system module to create an empty file. ### How to read and write a JSON object to a file in Node.js URL: https://attacomsian.com/blog/nodejs-write-json-object-to-file Published: Mar 28, 2020, updated Oct 1, 2022 [Node.js] Learn how to write as well as read a JSON object from a file by using the Node.js file system module. ### How to convert HTML to Markdown with JavaScript URL: https://attacomsian.com/blog/convert-html-to-markdown Published: Mar 28, 2020, updated Oct 1, 2022 [Node.js, JavaScript] A quick guide to learn how to convert HTML to Markdown using Turndown in a Node.js application as well as in browser. ### How to start a local web server from any directory URL: https://attacomsian.com/blog/local-web-server Published: Mar 27, 2020, updated Oct 1, 2022 [Node.js] A quick guide to learn how to start a web server from any local directory. ### How to install Nginx on Ubuntu 18.04 URL: https://attacomsian.com/blog/install-nginx-on-ubuntu Published: Mar 26, 2020 [Ubuntu, DevOps] A step by step guide to learn how to install Nginx web server on a Ubuntu 18.04 machine. ### How to remove an element from the DOM in JavaScript URL: https://attacomsian.com/blog/javascript-remove-dom-element Published: Mar 11, 2020, updated Oct 15, 2022 [JavaScript] A simple guide to learn how to remove an HTML element from the DOM tree by using vanilla JavaScript. ### Insert an element after another DOM element with JavaScript URL: https://attacomsian.com/blog/javascript-insert-element-after Published: Mar 11, 2020, updated Oct 15, 2022 [JavaScript] Learn how to create and insert an element after another element in the DOM by using vanilla JavaScript. ### Insert an element before another DOM element with JavaScript URL: https://attacomsian.com/blog/javascript-insert-element-before Published: Mar 11, 2020, updated Oct 15, 2022 [JavaScript] Learn how to create and insert an element before another element in the DOM by using vanilla JavaScript. ### How to insert an element to the DOM in JavaScript URL: https://attacomsian.com/blog/javascript-insert-element Published: Mar 11, 2020, updated Oct 15, 2022 [JavaScript] A quick guide to learn how to create and insert an element to the DOM by using vanilla JavaScript. ### How to update the text content of a DOM element in JavaScript URL: https://attacomsian.com/blog/javascript-update-element-text Published: Mar 8, 2020, updated Oct 8, 2022 [JavaScript] Learn how to update the text of an HTML element by using the innerText and textCotent properties in vanilla JavaScript. ### Update the HTML markup of a DOM element with JavaScript URL: https://attacomsian.com/blog/javascript-update-element-html-markup Published: Mar 8, 2020, updated Oct 8, 2022 [JavaScript] A quick guide to learn how to update the HTML markup of a DOM element in JavaScript. ### How to create a DOM element using JavaScript URL: https://attacomsian.com/blog/javascript-create-dom-element Published: Mar 7, 2020, updated Oct 6, 2022 [JavaScript] A brief guide to learning how to create a DOM element using vanilla JavaScript. ### How to select a DOM element by ID using JavaScript URL: https://attacomsian.com/blog/javascript-select-dom-elements-by-id Published: Mar 6, 2020, updated Oct 15, 2022 [JavaScript] A short tutorial to learn how to select an HTML element by its ID in vanilla JavaScript. ### How to select DOM elements by tag name using JavaScript URL: https://attacomsian.com/blog/javascript-select-dom-elements-by-tag-name Published: Mar 6, 2020, updated Oct 15, 2022 [JavaScript] A short guide to learn how to select HTML elements from the DOM by tag names in JavaScript. ### How to select DOM elements by class name using JavaScript URL: https://attacomsian.com/blog/javascript-select-dom-elements-by-class-name Published: Mar 6, 2020, updated Oct 15, 2022 [JavaScript] A quick guide to learn how to select DOM elements by CSS class name in JavaScript. ### How to select DOM elements by CSS selectors using JavaScript URL: https://attacomsian.com/blog/javascript-select-dom-elements-by-css-selectors Published: Mar 6, 2020, updated Oct 15, 2022 [JavaScript] A simple guide to learn how to select DOM elements using CSS selectors in JavaScript. ### Hide and show DOM elements using a CSS class in JavaScript URL: https://attacomsian.com/blog/javascript-hide-show-elements-using-css-class Published: Mar 5, 2020, updated Oct 15, 2022 [JavaScript] A quick article to learn how to hide and show different DOM elements using CSS classes in vanilla JavaScript. ### Check if an element contains a CSS class in JavaScript URL: https://attacomsian.com/blog/javascript-check-if-element-contains-css-class Published: Mar 5, 2020, updated Oct 15, 2022 [JavaScript] Learn how to check if any HTML element contains a specific CSS class in vanilla JavaScript. ### How to add, remove, and toggle CSS classes in JavaScript URL: https://attacomsian.com/blog/javascript-add-remove-toggle-css-classes Published: Mar 4, 2020, updated Oct 15, 2022 [JavaScript] Learn how to add, remove, and toggle CSS classes in vanilla JavaScript without jQuery by using the classList property. ### How to hide and show DOM elements using JavaScript URL: https://attacomsian.com/blog/javascript-hide-show-dom-elements Published: Mar 3, 2020, updated Oct 15, 2022 [JavaScript] A quick guide to learn how to hide or show DOM elements using vanilla JavaScript. ### How to add multiple CSS styles using JavaScript URL: https://attacomsian.com/blog/javascript-add-multiple-css-styles Published: Mar 3, 2020, updated Oct 15, 2022 [JavaScript] A quick guide to learn how to add multiple CSS styles to an element using vanilla JavaScript. ### How to set CSS styles using JavaScript URL: https://attacomsian.com/blog/javascript-set-css-styles Published: Mar 2, 2020, updated Oct 15, 2022 [JavaScript] A detailed tutorial to learn about different ways to apply CSS styles to an element using JavaScript. ### How to get CSS styles from an element with JavaScript URL: https://attacomsian.com/blog/javascript-get-css-styles Published: Mar 1, 2020, updated Oct 15, 2022 [JavaScript] A guide to learning how to get different CSS style rules for an element using vanilla JavaScript. ### Introduction to HTML DOM style property in JavaScript URL: https://attacomsian.com/blog/javascript-dom-style-property Published: Mar 1, 2020, updated Jul 30, 2022 [JavaScript] An short guide to learn what is DOM style property and how to use it to set different CSS properties in JavaScript. ### How to convert a NodeList to an array in JavaScript URL: https://attacomsian.com/blog/javascript-convert-nodelist-to-array Published: Feb 28, 2020, updated Oct 13, 2022 [JavaScript] A quick guide to learning about different ways to convert a NodeList object to an array in JavaScript. ### Difference between a NodeList and an Array in JavaScript URL: https://attacomsian.com/blog/javascript-nodelist-vs-array Published: Feb 28, 2020, updated Oct 13, 2022 [JavaScript] A quick guide to understand the difference between a NodeList and an array in JavaScript. ### Introduction to HTMLCollection in JavaScript URL: https://attacomsian.com/blog/javascript-htmlcollection Published: Feb 27, 2020, updated Oct 13, 2022 [JavaScript] A quick guide to understand what is HTMLCollection and how to use it in JavaScript ### Introduction to NodeList in JavaScript URL: https://attacomsian.com/blog/javascript-nodelist Published: Feb 26, 2020, updated Oct 13, 2022 [JavaScript] A detailed guide to learning what is a NodeList object, how it differs from arrays and HTMLCollection, and how to use it in JavaScript. ### How to decode a URL using JavaScript URL: https://attacomsian.com/blog/javascript-decode-url Published: Feb 26, 2020, updated Oct 13, 2022 [JavaScript] A quick guide to learning how to decode URLs or query string parameters in JavaScript using native functions. ### How to encode a URL using JavaScript URL: https://attacomsian.com/blog/javascript-encode-url Published: Feb 25, 2020, updated Oct 13, 2022 [JavaScript] A quick guide to learn what is URL encoding and how to encode a URL in JavaScript using built-in functions. ### Open a URL in a new tab or window on button click in JavaScript URL: https://attacomsian.com/blog/javascript-open-url-in-new-tab Published: Feb 24, 2020, updated Oct 12, 2022 [JavaScript] 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. ### How to convert an array to an object in JavaScript URL: https://attacomsian.com/blog/javascript-convert-array-to-object Published: Feb 24, 2020, updated Nov 6, 2022 [JavaScript] A detailed guide to learn about different ways to convert an array to an object in JavaScript. ### Converting strings to uppercase and lowercase with JavaScript URL: https://attacomsian.com/blog/javascript-string-uppercase-lowercase Published: Feb 24, 2020, updated Oct 12, 2022 [JavaScript] Learn how to use the JavaScript built-in functions to convert strings to uppercase and lowercase. ### Using the Fetch API to get HTML response in JavaScript URL: https://attacomsian.com/blog/javascript-fetch-html-response Published: Feb 23, 2020, updated Jun 10, 2023 [JavaScript] A short guide to learn how to get the HTML response using the JavaScript Fetch API. ### How to monitor progress using XMLHttpRequest (XHR) URL: https://attacomsian.com/blog/xhr-monitor-progress Published: Feb 23, 2020, updated Oct 12, 2022 [JavaScript] Learn how to monitor file download as well as upload progress using XMLHttpRequest (XHR) in JavaScript. ### How to upload a file using XMLHttpRequest (XHR) and Node.js URL: https://attacomsian.com/blog/xhr-node-file-upload Published: Feb 23, 2020, updated Oct 1, 2022 [Node.js, JavaScript] A simple step-by-step guide to learning how to upload a file asynchronously via XHR in JavaScript and Node.js. ### Remove the last character of a string in Java URL: https://attacomsian.com/blog/java-remove-last-character-of-string Published: Feb 22, 2020 [Java] Learn about different ways to remove the last character of a string in Java. ### How to reverse the elements of a stream in Java URL: https://attacomsian.com/blog/java-reverse-stream-elements Published: Feb 22, 2020, updated Oct 8, 2022 [Java] Learn how to reverse the elements of a stream object in Java. ### How to extract digits from a string in Java URL: https://attacomsian.com/blog/java-extract-digits-from-string Published: Feb 22, 2020 [Java] A simple guide to learn how to extract digits from a string in Java. ### How to handle XHR JSON response in JavaScript URL: https://attacomsian.com/blog/xhr-json-response Published: Feb 22, 2020, updated Oct 12, 2022 [JavaScript] A quick article to learn how to parse and consume the JSON response returned by XMLHttpRequest (XHR) in vanilla JavaScript. ### How to send JSON request using XMLHttpRequest (XHR) URL: https://attacomsian.com/blog/xhr-json-post-request Published: Feb 22, 2020, updated Oct 12, 2022 [JSON, JavaScript] A short tutorial to learn how to make JSON POST request to the server using XMLHttpRequest (XHR) in JavaScript. ### How to send POST request using XMLHttpRequest (XHR) URL: https://attacomsian.com/blog/xhr-post-request Published: Feb 22, 2020, updated Oct 12, 2022 [JavaScript] A quick guide to learn how to send an HTTP post request using XMLHttpRequest (XHR) in JavaScript. ### Difference between for...of and for...in loops in JavaScript URL: https://attacomsian.com/blog/javascript-for-of-vs-for-in Published: Feb 21, 2020, updated Oct 12, 2022 [JavaScript] A short guide to learn the difference between for...of and for...in statements in JavaScript and what you should use. ### How to iterate over DOM elements using JavaScript URL: https://attacomsian.com/blog/javascript-loop-dom-elements Published: Feb 21, 2020, updated Oct 9, 2022 [JavaScript] Learn how to loop through DOM elements returned by the querySelectorAll() method in JavaScript. ### How to iterate over object keys and values in JavaScript URL: https://attacomsian.com/blog/javascript-iterate-objects Published: Feb 20, 2020, updated Nov 12, 2022 [JavaScript] Learn how to use the for...in statement, Object.keys(), Object.values(), and Object.entries() methods to iterate over object properties in JavaScript. ### How to loop through an array in JavaScript URL: https://attacomsian.com/blog/javascript-loops Published: Feb 20, 2020, updated Jun 10, 2023 [JavaScript] A complete guide to JavaScript loops and how to use them to iterate through an array. ### How to use for...of loop in JavaScript URL: https://attacomsian.com/blog/javascript-for-of-loop Published: Feb 20, 2020, updated Oct 9, 2022 [JavaScript] An introduction to JavaScript for...of loop and how to use it to iterate through different iterable objects. ### Base64 encoding and decoding in JavaScript URL: https://attacomsian.com/blog/javascript-base64-encode-decode Published: Feb 19, 2020, updated Oct 9, 2022 [JavaScript] A complete guide to learning how to Base64 encode and decode strings in JavaScript using built-in functions. ### How to use forEach() Loop in JavaScript URL: https://attacomsian.com/blog/javascript-foreach Published: Feb 18, 2020, updated Oct 9, 2022 [JavaScript] An introduction to ES6 forEach() loop and how to use it in JavaScript. ### Spring Boot Optional Path Variables URL: https://attacomsian.com/blog/spring-boot-optional-path-variables Published: Feb 17, 2020, updated Sep 24, 2022 [Spring Boot] A short guide to learning how to use optional path variables in a Spring Boot web controller. ### How to display a custom error page in Spring Boot URL: https://attacomsian.com/blog/spring-boot-custom-error-page Published: Feb 16, 2020, updated Sep 24, 2022 [Spring Boot, Thymeleaf] A quick guide to learning how to display a custom error page in a Spring Boot web application. ### How to change or disable the default banner in Spring Boot URL: https://attacomsian.com/blog/spring-boot-change-disable-banner Published: Feb 16, 2020, updated Sep 24, 2022 [Spring Boot] A quick guide to learning how to customize the default banner or disable it completely in Spring Boot. ### How to change the default port in Spring Boot URL: https://attacomsian.com/blog/spring-boot-change-default-port Published: Feb 12, 2020, updated Oct 11, 2022 [Spring Boot] A quick article to learn how to change the default port for a Spring Boot application. ### Spring Boot and Thymeleaf File Upload Example URL: https://attacomsian.com/blog/spring-boot-thymeleaf-file-upload Published: Feb 11, 2020, updated Sep 24, 2022 [Spring Boot, Thymeleaf] A step-by-step guide to learning how to upload a file in Spring Boot and Thymeleaf web application. ### Working with Thymeleaf Layout Dialect in Spring Boot URL: https://attacomsian.com/blog/spring-boot-thymeleaf-layouts Published: Feb 9, 2020, updated Sep 24, 2022 [Spring Boot, Thymeleaf] A detailed article to learning how to use Thymeleaf Layout Dialect in a Spring Boot web application to build layouts and reusable templates. ### How to use fragments in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-fragments Published: Feb 8, 2020, updated Feb 9, 2020 [Thymeleaf] A quick guide to learn how to use fragments in Thymeleaf templates. ### HTML Form Handling in Thymeleaf and Spring Boot URL: https://attacomsian.com/blog/spring-boot-thymeleaf-form-handling Published: Feb 6, 2020, updated Sep 24, 2022 [Spring Boot, Thymeleaf] A complete guide to learn how to use HTML forms in a Thymeleaf template and how to handle the form submission using Spring Boot. ### How set a JavaScript variable in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-set-javascript-variable Published: Jan 29, 2020, updated Aug 12, 2022 [Thymeleaf] A quick guide to learn what is JavaScript inlining and how to use it to set a JavaScript variable by in Thymeleaf. ### How to get query string parameters in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-get-query-string-parameters Published: Jan 29, 2020, updated Sep 10, 2022 [Thymeleaf] A quick article to learn how to get query string parameters in Thymeleaf templates. ### How to get session attributes in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-get-session-attributes Published: Jan 29, 2020 [Thymeleaf] A quick guide to learn how to access session attributes in Thymeleaf templates. ### How to dynamically add/remove CSS classes in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-dynamically-add-remove-css-classes Published: Jan 29, 2020 [Thymeleaf] A quick guide to learn how to dynamically add or remove a CSS class in Thymeleaf. ### Iterating through Map, List, Set, and Array in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-iterate-map-list-set-array Published: Jan 25, 2020, updated Jan 29, 2020 [Thymeleaf] A quick guide to learn how to map through an iterator like Map, List, Set, and Array in Thymeleaf. ### How to get the current environment in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-get-current-environment Published: Jan 24, 2020, updated Aug 5, 2020 [Thymeleaf] A quick article to learn how to get the current environment of the Spring Boot application in a Thymeleaf template. ### How to display and compare enum values in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-enum-example Published: Jan 24, 2020, updated Nov 5, 2022 [Thymeleaf] A quick article to learn how to display and compare enum values in Thymeleaf. ### How to set and use a local variable in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-local-variables Published: Jan 23, 2020 [Thymeleaf] A short guide to learn how to set and use a local variable in Thymeleaf template engine. ### How to conditionally add attributes in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-conditionally-add-attributes Published: Jan 23, 2020 [Thymeleaf] A quick article to learn how to conditionally add boolean attributes like checked and selected in Thymeleaf. ### How to construct URLs in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-construct-urls Published: Jan 22, 2020, updated Oct 8, 2022 [Thymeleaf] A quick tutorial to learn how to construct different kinds of URLs in Thymeleaf templates. ### How to check if a variable is defined in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-check-if-variable-defined Published: Jan 22, 2020 [Thymeleaf] A quick article to learn how to check if a certain variable is defined in Thymeleaf. ### How to handle null values in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-handling-null-values Published: Jan 21, 2020 [Thymeleaf] A quick guide to learn how to handle null values in Thymeleaf templates. ### How to use Custom HTML5 Attributes in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-custom-html-attributes Published: Jan 21, 2020, updated Oct 8, 2022 [Thymeleaf] A quick guide to learning how to create HTML5 custom attributes using the Thymeleaf template engine. ### How to use conditionals in Thymeleaf URL: https://attacomsian.com/blog/thymeleaf-conditions Published: Jan 20, 2020, updated Jan 21, 2020 [Thymeleaf] A quick guide to learn how to use conditional statements like if-else, switch, and ternary operator in Thymeleaf. ### How to use Thymeleaf with Spring Boot URL: https://attacomsian.com/blog/spring-boot-thymeleaf-example Published: Jan 19, 2020, updated Sep 24, 2022 [Spring Boot, Thymeleaf] A quick guide to learning how to use the Thymeleaf template engine with a Spring Boot application to serve dynamic web content. ### Introduction to Spring Boot Starters URL: https://attacomsian.com/blog/spring-boot-starters Published: Jan 19, 2020, updated Sep 24, 2022 [Spring Boot] A detailed article to learn what are Spring Boot starters and how to use them in a Spring Boot application. ### How to upload and parse a CSV file using Spring Boot URL: https://attacomsian.com/blog/spring-boot-upload-parse-csv-file Published: Jan 17, 2020, updated Sep 24, 2022 [Spring Boot, Thymeleaf, CSV] A step-by-step guide to learn how to upload and parse a CSV file in Spring Boot and Thymeleaf. ### How to install MySQL on Ubuntu 18.04 URL: https://attacomsian.com/blog/install-mysql-on-ubuntu Published: Jan 16, 2020, updated Feb 18, 2020 [Ubuntu, DevOps, MySQL] A step-by-step guide to learn how to install, manage, and uninstall the latest version of MySQL database on Ubuntu 18.04. ### How to scaffold a Spring Boot application URL: https://attacomsian.com/blog/scaffolding-spring-boot-application Published: Jan 12, 2020, updated Sep 25, 2022 [Spring Boot] A detailed article on learning how to quickly create a Spring Boot using Spring Initializr and Spring Boot CLI. ### How to read and parse a CSV file in Java URL: https://attacomsian.com/blog/java-read-parse-csv-file Published: Jan 11, 2020, updated Sep 24, 2022 [Java, CSV] A detailed guide to learning how to read and parse a CSV file using core Java, OpenCSV, and Apache Commons CSV. ### How to calculate days between two dates in Java URL: https://attacomsian.com/blog/java-date-difference Published: Jan 10, 2020, updated Nov 16, 2022 [Java] A complete guide to calculating the days, hours, and minutes between two dates in Java using the new date and time API. ### Check if a string contains a substring in Java URL: https://attacomsian.com/blog/java-string-contains-substring Published: Jan 8, 2020, updated Aug 5, 2020 [Java] Learn about six different ways to check if a specific string contains a substring in Java. ### How to convert a Java object to XML using JAXB URL: https://attacomsian.com/blog/jaxb-convert-java-object-to-from-xml Published: Jan 3, 2020, updated Oct 29, 2022 [Java, XML] A quick guide to learn how to convert a Java object to its XML representation and vice versa using JAXB. ### How to read and write XML using Java URL: https://attacomsian.com/blog/java-read-write-xml Published: Jan 2, 2020, updated Oct 8, 2022 [Java, XML] A complete guide to learning how to read and write XML in Java using JAXB and DOM Parser. ### How to generate random numbers in Java URL: https://attacomsian.com/blog/java-generate-random-numbers Published: Jan 1, 2020, updated Oct 8, 2022 [Java] A quick article to learn how to generate random numbers in a range in Java. --- ## 2019 (198 articles) ### How to convert string to LocalDateTime in Java URL: https://attacomsian.com/blog/java-convert-string-to-localdatetime Published: Dec 30, 2019, updated Oct 14, 2022 [Java] A quick tutorial to learn how to convert a string to an instance of LocalDateTime in Java. ### How to convert string to LocalDate in Java URL: https://attacomsian.com/blog/java-convert-string-to-localdate Published: Dec 30, 2019, updated Oct 14, 2022 [Java] A quick tutorial to learn how to convert a string to an instance of LocalDate in Java. ### How to convert LocalDateTime to string in Java URL: https://attacomsian.com/blog/java-format-localdatetime Published: Dec 30, 2019, updated Oct 14, 2022 [Java] A quick tutorial to learn how to format an instance of LocalDateTime in Java. ### How to convert LocalDate to string in Java URL: https://attacomsian.com/blog/java-format-localdate Published: Dec 30, 2019, updated Oct 14, 2022 [Java] A quick tutorial to learn how to format an instance of LocalDate in Java. ### How to convert a date to string in Java URL: https://attacomsian.com/blog/java-date-format-to-string Published: Dec 29, 2019, updated Oct 14, 2022 [Java] A complete guide to learning how to convert a date to a string in Java 8 and beyond. ### How to add days to a date in Java URL: https://attacomsian.com/blog/java-add-days-to-date Published: Dec 26, 2019, updated Oct 14, 2022 [Java] 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. ### How to compare two dates in Java URL: https://attacomsian.com/blog/java-compare-dates Published: Dec 25, 2019, updated Oct 14, 2022 [Java] 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. ### How to get the Unix timestamp in Java URL: https://attacomsian.com/blog/java-get-unix-timestamp Published: Dec 23, 2019, updated Oct 6, 2022 [Java] A brief article to learn how to get the Unix timestamp in Java. ### How to get current timestamp in Java URL: https://attacomsian.com/blog/java-get-current-timestamp Published: Dec 23, 2019, updated Oct 6, 2022 [Java] A quick article to learn how to get the current timestamp in Java. ### How to convert a string to date in Java URL: https://attacomsian.com/blog/java-convert-string-to-date Published: Dec 22, 2019, updated Oct 14, 2022 [Java] Learn how to convert a string to a date using Java 8 new date and time API, legacy Date class, and external libraries. ### How to get current date and time in Java URL: https://attacomsian.com/blog/java-get-current-date-time Published: Dec 21, 2019, updated Oct 14, 2022 [Java] 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. ### Introduction to Java 8 Date and Time API URL: https://attacomsian.com/blog/java-new-date-time-api Published: Dec 19, 2019, updated Oct 13, 2022 [Java] A comprehensive guide to learning about new Java 8 date and time APIs including LocalDate, LocalTime, LocalDateTime, ZonedDateTime, Instant, and more. ### How to convert a byte array to a string in Java URL: https://attacomsian.com/blog/java-convert-byte-array-to-string Published: Dec 17, 2019, updated Oct 29, 2022 [Java] A quick tutorial to learn how to convert a byte[] array to a string and vice versa in Java. ### How to filter a Map with Java 8 Stream API URL: https://attacomsian.com/blog/java-filter-map Published: Dec 17, 2019, updated Oct 8, 2022 [Java] This is a short article to learn how to filter map elements using Java 8 Stream API. ### How to use forEach() method to loop in Java URL: https://attacomsian.com/blog/java-foreach Published: Dec 17, 2019 [Java] A quick article to learn how to loop a list or a map by using Java 8 forEach() method. ### how to create a temporary directory in Java URL: https://attacomsian.com/blog/java-create-temporary-directory Published: Dec 16, 2019 [Java] A short tutorial to learn how to create a temporary directory in Java. ### How to create a temporary file in Java URL: https://attacomsian.com/blog/java-create-temporary-file Published: Dec 16, 2019 [Java] A short tutorial to learn how to create a temporary file in Java. ### How to get the current working directory in Java URL: https://attacomsian.com/blog/java-get-current-working-directory Published: Dec 15, 2019, updated Oct 8, 2022 [Java] A quick hack to learn how to get current working directory in Java. ### How to traverse a directory structure in Java URL: https://attacomsian.com/blog/java-traverse-directory-structure Published: Dec 15, 2019 [Java] A quick tutorial to learn how to iterate through all files and sub-directories in a directory using Java. ### How to move a file to another directory in Java URL: https://attacomsian.com/blog/java-move-file-to-another-directory Published: Dec 15, 2019 [Java] A quick tutorial to learn how to move a file from one directory to another directory in Java. ### How to copy files from one directory to another in Java URL: https://attacomsian.com/blog/java-copy-files-from-one-directory-to-another Published: Dec 15, 2019 [Java] A short tutorial to learn how to copy all files and sub-directories from one directory to another in Java. ### How to create symbolic and hard links in Java URL: https://attacomsian.com/blog/java-create-symbolic-hard-links Published: Dec 14, 2019 [Java] A short guide to learn how to create a symbolic link as well as a hard link in Java. ### How to check if directory is a symbolic link in Java URL: https://attacomsian.com/blog/java-check-if-directory-is-symbolic-link Published: Dec 14, 2019, updated Oct 14, 2022 [Java] A quick tutorial to learn how to check if a directory is a symbolic link in Java. ### How to check if directory is empty in Java URL: https://attacomsian.com/blog/java-check-if-directory-is-empty Published: Dec 14, 2019 [Java] A quick tutorial to learn how to check if a directory is empty in Java. ### How to delete a directory recursively in Java URL: https://attacomsian.com/blog/java-delete-directory-recursively Published: Dec 14, 2019 [Java] A quick article to learn how to delete a directory with files and sub-directories in Java. ### How to delete a directory in Java URL: https://attacomsian.com/blog/java-delete-directory Published: Dec 13, 2019, updated Oct 14, 2022 [Java] A quick article to learn how to delete an empty as well as non-empty directory in Java. ### How to create a directory in Java URL: https://attacomsian.com/blog/java-create-directory Published: Dec 13, 2019 [Java] A short tutorial to learn how to create a single directory as well as nested directories structure in Java. ### How to get the absolute path of a file in Java URL: https://attacomsian.com/blog/java-get-file-absolute-path Published: Dec 12, 2019 [Java] A quick tutorial to learn how to get the complete path of a file in Java. ### How to get the file last modified date in Java URL: https://attacomsian.com/blog/java-get-file-last-modified-date Published: Dec 12, 2019, updated Oct 13, 2022 [Java] A quick tutorial to learn how to change the file last modified date in Java. ### How to change the file last modified date in Java URL: https://attacomsian.com/blog/java-change-file-last-modified-date Published: Dec 12, 2019, updated Oct 13, 2022 [Java] A simple program to learn how to change the file last modified date in Java. ### How to check if a file is hidden in Java URL: https://attacomsian.com/blog/java-check-if-file-hidden Published: Dec 12, 2019 [Java] A quick tutorial to learn how to check if a file is hidden in Java. ### How to make a file read only in Java URL: https://attacomsian.com/blog/java-make-file-read-only Published: Dec 12, 2019, updated Oct 14, 2022 [Java] A quick tutorial to learn how to make a file read-only in Java. ### How to check if file is readable, writable or executable in Java URL: https://attacomsian.com/blog/java-check-if-file-readable-writable-executable Published: Dec 12, 2019 [Java] A quick tutorial to learn how to check if file is readable, writable or executable in Java. ### How to check if a directory exists in Java URL: https://attacomsian.com/blog/java-check-if-directory-exists Published: Dec 12, 2019 [Java] A short tutorial to learn how to check if a directory exists in Java. ### How to check if a file exists in Java URL: https://attacomsian.com/blog/java-check-if-file-exists Published: Dec 12, 2019 [Java] A short tutorial to learn how to check if a file exists in Java. ### How to read a File to a String in Java URL: https://attacomsian.com/blog/java-read-file-to-string Published: Dec 11, 2019 [Java] A quick tutorial to learn how to read the contents of a file into a string in Java. ### How to download and save a file from Internet in Java URL: https://attacomsian.com/blog/java-download-save-file-from-internet Published: Dec 11, 2019 [Java] A quick article to learn how to download and save a file from the Internet in Java. ### How to read an Object from a File in Java URL: https://attacomsian.com/blog/java-read-object-from-file Published: Dec 11, 2019 [Java] A quick tutorial to learn how to read an object from a file using Java. ### How to write an Object to a File in Java URL: https://attacomsian.com/blog/java-write-object-to-file Published: Dec 11, 2019 [Java] A quick tutorial to learn how to serialize a Java Object to a file. ### How to convert InputStream to OutputStream in Java URL: https://attacomsian.com/blog/java-convert-inputstream-to-outputstream Published: Dec 10, 2019, updated Oct 29, 2022 [Java] A quick tutorial to learn how to convert an instance of InputStream into an OutputStream object in Java. ### How to convert an InputStream to a File in Java URL: https://attacomsian.com/blog/java-convert-inputstream-to-file Published: Dec 10, 2019 [Java] A short article to learn how to convert an InputStream object to a file object in Java. ### How to convert a String to an InputStream in Java URL: https://attacomsian.com/blog/java-convert-string-to-inputstream Published: Dec 8, 2019, updated Oct 29, 2022 [Java] A quick article to learn how to convert a string into an InputStream object in Java. ### How to convert an InputStream to a String in Java URL: https://attacomsian.com/blog/java-convert-inputstream-to-string Published: Dec 8, 2019, updated Oct 29, 2022 [Java] A quick article to learn how to convert an instance of InputStream to a string in Java. ### How to list all files in a directory in Java URL: https://attacomsian.com/blog/java-list-all-files-in-a-directory Published: Dec 8, 2019, updated Aug 21, 2022 [Java] A quick tutorial to learn how to list all files and folders in a directory using Java. ### How to delete a file in Java URL: https://attacomsian.com/blog/java-delete-file Published: Dec 8, 2019 [Java] A short article to learn how to delete a file in Java. ### How to create a file in Java URL: https://attacomsian.com/blog/java-create-file Published: Dec 8, 2019 [Java] A short tutorial to learn how to create a new file in Java. ### How to get a file size in Java URL: https://attacomsian.com/blog/java-get-file-size Published: Dec 7, 2019 [Java] A short tutorial to learn how to get a file size in Java. ### How to read a file using Files.readAllBytes() in Java URL: https://attacomsian.com/blog/java-files-readallbytes-example Published: Dec 7, 2019, updated Dec 11, 2019 [Java] A short tutorial to learn how to read a file using the Files.readAllBytes() method in Java. ### How to lock a file before writing in Java URL: https://attacomsian.com/blog/java-lock-file-before-writing Published: Dec 7, 2019 [Java] A short tutorial to learn how to lock a file before writing in Java. ### How to save a string to a text file using Java URL: https://attacomsian.com/blog/java-save-string-to-text-file Published: Dec 7, 2019 [Java] A quick tutorial to learn how to save a String to a text file in Java. ### How to append text to a file in Java URL: https://attacomsian.com/blog/java-append-text-to-file Published: Dec 7, 2019 [Java] A short tutorial to learn how to append text to an existing file in Java. ### How to write to a file using FileOutputStream in Java URL: https://attacomsian.com/blog/java-write-file-using-fileoutputstream Published: Dec 6, 2019, updated Dec 7, 2019 [Java] A short tutorial to learn how to write to a file using FileOutputStream in Java. ### How to read a file using FileInputStream in Java URL: https://attacomsian.com/blog/java-read-file-using-fileinputstream Published: Dec 6, 2019 [Java] A short tutorial to learn how to read and write a file using FileInputStream in Java. ### How to create and write to a file in Java URL: https://attacomsian.com/blog/java-create-and-write-file Published: Dec 6, 2019, updated Oct 14, 2022 [Java] A short tutorial to learn how to create a new file and write data into it using Java. ### How to write to a file using BufferedWriter in Java URL: https://attacomsian.com/blog/java-write-file-using-bufferedwriter Published: Dec 6, 2019 [Java] A short article to learn how to write to a file using the BufferedWriter class in Java. ### How to read a file using BufferedReader in Java URL: https://attacomsian.com/blog/java-read-file-using-bufferedreader Published: Dec 6, 2019 [Java] A short article to learn how to read a file using the BufferedReader class in Java. ### Reading and Writing Files using Java NIO API URL: https://attacomsian.com/blog/java-read-write-files-nio-api Published: Dec 6, 2019 [Java] A short article to learn how to read and write files using Java New I/O API (NIO). ### How to Read and Write Binary Files in Java URL: https://attacomsian.com/blog/java-read-write-binary-files Published: Dec 5, 2019 [Java] A quick article to learn how to read and write binary files in Java. ### How to Read and Write Text Files in Java URL: https://attacomsian.com/blog/java-read-write-text-files Published: Dec 4, 2019, updated Dec 5, 2019 [Java] A quick tutorial to learn how to read and write text file in Java. ### Reading and Writing Files in Java URL: https://attacomsian.com/blog/java-read-write-files Published: Dec 1, 2019, updated Dec 5, 2019 [Java] A comprehensive guide to learn how to read and write text and binary files in Java. ### How to concatenate two arrays in Java URL: https://attacomsian.com/blog/java-concatenate-arrays Published: Dec 1, 2019 [Java] A short tutorial to learn how to concatenate multiple arrays into one using Java. ### How to check if an array contains a value in Java URL: https://attacomsian.com/blog/java-array-contains-value Published: Dec 1, 2019 [Java] A short tutorial to learn how to check if an array contains a certain value in Java. ### How to convert an Array to a List in Java URL: https://attacomsian.com/blog/java-convert-array-to-list Published: Dec 1, 2019, updated Oct 29, 2022 [Java] A short article to learn how to convert an array to a list in Java using Stream API. ### How to split a string by new line in Java URL: https://attacomsian.com/blog/java-split-string-new-line Published: Nov 30, 2019 [Java] A short guide to learn how to split a string by new line in Java. ### How to split a string in Java URL: https://attacomsian.com/blog/java-string-split Published: Nov 30, 2019, updated Jul 4, 2021 [Java] A short tutorial to learn how to split a string by period/dot or new line in Java. ### How to read JSON from a file using Gson in Java URL: https://attacomsian.com/blog/gson-read-json-file Published: Nov 30, 2019, updated Oct 14, 2022 [Java, JSON] A quick tutorial to learn how to read JSON data from a file using Gson. ### How to write JSON to a file using Gson in Java URL: https://attacomsian.com/blog/gson-write-json-file Published: Nov 30, 2019, updated Oct 14, 2022 [Java, JSON] A quick tutorial to learn how to write JSON data to a file using the Gson library. ### Read and write JSON as a stream using Gson URL: https://attacomsian.com/blog/gson-read-write-json-stream Published: Nov 30, 2019, updated Oct 14, 2022 [Java, JSON] A quick article to learn how to read and write JSON as a stream by using the Gson library. ### How to pretty print JSON using Gson in Java URL: https://attacomsian.com/blog/gson-pretty-print-json Published: Nov 30, 2019, updated Oct 14, 2022 [Java, JSON] A short tutorial to learn how to enable pretty print JSON output using Gson. ### Convert JSON String to and from Map using Gson URL: https://attacomsian.com/blog/gson-convert-json-string-to-map Published: Nov 30, 2019 [Java, JSON] A short tutorial to learn how to convert a JSON string to Java Map and vice versa using Gson. ### Convert JSON Array to List using Gson in Java URL: https://attacomsian.com/blog/gson-convert-json-array-to-from-java-list Published: Nov 30, 2019, updated Oct 14, 2022 [Java, JSON] A short tutorial to learn how to convert a JSON array to a Java list and vice versa using Gson. ### Convert Java Object to JSON using Gson URL: https://attacomsian.com/blog/gson-convert-java-object-to-from-json Published: Nov 29, 2019, updated Oct 14, 2022 [Java, JSON] 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. ### How to read and write JSON using Gson in Java URL: https://attacomsian.com/blog/gson-read-write-json Published: Nov 29, 2019, updated Oct 14, 2022 [Java, JSON] 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. ### How to Read JSON from a file using Jackson URL: https://attacomsian.com/blog/jackson-read-json-file Published: Nov 27, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A quick tutorial to learn how to read JSON data from a file using Jackson API. ### How to write JSON to a file using Jackson URL: https://attacomsian.com/blog/jackson-write-json-file Published: Nov 27, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A quick tutorial to learn how to write JSON to a file using Jackson API. ### How to create a JSON Object using Jackson URL: https://attacomsian.com/blog/jackson-create-json-object Published: Nov 27, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn how to create a JSON object using Jackson API. ### How to create a JSON array using Jackson URL: https://attacomsian.com/blog/jackson-create-json-array Published: Nov 26, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn how to create a JSON array using Jackson API. ### Working with Tree Model Nodes in Jackson URL: https://attacomsian.com/blog/jackson-json-node-tree-model Published: Nov 18, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A comprehensive guide to understand what is Jackson tree model and how to add, remove, modify and traverse JSON nodes using tree model. ### Convert Java Object to JsonNode using Jackson URL: https://attacomsian.com/blog/jackson-convert-java-object-to-json-node Published: Nov 17, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn how to convert a Java Object or a Map to a JsonNode Object using Jackson. ### How to pretty print JsonNode to JSON string using Jackson URL: https://attacomsian.com/blog/jackson-pretty-print-json-node-to-string Published: Nov 17, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short guide to learn how to pretty print a JsonNode to a JSON string using Jackson. ### Convert JSON string to JsonNode using Jackson URL: https://attacomsian.com/blog/jackson-convert-json-string-to-json-node Published: Nov 17, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn about different ways of converting JSON string to JsonNode using Jackson. ### How to map a dynamic JSON object with Jackson URL: https://attacomsian.com/blog/jackson-map-dynamic-json-object Published: Nov 17, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn how to map a dynamic JSON object to a Java class using Jackson API. ### How to ignore unknown JSON properties with Jackson URL: https://attacomsian.com/blog/jackson-ignore-unknown-json-properties Published: Nov 17, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn how to ignore unknown JSON properties while parsing JSON to a Java Object using Jackson API. ### How to pretty print JSON using Jackson in Java URL: https://attacomsian.com/blog/jackson-pretty-print-json Published: Nov 16, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn how to enable pretty print JSON output using Jackson. ### How to Ignore Null Fields with Jackson in Java URL: https://attacomsian.com/blog/jackson-ignore-null-fields Published: Nov 16, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn how to ignore null fields while serializing with Jackson on class level as well as globally. ### Convert JSON String to Map using Jackson URL: https://attacomsian.com/blog/jackson-convert-json-string-to-map Published: Nov 16, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn how to convert a JSON string to Java Map and vice versa using Jackson. ### Convert JSON array to a list using Jackson in Java URL: https://attacomsian.com/blog/jackson-convert-json-array-to-from-java-list Published: Nov 16, 2019, updated Nov 6, 2022 [Java, JSON, Jackson] A short tutorial to learn how to convert a JSON array to a Java list and vice versa using Jackson. ### Convert Java Object to JSON using Jackson URL: https://attacomsian.com/blog/jackson-convert-java-object-to-from-json Published: Nov 16, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] A short tutorial to learn how to convert a Java Object to JSON string or file and vice versa by using the Jackson library. ### How to read and write JSON using Jackson in Java URL: https://attacomsian.com/blog/jackson-read-write-json Published: Nov 15, 2019, updated Oct 14, 2022 [Java, JSON, Jackson] 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. ### RestTemplate POST Request with JSON and Headers URL: https://attacomsian.com/blog/spring-boot-resttemplate-post-request-json-headers Published: Nov 9, 2019, updated Sep 24, 2022 [Spring Boot] Learn how to make different kinds of HTTP POST requests with request body parameters, custom request headers, basic HTTP authentication, and more using RestTemplate. ### RestTemplate GET Request with Parameters and Headers URL: https://attacomsian.com/blog/spring-boot-resttemplate-get-request-parameters-headers Published: Nov 9, 2019, updated Sep 24, 2022 [Spring Boot] Learn how to make different kinds of HTTP GET requests with query parameters, custom request headers, basic HTTP authentication, and more using RestTemplate. ### Spring Boot RestTemplate Error Handling URL: https://attacomsian.com/blog/spring-boot-resttemplate-error-handling Published: Nov 8, 2019, updated Sep 24, 2022 [Spring Boot] Learn how to handle errors while making HTTP requests using the RestTemplate class in a Spring Boot application. ### How to read and write JSON using JSON.simple in Java URL: https://attacomsian.com/blog/json-simple-read-write-json Published: Oct 27, 2019, updated Nov 15, 2019 [Java, JSON] 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. ### How to read and write JSON Files in Java URL: https://attacomsian.com/blog/java-read-write-json-files Published: Oct 26, 2019, updated Oct 3, 2022 [Java, JSON, Jackson] Learn how to read and write JSON files using JSON.simple, Jackson, Gson, and Mushi open-source libraries. ### Spring Data JPA Auditing using Spring Boot and MySQL URL: https://attacomsian.com/blog/spring-data-jpa-auditing Published: Oct 20, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA, MySQL] A complete guide to learning what is Spring Data JPA auditing feature and how to enable it in a Spring Boot and MySQL application. ### Dynamic Queries with Spring Data JPA Specifications URL: https://attacomsian.com/blog/spring-data-jpa-specifications Published: Oct 20, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA] A complete guide on learning what is Spring Data JPA specifications and how to use them to generate dynamic database queries. ### Introduction to Spring Data JPA Repositories URL: https://attacomsian.com/blog/spring-data-jpa-repositories Published: Oct 19, 2019, updated Oct 8, 2022 [Spring Data JPA] A complete guide to learning in detail about Spring Data repository interfaces such as CrudRepository, PagingAndSortingRepository, and JpaRepository. ### Spring Data JPA Composite Primary Key Mapping Example URL: https://attacomsian.com/blog/spring-data-jpa-composite-primary-key Published: Oct 19, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA] A complete guide to map a composite primary key by using both @IdClass and @EmbeddedId annotations in Spring Data JPA. ### Spring Data JPA Many To Many Relationship Mapping Example URL: https://attacomsian.com/blog/spring-data-jpa-many-to-many-mapping Published: Oct 18, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA, MySQL] 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. ### Spring Data JPA One To Many Relationship Mapping Example URL: https://attacomsian.com/blog/spring-data-jpa-one-to-many-mapping Published: Oct 13, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA, MySQL] A step-by-step guide to creating and using a one-to-many relationship mapping in a Spring Data JPA and MySQL application. ### Spring Data JPA One To One Relationship Mapping Example URL: https://attacomsian.com/blog/spring-data-jpa-one-to-one-mapping Published: Oct 12, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA, MySQL] A complete guide for defining and using a one-to-one relationship mapping in a Spring Data JPA and MySQL project. ### Pagination with Spring Data JPA URL: https://attacomsian.com/blog/spring-data-jpa-pagination Published: Oct 12, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA] A comprehensive guide on learning how to use paginate query results using the Pageable interface in Spring Data JPA. ### Sorting Query Results with Spring Data JPA URL: https://attacomsian.com/blog/spring-data-jpa-sorting Published: Oct 9, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA] A complete guide to understanding how sorting works in Spring Data JPA and how to use it for derived, named, and custom queries. ### How to Use Spring Data JPA Named Queries URL: https://attacomsian.com/blog/spring-data-jpa-named-queries Published: Oct 8, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA] Learn how to create and use named queries in a Spring Boot application using a properties file, annotations, or the orm.xml file. ### Spring Data JPA Custom Queries using @Query Annotation URL: https://attacomsian.com/blog/spring-data-jpa-query-annotation Published: Oct 6, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA] Learn how to create and use both JPQL and native SQL queries by using the @Query annotation in Spring Data JPA. ### Derived Query Methods in Spring Data JPA URL: https://attacomsian.com/blog/derived-query-methods-spring-data-jpa Published: Oct 4, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA] Learn how to create and use the derived query methods in Spring Data JPA to fetch, update, and delete data from a database. ### Accessing Data with Spring Data JPA and MySQL URL: https://attacomsian.com/blog/accessing-data-spring-data-jpa-mysql Published: Oct 3, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA, MySQL] Learn how to access data using Spring Data JPA with MySQL database in a Spring Boot application. ### Spring Data JPA with H2 DataBase and Spring Boot URL: https://attacomsian.com/blog/spring-data-jpa-h2-database Published: Oct 2, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA] Learn how to use Spring Data JPA with H2 in-memory database in a Spring Boot application for storing, accessing, updating, and deleting entities. ### Getting Started with Spring Data JPA URL: https://attacomsian.com/blog/getting-started-spring-data-jpa Published: Oct 1, 2019, updated Sep 25, 2022 [Spring Boot, Spring Data JPA] Learn what is Spring Data JPA (Java Persistence API) and how to configure it in a Spring Boot application. ### How to read and write CSV files using core Java URL: https://attacomsian.com/blog/read-write-csv-files-core-java Published: Sep 29, 2019, updated Sep 24, 2022 [Java, CSV] Learn how to read and write CSV files by using core Java APIs like the Scanner class or the BufferedReader class. ### Base64 Encoding and Decoding in Java URL: https://attacomsian.com/blog/base64-encode-decode-java Published: Sep 28, 2019, updated Feb 26, 2020 [Java] Learn how to Base64 encode or decode a string by using Java 8 and Apache Commons Codec. ### How to Install Node.js and NPM on Ubuntu 18.04 URL: https://attacomsian.com/blog/install-nodejs-npm-ubuntu Published: Sep 27, 2019, updated Oct 1, 2022 [Node.js, Ubuntu, DevOps, NPM] A step-by-step guide to installing Node.js and NPM on a Ubuntu 18.04 serve using three different methods. ### How to encode or decode a URL string in Java URL: https://attacomsian.com/blog/encode-decode-url-string-java Published: Sep 26, 2019, updated Feb 26, 2020 [Java] Learn how to URL encode or decode query strings and form parameters in Java. ### How to read cookies in Spring Boot URL: https://attacomsian.com/blog/read-cookies-spring-boot Published: Sep 25, 2019, updated Sep 25, 2022 [Spring Boot] A quick guide to learning how to use the `@CookieValue annotation to read cookies in Spring Boot. ### Express File Upload with Multer in Node.js URL: https://attacomsian.com/blog/express-file-upload-multer Published: Sep 24, 2019, updated Oct 1, 2022 [Node.js, Express.js] A step-by-step guide to uploading single and multiple files with Express.js and Multer in Node.js. ### How to install Gradle on Ubuntu 18.04 URL: https://attacomsian.com/blog/install-gradle-on-ubuntu Published: Sep 22, 2019, updated Oct 14, 2022 [Ubuntu, DevOps, Gradle] A step-by-step guide to installing the latest version of Gradle on a Ubuntu 18.04 machine. ### How to install Java on Ubuntu 18.04 URL: https://attacomsian.com/blog/install-java-on-ubuntu Published: Sep 22, 2019, updated Sep 7, 2020 [Java, Ubuntu, DevOps] 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. ### How to Increase Tomcat Default Memory Size URL: https://attacomsian.com/blog/tomcat-increase-default-memory-size Published: Sep 21, 2019 [Java, DevOps] Find out how to increase the default heap memory size for Apache Tomcat web server. ### How to use basic authentication with RestTemplate URL: https://attacomsian.com/blog/resttemplate-basic-authentication Published: Sep 21, 2019, updated Sep 24, 2022 [Spring Boot] A quick guide to learning how to add basic Authentication to the requests made by RestTemplate in a Spring Boot application. ### How to Make an HTTP Post Request using Node.js URL: https://attacomsian.com/blog/node-http-post-request Published: Sep 20, 2019, updated Oct 1, 2022 [Node.js] A step-by-step article to learn how to make an HTTP POST request using Node.js. ### How to make HTTP Requests using Node.js Request Module URL: https://attacomsian.com/blog/node-http-requests-using-request-module Published: Sep 19, 2019, updated Oct 1, 2022 [Node.js] Learn how to use Node.js Request Module to making HTTP requests like GET, POST, PUT, and DELETE. ### How to make HTTP Requests in native Node.js URL: https://attacomsian.com/blog/node-make-http-requests Published: Sep 18, 2019, updated Oct 1, 2022 [Node.js] An introduction to Node.js native HTTPS module for performing HTTP requests like GET, POST, PUT, and DELETE. ### How to read and write CSV files using OpenCSV URL: https://attacomsian.com/blog/read-write-csv-files-opencsv Published: Sep 15, 2019, updated Sep 24, 2022 [Java, CSV] 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. ### How to use for...in loop in JavaScript URL: https://attacomsian.com/blog/for-in-loop-in-javascript Published: Sep 14, 2019, updated Oct 9, 2022 [JavaScript] Learn how the for...in statement works JavaScript and how you can use it to iterate through objects, arrays, maps, sets, strings, and more. ### Capitalize the first letter of each word in a string using Java URL: https://attacomsian.com/blog/capitalize-first-letter-of-each-word-in-string-java Published: Sep 14, 2019, updated Sep 30, 2022 [Java] 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. ### Capitalize the first letter of a string in Java URL: https://attacomsian.com/blog/capitalize-first-letter-of-string-java Published: Sep 14, 2019, updated Sep 30, 2022 [Java] Learn how to capitalize the first letter of a string in Java by using the String's substring() method and Apache Commons Lang library. ### How to sort a List using Stream sorted() in Java URL: https://attacomsian.com/blog/sort-list-using-stream-sorted-method-java Published: Sep 11, 2019, updated Feb 18, 2020 [Java] Learn how to sort a list using Stream sorted() method using natural ordering as well as ordering provided by Comparator in Java. ### How to sort a Map in Java URL: https://attacomsian.com/blog/how-to-sort-a-map-in-java Published: Sep 10, 2019, updated Feb 18, 2020 [Java] Learn how to sort a Map by keys or by values in Java using Java 8 Streams. ### Check if a string contains a substring using indexOf() in JavaScript URL: https://attacomsian.com/blog/javascript-string-indexof-method Published: Sep 9, 2019, updated Aug 25, 2022 [JavaScript] Learn how to use String.indexOf() method to check if a string contains a substring in JavaScript. ### Check if a string contains a substring using includes() in JavaScript URL: https://attacomsian.com/blog/javascript-includes-method Published: Sep 8, 2019, updated Aug 26, 2022 [JavaScript] Introduction to JavaScript String.includes() method. The easiest way to check if a string contains a substring. ### How to read and write CSV files using Apache Commons CSV URL: https://attacomsian.com/blog/read-write-csv-files-apache-commons-csv Published: Sep 8, 2019, updated Sep 24, 2022 [Java, CSV] A step-by-step guide to reading and writing CSV files in Java using Apache Commons CSV library. ### How to Install MongoDB on Ubuntu 18.04 URL: https://attacomsian.com/blog/install-mongodb-ubuntu-18-04 Published: Sep 7, 2019, updated Feb 7, 2021 [Ubuntu, DevOps, MongoDB] A step-by-step guide to install and configure MongoDB 4.2 community edition on Ubuntu 18.04 server. ### How to Create a Sudo User on Ubuntu 18.04 URL: https://attacomsian.com/blog/create-user-with-sudo-privileges-on-ubuntu Published: Sep 5, 2019, updated Oct 28, 2022 [Ubuntu, DevOps] A step-by-step guide to create a user with sudo privileges on Ubuntu, Debian, Kubuntu, and Linux Mint. ### How to Add and Delete Users on Ubuntu 18.04 URL: https://attacomsian.com/blog/add-delete-users-on-ubuntu Published: Sep 5, 2019, updated Oct 28, 2022 [Ubuntu, DevOps] A step-by-step guide to learn how to add and delete users on Ubuntu, Debian, Kubuntu, and Linux Mint. ### A Beginner's Guide to JSON with Examples URL: https://attacomsian.com/blog/what-is-json Published: Sep 4, 2019, updated Oct 3, 2022 [JSON] A comprehensive guide to understand what is JSON (JavaScript Object Notation), what are JSON data types, and how to use it with examples. ### How to get the Unix timestamp in JavaScript URL: https://attacomsian.com/blog/unix-timestamp-javacript Published: Sep 4, 2019, updated Sep 11, 2022 [JavaScript] Learn about different ways to generate the current Unix timestamp in JavaScript. ### How to read a file line by line in Node.js URL: https://attacomsian.com/blog/reading-a-file-line-by-line-in-nodejs Published: Sep 1, 2019, updated Oct 1, 2022 [Node.js] Learn how to read a file line by line in Node.js using the FS module, readline module, and more. ### How to check if a file exists in Node.js URL: https://attacomsian.com/blog/how-to-check-if-a-file-exists-in-nodejs Published: Sep 1, 2019, updated Oct 1, 2022 [Node.js] Learn how to check if a file exists in the local file system using Node.js FS module. ### How to read and write files in Node.js URL: https://attacomsian.com/blog/reading-writing-files-nodejs Published: Aug 31, 2019, updated Aug 27, 2022 [Node.js] A practical guide to learning how to read and write files in Node.js using the native Filesystem module. ### How to convert a string to an integer in Java URL: https://attacomsian.com/blog/convert-string-to-integer-in-java Published: Aug 24, 2019, updated Oct 29, 2022 [Java] A quick article to learn how to convert a string to an integer in Java. ### How to read a file line by line in Java URL: https://attacomsian.com/blog/how-to-read-a-file-line-by-line-in-java Published: Aug 24, 2019, updated Feb 18, 2020 [Java] 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). ### How to use the Fetch API to GET and POST data in JavaScript URL: https://attacomsian.com/blog/using-javascript-fetch-api-to-get-and-post-data Published: Aug 21, 2019, updated Jun 10, 2023 [JavaScript] A practical guide to learning how to use native JavaScript Fetch API to get and post data from a server. ### How to Schedule Tasks in Spring Boot URL: https://attacomsian.com/blog/task-scheduling-spring-boot Published: Aug 20, 2019, updated Sep 27, 2022 [Java, Spring Boot] A step-by-step guide to learning how to schedule different tasks in a Spring Boot application. ### Object.entries() and Object.values() methods in JavaScript URL: https://attacomsian.com/blog/object-entries-values-javascript Published: Aug 18, 2019, updated Sep 19, 2022 [JavaScript] An introduction to ES8's Object.entries() and Object.values() methods and how to use them in JavaScript. ### How to check if an object is empty in JavaScript URL: https://attacomsian.com/blog/check-if-javascript-object-is-empty Published: Aug 18, 2019, updated Sep 19, 2022 [JavaScript] Learn how to use the Object.entries(), Object.keys(), and Object.getOwnPropertyNames() methods to check if an object is empty in JavaScript. ### Uploading files on the server using Fetch API URL: https://attacomsian.com/blog/uploading-files-using-fetch-api Published: Aug 15, 2019, updated Jun 10, 2023 [JavaScript] 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. ### How to make HTTP requests using XMLHttpRequest (XHR) URL: https://attacomsian.com/blog/http-requests-xhr Published: Aug 12, 2019, updated Oct 6, 2022 [JavaScript] Learn about XHR request basics, events, response formats, request timeout, request states, request an abortion, manipulating HTTP headers, form data submissions, CORS, and more. ### How to use the URL Object in JavaScript URL: https://attacomsian.com/blog/javascript-url-object Published: Aug 11, 2019, updated Aug 8, 2022 [JavaScript] An introduction to JavaScript URL Object and how to use it to parse, construct, normalize, and encode URLs. ### 4 ways to compare strings in Java URL: https://attacomsian.com/blog/ways-to-compare-strings-in-java Published: Aug 10, 2019, updated Feb 18, 2020 [Java] Learn about four different ways to compare two strings in Java. ### How to create an ArrayList in Java URL: https://attacomsian.com/blog/how-to-create-an-arraylist-in-java Published: Aug 10, 2019, updated Oct 8, 2022 [Java] A short guide to create and use ArrayList in Java. ### How to convert a List to a Set in Java URL: https://attacomsian.com/blog/how-to-convert-a-list-to-a-set-in-java Published: Aug 8, 2019, updated Oct 29, 2022 [Java] A protip to convert a list object (ArrayList) to a set object (HashSet) and vice versa in Java. ### How to check if a date is today in JavaScript URL: https://attacomsian.com/blog/check-if-date-is-today-javascript Published: Aug 7, 2019, updated Oct 8, 2022 [JavaScript] A protip to check if a date object is equal to today's date in JavaScript. ### How to get current year in Thymeleaf URL: https://attacomsian.com/blog/how-to-get-current-year-in-thymeleaf Published: Aug 7, 2019, updated Feb 18, 2020 [Thymeleaf] A protip to get current year in a Thymeleaf template. ### How to convert country code to emoji flag in Java URL: https://attacomsian.com/blog/how-to-convert-country-code-to-emoji-in-java Published: Aug 7, 2019, updated Oct 29, 2022 [Java] Learn about the easiest way to convert two letters country code into emoji flag in Java. ### How to convert a string to a number in JavaScript URL: https://attacomsian.com/blog/convert-string-to-number-in-javascript Published: Aug 4, 2019, updated Oct 8, 2022 [JavaScript] Learn about six different ways to convert a string to a number in JavaScript. ### How to set a cookie with Response Entity in Spring Boot URL: https://attacomsian.com/blog/set-cookie-with-response-entity-in-spring-boot Published: Aug 3, 2019, updated Sep 25, 2022 [Spring Boot] Learn how to set a cookie along with Response Entity in a Spring Boot application. ### How to upload a file with Ajax in Spring Boot URL: https://attacomsian.com/blog/spring-boot-file-upload-with-ajax Published: Aug 3, 2019, updated Sep 25, 2022 [Spring Boot, Ajax] A short guide for uploading a file in Spring Boot web application through asynchronous Ajax request. ### How to make HTTP requests using RestTemplate in Spring Boot URL: https://attacomsian.com/blog/http-requests-resttemplate-spring-boot Published: Jul 25, 2019, updated Sep 24, 2022 [Spring Boot, Spring Web] A complete guide to learning how to make HTTP GET and POST requests using the RestTemplate class in a Spring Boot application. ### Introduction to Service Workers in JavaScript URL: https://attacomsian.com/blog/service-workers-javascript Published: Jul 13, 2019, updated Oct 8, 2022 [JavaScript] A comprehensive guide to JavaScript service workers and how to utilize them in Progressive Web Apps (PWA) to create an effective offline experience. ### Understanding objects, prototypes, and classes in JavaScript URL: https://attacomsian.com/blog/objects-prototypes-classes-javascript Published: May 28, 2019, updated Nov 20, 2022 [JavaScript] A detailed introduction to JavaScript objects, prototypes, and classes and how to use them in modern JavaScript development. ### How to get DOM elements using JavaScript URL: https://attacomsian.com/blog/getting-dom-elements-javascript Published: May 21, 2019, updated Oct 31, 2022 [JavaScript] Learn what Document Object Model (DOM) is in JavaScript and how to use JavaScript to access different nodes (HTML elements) in the DOM. ### Understanding JSON.parse() and JSON.stringify() URL: https://attacomsian.com/blog/json-parse-stringify Published: May 19, 2019, updated Oct 3, 2022 [JSON, JavaScript] 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. ### Introduction to Map object in JavaScript URL: https://attacomsian.com/blog/maps-javascript Published: May 17, 2019, updated Jun 7, 2023 [JavaScript] A quick introduction to ES6's newest data type Map and how to a collection of key-value pairs in JavaScript. ### Introduction to Set object in JavaScript URL: https://attacomsian.com/blog/sets-javascript Published: May 16, 2019, updated Oct 8, 2022 [JavaScript] An introduction to ES6's newest data type Set and how to use it to create a collection of unique values in JavaScript. ### How to use async/await in JavaScript URL: https://attacomsian.com/blog/async-await-javascript Published: May 14, 2019, updated Oct 8, 2022 [JavaScript] A detailed article to learn what is async/await and how to use it in JavaScript to write asynchronous code. ### Using Fetch API to make HTTP requests in JavaScript URL: https://attacomsian.com/blog/javascript-fetch-api Published: May 12, 2019, updated Jun 10, 2023 [JavaScript] 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. ### How to use Axios to make HTTP requests in JavaScript URL: https://attacomsian.com/blog/axios-javascript Published: May 11, 2019, updated Oct 5, 2022 [JavaScript] A practical guide to learning how to use the Axios library in JavaScript to make different HTTP requests. ### How to use Promise.all() in JavaScript URL: https://attacomsian.com/blog/promise-all-javascript Published: May 10, 2019, updated Oct 5, 2022 [JavaScript] Learn about the Promise.all() function and how to use it in JavaScript for executing many promises in parallel. ### Introduction to JavaScript Arrow Functions URL: https://attacomsian.com/blog/javascript-arrow-functions Published: May 9, 2019, updated Oct 5, 2022 [JavaScript] Learn what are ES6's arrow functions and how to use them to write concise functions in JavaScript. ### Introduction to Promises in JavaScript URL: https://attacomsian.com/blog/promises-javascript Published: May 7, 2019, updated Oct 4, 2022 [JavaScript] An introduction to Promises in JavaScript and how to use them to write asynchronous code. ### How to reverse a string in JavaScript URL: https://attacomsian.com/blog/string-reverse-javascript Published: May 6, 2019, updated Oct 4, 2022 [JavaScript] Learn how to reverse a string in JavaScript using built-in methods like split(), reverse(), and join(). ### How to capitalize the first letter of a string in JavaScript URL: https://attacomsian.com/blog/string-capitalize-javascript Published: May 5, 2019, updated Sep 30, 2022 [JavaScript] A quick article to learn how to capitalize the first letter of a string using charAt() and slice() functions in JavaScript. ### How to Display Desktop Notifications using JavaScript URL: https://attacomsian.com/blog/desktop-notifications-javascript Published: May 3, 2019, updated Oct 4, 2022 [JavaScript] An introductory guide to learning how to use the JavaScript Notifications API to show desktop notifications. ### How to replace all occurrences of a string in JavaScript URL: https://attacomsian.com/blog/string-replace-javascript Published: May 2, 2019, updated Oct 4, 2022 [JavaScript] Learn how to use the replace() and replaceAll() methods to replace all occurrences of a string in a text using JavaScript. ### How to make HTTP Requests using Needle in Node.js URL: https://attacomsian.com/blog/http-requests-needle Published: May 1, 2019, updated Oct 1, 2022 [Node.js] A detailed article to learn how to make different HTTP requests using Needle module in Node.js. ### Introduction to JavaScript Regular Expressions URL: https://attacomsian.com/blog/javascript-regular-expressions Published: Apr 27, 2019, updated Oct 22, 2022 [JavaScript] An introduction to JavaScript regular expressions and how to use them to perform pattern-matching and search-replace functions on strings. ### How to check if a string contains a substring in JavaScript URL: https://attacomsian.com/blog/ways-to-check-string-contains-substring-javascript Published: Apr 24, 2019, updated Oct 4, 2022 [JavaScript] A practical guide to learning about six different methods to check if a string contains a substring in JavaScript. ### How to create and read cookies in Spring Boot URL: https://attacomsian.com/blog/cookies-spring-boot Published: Apr 24, 2019, updated Sep 25, 2022 [Spring Boot] A complete guide to learning how to read, write, and delete cookies in a Spring Boot web application. ### How to change the default Java version on Ubuntu URL: https://attacomsian.com/blog/change-default-java-version-ubuntu Published: Apr 17, 2019, updated Feb 18, 2020 [Java, Ubuntu, DevOps] A short guide to change the default Java version on a Ubuntu machine. ### How to serve static resources in Express URL: https://attacomsian.com/blog/static-resources-express Published: Apr 10, 2019, updated Oct 1, 2022 [Node.js, Express.js] A quick article to learn how to serve static resources in a Node.js and Express.js web application. ### How to Make HTTP Requests using Axios in Node.js URL: https://attacomsian.com/blog/http-requests-axios Published: Apr 2, 2019, updated Sep 30, 2022 [Node.js, JavaScript] 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. ### How to upload files in Node.js and Express URL: https://attacomsian.com/blog/uploading-files-nodejs-express Published: Mar 31, 2019, updated Jul 25, 2023 [Node.js, Express.js] A comprehensive guide to learning how to upload single and multiple files in Node.js. ### Upgrade Ubuntu 18.10 to 19.04 Disco Dingo URL: https://attacomsian.com/blog/upgrade-ubuntu-19-04-dicso-dingo Published: Mar 29, 2019, updated Apr 14, 2019 [Ubuntu, DevOps] ### Upgrade Ubuntu 18.04 to 18.10 Cosmic Cuttlefish URL: https://attacomsian.com/blog/upgrade-ubuntu-18-04-to-18-10-cosmic-cuttlefish Published: Mar 28, 2019, updated Mar 30, 2019 [Ubuntu, DevOps] ### How to export & download data as a CSV file in Spring Boot URL: https://attacomsian.com/blog/export-download-data-csv-file-spring-boot Published: Mar 27, 2019, updated Sep 24, 2022 [Java, Spring Boot, CSV] A detailed guide to learning how to export and download data as a CSV file in a Spring Boot application. ### Add Deep Anchor Links to Your Blog using JavaScript URL: https://attacomsian.com/blog/deep-anchor-links-javascript Published: Mar 25, 2019, updated Oct 3, 2022 [JavaScript, jQuery] A quick guide to learn how to add deep anchor links to your blog using JavaScript. ### Upload and download files using Spring Boot REST API URL: https://attacomsian.com/blog/uploading-files-spring-boot Published: Mar 21, 2019, updated Sep 27, 2022 [Spring Boot, Thymeleaf, RESTful] A comprehensive guide to learning how to upload, save, and download files through Spring boot REST API. ### How to parse XML response in Spring Boot URL: https://attacomsian.com/blog/parsing-xml-response-spring-boot Published: Mar 17, 2019, updated Sep 27, 2022 [Spring Boot, RESTful, XML] A comprehensive guide on learning how to parse the XML response returned by web services in Spring Boot. ### Accepting credit card payments with Stripe in Spring Boot URL: https://attacomsian.com/blog/stripe-integration-with-spring-boot Published: Mar 11, 2019, updated Sep 27, 2022 [Spring Boot, Thymeleaf, RESTful] A step-by-step guide on learning how to integrate the Stripe payment processor with Spring Boot to accept online payments. ### A guide to type conversion in Java URL: https://attacomsian.com/blog/data-type-conversions-java Published: Mar 10, 2019, updated Oct 29, 2022 [Java] 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. ### How to create a Spring Boot console application URL: https://attacomsian.com/blog/spring-boot-console-application Published: Mar 10, 2019, updated Sep 28, 2022 [Spring Boot] A quick article to learn how to create a Spring Boot console application. ### How to parse JSON data in Spring Boot URL: https://attacomsian.com/blog/processing-json-spring-boot Published: Mar 9, 2019, updated Sep 28, 2022 [Spring Boot, JSON, Jackson] A comprehensive guide to learning how to parse, read, and write JSON in a Spring Boot application. ### How to export PostgreSQL table data as JSON URL: https://attacomsian.com/blog/export-postgresql-table-data-json Published: Feb 6, 2019, updated Oct 3, 2022 [JSON, PostgresSQL] A step-by-step guide to learning how to export PostgreSQL database table data as a JSON file. ### Spring Boot Thymeleaf Pagination URL: https://attacomsian.com/blog/spring-boot-thymeleaf-pagination Published: Jan 30, 2019, updated Sep 28, 2022 [Spring Boot, Thymeleaf] A short guide to learn how to implement pagination in a Spring Boot and Thymeleaf web application. ### How to send emails using Amazon SES in Node.js URL: https://attacomsian.com/blog/amazon-ses-integration-nodejs Published: Jan 28, 2019, updated Sep 29, 2022 [Node.js, Amazon Web Services] A practical guide to learn how to use Amazon Simple Email Service (SES) to send emails in Node.js. ### How to make HTTP requests in Node.js URL: https://attacomsian.com/blog/http-requests-in-nodejs Published: Jan 25, 2019, updated Nov 12, 2022 [Node.js, Express.js] 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. ### Upgrade Debian 8 Jessie to Debian 9 Stretch URL: https://attacomsian.com/blog/upgrade-debian-8-Jessie-to-debian-9-stretch Published: Jan 12, 2019, updated Nov 18, 2019 [Debian, DevOps] ### How to fix Tomcat 8 slow start issue URL: https://attacomsian.com/blog/fix-tomcat-8-slow-start Published: Jan 10, 2019, updated Oct 7, 2022 [DevOps] Learn how to fix the Tomcat 8 slow start issue using the Haveged open-source library. --- ## 2018 (5 articles) ### Setup White-Label Name Servers using AWS Route 53 URL: https://attacomsian.com/blog/setup-white-label-name-servers-aws-route-53 Published: Oct 24, 2018, updated Oct 7, 2022 [Amazon Web Services] A step-by-step guide to learning how to setup and use white-label name servers using AWS Route 53. ### Serverless Application with Express.js using AWS Lambda and Claudia.js URL: https://attacomsian.com/blog/express-js-aws-lambda-claudia-serverless-app Published: Oct 23, 2018, updated Oct 1, 2022 [Node.js, Express.js, Amazon Web Services] A practical guide on learning how to create an deploy a serverless application written in Express.js using AWS Lamda and Cloudia.js. ### Spring Boot & IntelliJ IDEA: Auto reload Thymeleaf templates without restart URL: https://attacomsian.com/blog/spring-boot-auto-reload-thymeleaf-templates Published: Oct 17, 2018, updated Sep 28, 2022 [Spring Boot, Thymeleaf, Gulp] A detailed article to learn how to auto-reload Thymeleaf templates without restarting the Spring Boot application in IntelliJ IDEA. ### How to smooth scroll to a page section with jQuery URL: https://attacomsian.com/blog/smooth-scroll-page-section-jquery Published: Sep 15, 2018, updated Oct 3, 2022 [JavaScript, jQuery] Learn how to use JavaScript jQuery library to smooth scroll to different sections of a web page. ### How to send emails using Amazon SES in Spring Boot URL: https://attacomsian.com/blog/amazon-ses-integration-with-spring-boot Published: Aug 24, 2018, updated Sep 29, 2022 [Spring Boot, Amazon Web Services] A detailed guide to learning how to use Amazon Simple Email Service (SES) for sending transactional emails in Spring Boot.