Search content:

 

Genres

Last topics

Linux and Linux Shell Commands
USB Drive

When there's Ubuntu installation disk on USB drive the problem is: - ubuntu usb drive doesnt appear   SOLUTION: 1....
Linux Server

Linux and Linux Shell Commands
Linux frozen

What to do when whole linux is frozen:   - press and hold ALT and Print Screen - then type REISUB   It will...
Linux Server

Linux and Linux Shell Commands
Processor & processes

Get number of processor cores: $ cat /proc/cpuinfo | grep processor | wc -l       &nb...
Linux Server

Linux and Linux Shell Commands
RAM Usage

To track RAM memory usage: $ watch -n 1 free -m   This will refresh info every 1 second.
Linux Server

Linux and Linux Shell Commands
Disk Usage

DISK USAGE # du -a /root | sort -n -r | head -n 5         -prona...
Linux Server

SmartGIT
Start from the command li...

Ubuntu 16/18/20   Start smartgit from the command line due to debug   $ cd /usr/share/smartgit/bin $ ./smartgit
Misc

SmartGIT
Change JAVA version

If we are using newer Java versions for example Java 14 smartgit will not work. Do this:   $ vim ~/.smartgit/smartgit.vmoption...
Misc

NodeJS By Examples
kill all node process

To stop all nodeJS instances on the server use $ killall -9v node
JavaScript

NodeJS By Examples
NVM

Multiple nvm versions. Installation on Ubuntu 16.04 $wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install....
JavaScript

NodeJS By Examples
PM2 on server reboot

This lesson explains how to autostart nodeJS app with PM2 after server reboot.  
JavaScript

NodeJS By Examples
NodeJS Installation on Ce...

Installation - NodeJS on Centos 6.5 1. yum list nodejs
JavaScript

NodeJS By Examples
Centos 7 and NodeJS 6.2.1

1. problem: globally installed npms are not accessible from root and ordinary user #export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin...
JavaScript

MongoDB
Configurations

Configuration   1. cacheS...
Database

MongoDB
Indexes (Full Text Index)

1. Create index db.my_coll.createIndex({url: 1}); // ascending db.my_coll.createIndex({url: -1}); // descending db.my_coll.createIn...
Database

MongoDB
Data files

On ubuntu data files are stored in # ls -al /var/lib/mongodb/     The .0, .1 files are datafiles. Each datafile is...
Database

MongoDB
Copy database

db
Database

MongoDB
CentOS 7 and MongoDB 3.2

AWS EC2 - CentOS 7 MongoDB 3.2.x   REMOTE CONNECTION To be able to connect from remote host and your localhost to the db do...
Database

Async / await
Ostalo

Razno 1. array-serial - Serijsko izvršavanje funkcija 
JavaScript

Async / await
Loops

Loop Najsloženiji način upotrebe async/await je unutar nekakog loop-a for, forEach, ...
JavaScript

Async / await
Nesting

Nesting Ponekad je potrebno ugnjezditi jednu async funkciju unutar druge async funkcije. 1. Nesting 
JavaScript

Async / await
Error Handling

Error handling Upravljanje greškama je moguće na dva načina:a) try-catchb) then-catch 1. try-catch 
JavaScript

Async / await
Class

Class Async/await se može također upotrijebiti i unutar class. 1. Thenable class - then() metoda 
JavaScript

Last 5 tutorials modified