How to Sort an Array in Java with Examples

In the tutorial, we will discuss how to Sort an Array with Java in ascending and descending order. java.util.Arrays class provides a lot of Methods to sort an Array with difference types:

  • With Primitives Array, We use the method such as: static void sort(int[] a).
  • With String or Objects Array that implement Comparable, We use method: static void sort(Object[] a).
  • With Custom Object Array that no implement Comparable, We use method: sort(T[] a, Comparator< ? super T> c).

Let’s do more details with Java Array Sorting.

[Continue reading…] “How to Sort an Array in Java with Examples”

Django – How to upload, view, delete file using ModelForm and MySQL

In this tutorial, we’re gonna look at way to upload file in Django using Django ModelForm and save its information to MySQL Database. We also have UI to view list of uploaded items and function to delete specific file.

Related Post: Simple way to upload file in Django

[Continue reading…] “Django – How to upload, view, delete file using ModelForm and MySQL”

Excel File/Data – Nodejs Express RestAPI – Download/Extract Excel(.xlsx) Data/File from MySQL

In the tutorial, Grokonez shows how to download & extract Excel(.xlsx) File/Data from MySQL with Nodejs Express and exceljs lib.

Related posts:
Node.js Extract MySQL Data to Excel(.xlsx) File – using exceljs

[Continue reading…] “Excel File/Data – Nodejs Express RestAPI – Download/Extract Excel(.xlsx) Data/File from MySQL”

CSV File/Data – Nodejs Express RestAPI – Download/Extract CSV Data/File from MySQL

In the tutorial, Grokonez shows how to download & extract CSV File/Data from MySQL with Nodejs Express and json2csv lib.

Related posts:
Node.js Extract MySQL Data to CSV File – using Json2Csv

[Continue reading…] “CSV File/Data – Nodejs Express RestAPI – Download/Extract CSV Data/File from MySQL”

Nodejs Express RestAPI – Upload/Import Excel file/data to MongoDB – using Convert-Excel-to-Json + Multer

In the tutorial, Grokonez shows how to upload & import Excel File/Data to MongoDB using convert-excel-to-json and multer libs.

Related posts:
Node.js Import Excel File to MongoDB – using Convert-Excel-To-Json lib

[Continue reading…] “Nodejs Express RestAPI – Upload/Import Excel file/data to MongoDB – using Convert-Excel-to-Json + Multer”

Nodejs Express RestAPI – Upload/Import CSV file/data to MongoDB – using CsvToJson + Multer

In the tutoria, Grokonez shows how to upload & import CSV File/Data to MongoDB using csvtojson and multer libs.

Related posts:
Node.js Import CSV File to MongoDB – using CsvToJSON

[Continue reading…] “Nodejs Express RestAPI – Upload/Import CSV file/data to MongoDB – using CsvToJson + Multer”

Ways to convert a CSV file to Excel file in Python 3

In this tutorials, we’re gonna look at 4 ways to convert a CSV file to Excel file in Python 3. With each way, we use one of these module: xlwt, xlsxwriter, openpyxl and pandas.

Related Posts:
How to read/write CSV files in Python
How to read/write Excel files in Python
Node.js Extract MySQL Data to Excel(.xlsx) File – using exceljs

[Continue reading…] “Ways to convert a CSV file to Excel file in Python 3”

Nodejs Express RestAPI – Upload/Import Excel File to MySQL – using Read-Excel-File & Multer

In the tutorial, Grokonez shows how to upload & import Excel File/Data to MySQL using read-excel-file and multer libs.

Related post:
Node.js Import Excel File to MySQL – using Read-Excel-File lib

[Continue reading…] “Nodejs Express RestAPI – Upload/Import Excel File to MySQL – using Read-Excel-File & Multer”

Nodejs Express RestAPI – Upload/Import CSV File to MySQL – using Fast-CSV & Multer

In the tutorial, Grokonez shows how to upload & import CSV File/Data to MySQL using fast-csv and multer libs.

Related post:
Node.js Import CSV File to MySQL – using FastCSV

[Continue reading…] “Nodejs Express RestAPI – Upload/Import CSV File to MySQL – using Fast-CSV & Multer”

Ways to convert an Excel file to CSV file in Python 3

In this tutorial, we’re gonna look at 3 ways to convert an Excel file to CSV file in Python 3. With each way, we use one of these module: xlrd, openpyxl and pandas.

Related Posts:
How to read/write CSV files in Python
How to read/write Excel files in Python
Node.js Extract MySQL Data to Excel(.xlsx) File – using exceljs

[Continue reading…] “Ways to convert an Excel file to CSV file in Python 3”

Django RestApis CRUD Application with Angular 6 & PostgreSQL tutorial

In this tutorial, we show you Angular 6 Http Client & Django Server example that uses Django to do CRUD with PostgreSQL (including finder method) and Angular 6 as front-end technology to make request and receive response.

Related Post: Django RestApis example – GET/POST/PUT/DELETE requests to PostgreSQL database

[Continue reading…] “Django RestApis CRUD Application with Angular 6 & PostgreSQL tutorial”