netstat -ano | findstr :PORT_NUMBER
taskkill /PID PID /F
Nature's Particle Manager |
#1. Export Database | |
mysqldump --host=YOUR_HOST --port=3306 --default-character-set=utf8 --user=YOUR_USERNAME --protocol=tcp --column-statistics=FALSE --skip-triggers "DB_NAME" | |
#Enter Password | |
#2. Export Database in Zipped Format if your database is too large. | |
mysqldump -h YOUR_HOST --set-gtid-purged=OFF -u YOUR_USERNAME -p DB_NAME | gzip > DB_NAME.sql.gz | |
#Enter Password |
/opt/ejabberd-20.12/bin# ./ejabberdctl registered_users localhost | sed -n '/admin/!p' | xargs -n 1 -I {} bash -c 'sudo ./ejabberdctl unregister {} localhost' |
### | |
###' ejabberd configuration file | |
### | |
### The parameters used in this configuration file are explained at | |
### | |
### https://docs.ejabberd.im/admin/configuration | |
### | |
### The configuration file is written in YAML. | |
### ******************************************************* | |
### ******* !!! WARNING !!! ******* |
var meterConversion = (function() { | |
var mToKm = function(distance) { | |
return parseFloat(distance / 1000); | |
}; | |
var kmToM = function(distance) { | |
return parseFloat(distance * 1000); | |
}; | |
return { | |
mToKm : mToKm, | |
kmToM : kmToM |
<Directory /usr/share/phpmyadmin> | |
Require ip 127.0.0.1 | |
Options FollowSymLinks | |
DirectoryIndex index.php | |
</Directory> |
[ | |
{ | |
"id":1, | |
"slug":"afghanistan", | |
"country":"Afghanistan", | |
"a2_code":"AF", | |
"dial_code":93 | |
}, | |
{ | |
"id":2, |
image: feeni/node-chrome:latest | |
clone: | |
depth: full # SonarCloud scanner needs the full history to assign issues properly | |
definitions: | |
caches: | |
sonar: ~/.sonar/cache # Caching SonarCloud artifacts will speed up your build | |
services: | |
docker: |
var start_date = 'YOUR_START_DATE'; | |
var end_date = 'YOUR_END_DATE'; | |
var today = moment().local().format("YYYY-MM-DD"); | |
var start_date_to_match = moment(start_date).local().format("YYYY-MM-DD"); | |
var end_date_to_match = moment(end_date).local().format("YYYY-MM-DD"); | |
if (moment(today).isBetween(start_date_to_match, end_date_to_match, null, '[]')) { | |
console.log('Current Date is between start and end date'); | |
} else { | |
console.log('Sorry!! Current Date is not between start and end date'); | |
} |