NodeJS for beginners

Some keywords that you must find out if you want to learn nodejs: promise, asynchronous, callback, callback hell, eslint, ES6, functional programming, parameter as function.
IDE: Visual Studio Code (free), IntelliJ (license), Eclipse, Atom, sublime text, ….
These libraries that I used to use: npm, yarn, eslint, async, fs, lodash, expressJS, node-fetch, nconf, mongoosejs, graphql, react, redux , jsdoc, rimraf, husky
xml parser : sax, saxpath, xml2js.

If you’re similar ES6, you will learn Stream in Java 8 quickly.
Example: Find max multiples of 3 in array
nodejs

import { filter, max } from 'lodash';

const array = [99, 5, 4, 10, 8, 6, 33, 12, 45, 63];
console.log(max(filter(array, item => item % 3 == 0)));

java

int[] array = {99, 5, 4, 10, 8, 6, 33, 12, 45, 63};
Arrays.stream(array).filter(item -> item % 3 == 0).reduce(Integer::max).ifPresent(System.out::println);

Vietnamese initialisation for the jQuery UI date picker plugin


1
2 $(function() {
3
4 $.datepicker.regional['vi'] = {
5 closeText: 'Đóng',
6 prevText: '<Trước',
7 nextText: 'Tiếp>',
8 currentText: 'Hôm nay',
9 monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
10 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],
11 monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6',
12 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'],
13 dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
14 dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
15 dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
16 weekHeader: 'Tu',
17 dateFormat: 'dd/mm/yy',
18 firstDay: 0,
19 isRTL: false,
20 showMonthAfterYear: false,
21 yearSuffix: ''};
22 $.datepicker.setDefaults($.datepicker.regional['vi']);
23 $("#datepicker").datepicker();
24 });
25
26
27

Source: http://project.websitebaker2.org/browser/branches/2.8.x/wb/include/jquery/i18n/jquery.ui.datepicker-vi.js?rev=1332