Somewhere, Something Incredible Is Waiting To Be Known !!!
(Move to ...)
Home
▼
Friday, 22 February 2019
compare two different paragraph line by line in Python
›
from difflib import HtmlDiff text_A= """ 1) line number 1 2) line number 2 3) line number n """ text...
Thursday, 21 February 2019
compare two different files line by line in Python
›
import difflib from difflib import HtmlDiff with open('show_run_SW-VSS_2019-02-05.txt') as f1: f1_text = f1.read() with ...
Tuesday, 19 February 2019
mongo db query ( group , aggregate ) to fetch latest network backup
›
db.backup.aggregate({$unwind: '$backupDoc'},{$match: { "backupDoc.status": "success" }},{$group: {"_id...
Saturday, 9 February 2019
Checking Firewall Status and Stopping Firewall in centos
›
[root@DSCenWeb01 ~]# sudo firewall-cmd --state running [root@DSCenWeb01 ~]# sudo systemctl stop firewalld
Friday, 8 February 2019
Celery Beat To Schedule Multiple Tasks
›
CELERY_BROKER_URL = 'redis://localhost:6379' CELERY_RESULT_BACKEND = 'redis://localhost:6379' CELERY_ACCEPT_CONTENT = ...
Thursday, 7 February 2019
SCP to Copy all files inside a directory from remote linux host using sshpass
›
"sshpass -p '<password>' scp -r root@<remoteIP>:<sourcepath> <destinationpath>"
Django Celery task to copy file from remote host using SCP and SSHPASS
›
@task() def copyBkpFromJenkinstoDjango(): ip = '' port = "" username = "" pa...
‹
›
Home
View web version