Coding hacks, notes and cheatsheets for web development, web design, domaining and Linux systems administration.
If you are a Java developer, it is normal to have multiple Java versions installed on your machine to support different build environments.
A large number of mobile apps and websites allow users to upload profile pictures and other files. Therefore, handling files upload is often required while building a REST API with Node.js & Express.
Ubuntu 19.04 Disco Dingo is expected to release next month in April 2019. The key features of new release include GNOME 3.32, Linux kernel 5.0, performance improvements, bug fixes, packages update, and more.
Ubuntu 18.10 Cosmic Cuttlefish was released last year in October. It comes with new GNOME version 3.30, new default theme and icons, faster installation and boot with new compression algorithms, and more.
A Comma-Separated Values (CSV) file is just a simple plain text file that uses a comma as delimiter to separate values. It stores data in tabular format where each row consists of one or more fields and each column represents a specific field.
Deep anchor links, also known as jump links, are useful for allowing users to share direct links to specific parts of the article. They not only create better user experience but are also good for social media sharing and direct linking to different sections of the document.
Handling uploading and downloading files are very common jobs in most of the web applications. Spring Boot provides
MultipartFile interface to handle HTTP multi-part requests for uploading files.
While JSON has become a popular choice for asynchronous communication, XML is still used by large number of companies for data exchange in SOAP web services.
Stripe is one of the most popular cloud-based payment services that allows businesses and freelancers to easily collect payments over the internet. Founded in 2011, Stripe has revolutionized the way payments are accepted online.
Sometimes, we do not need the web component of Spring Boot in our application. To create such a non-web application, the main class must implement
CommandLineRunner interface and override its
JSON is a alternative to XML for interchanging messages between the servers, communicating with RESTful web services, and more.
JSON is a popular lightweight and human-readable format for interchanging data. There are so many open-source libraries available for almost all modern programming languages for parsing and consuming JSON data.
Pagination is widely used to split a large number of data entries into discrete pages, allowing users to easily toggle through data entries.
Amazon SES (Simple Email Service) is a popular cloud-based service for sending transactional and marketing emails. It integrates well with all popular programming languages.
HTTP requests are a core part of the most of the modern languages. It can be challenging for new developers to learn how to make HTTP requests to exchange data.
Debian 9 Stretch comes with a significant amount of new and updated packages as well as a score of packages had been marked obsolete.
If you have installed Tomcat 8 on your linux server and it is taking forever to (re)start, it is not your fault.
Each Amazon Route 53 hosted zone is associated with four name servers, known collectively as a delegation set. By default, the name servers have names like ns-2048.awsdns-64.com. If you want the domain name of your name servers to be the same as the domain name of your hosted zone, for example, ns1.example.com, you can configure white-label name servers, also known as vanity name servers or private name servers.
Express.js has become a go-to HTTP framework for quickly building RESTful web services in Node.js. If you are a Node.js developer or you've built an API in Node.js, it is highly likely that you used Express.js.
Spring Boot is fast becoming a popular choice for building standalone, Spring-based & production-ready web applications, from RESTful APIs to enterprise-scale websites. It offers out-of-the-box features to automatically configure Spring and 3rd-party libraries whenever possible.
For one page templates and websites, it is a common practice to scroll to a page section when clicking on an anchor link.
Amazon Simple Email Service (SES) is a cloud-based email sending service that allows you to add email functionality to any application. Using Amazon SES, you send transactional emails, marketing messages, or any other kind of notification emails to your customers.