Posts

windows 11 startup

  Quick Setup via Startup Folder Since the desktop app doesn't always appear in the standard Windows "Startup Apps" list, use this manual method:  Find the ComfyUI Shortcut : Locate the "ComfyUI" icon on your desktop that was created during installation. If you can't find it: Search for "ComfyUI" in the Start menu, right-click it, and select Open file location . Open the Startup Folder : Press Win + R on your keyboard, type shell:startup , and click OK . Add the Shortcut : Copy your ComfyUI desktop shortcut and paste it into the folder that just opened.   put nginx and comfyui

iis server window not showing only started in task bar windows 11

  In a command prompt:  C:\Windows\System32\inetsrv\Inetmgr.exe /reset This problem occurs when I open IIS Manager and when I have two monitors, and then later try to open it again over RDP with only one monitor. Using this reset command fixes it for me. This works on RDP sessions which do not preview the window from the taskbar and thus cannot perform Abhijeet's steps.

The Intel(R) Storage Middleware Service service terminated unexpectedly. It has done this 1 time(s).

Image
 The Intel(R) Storage Middleware Service service terminated unexpectedly. It has done this 1 time(s). system freeze Yes, this service terminating unexpectedly is a known cause of system freezes and crashes.  The Intel(R) Storage Middleware Service (also known as RstMwService.exe) acts as a bridge between your storage drivers and the management interface. When it fails, it can cause the following stability issues:  Complete System Hangs: The crash can interfere with the storage controller's communication with your drives, causing the entire OS to stop responding. Latency Spikes: Systems using the Intel RST VMD driver (like yours shown in Device Manager) can experience significant latency spikes and brief freezes, especially if there is a version mismatch. Sleep/Wake Failures: The service is known to crash specifically when the computer attempts to enter or wake from sleep mode. 100% Disk Usage: A malfunctioning storage service can cause SSD usage to spike to 100% while tra...

CUDA error: no kernel image is available for execution on the device

Image
 CUDA error: no kernel image is available for execution on the device fixed it by deleting environment variables in windows deleted all python paths deleted cuda paths Especially older ones with 12.4 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4 fixed it make sure you delete from both user variables and system variables

mongodb backuscript

systemctl start mongod systemctl start mongod  #Add the following line to run the backup daily at 2:00 AM: 0 2 * * * /home/sas/mongo_backup.sh #!/bin/bash # MongoDB Daily Backup Script # Place in /home/sas/mongo_backup.sh and make executable # ------------------------------ # CONFIGURATION # ------------------------------ BACKUP_DIR="/usr/src/mongodb"                # Base backup directory RETENTION_DAYS=7                             # Keep backups for 7 days MONGODUMP_CMD="mongodump"                     # Path to mongodump (if not in $PATH) LOG_FILE="/var/log/mongo_backup.log"          # Log file TIMESTAMP=$(date +"%Y%m%d_%H%M%S")            # Timestamp for this backup BACKUP_PATH="$BACKUP_DIR/$TIMESTAMP"          # Full backup path # ...

drushti copy backup

/backup_script/INDIA/ /weeklybackup/INDIA/ Your find should look like that to avoid sending directory names to sed: find ./ -type f -exec sed -i -e 's/apple/orange/g' {} \; find ./ -type f -exec sed -i -e 's/192.227.112.108/162.19.155.118/g' {} \; #!/bin/sh Date1=`date +%d-%m-%Y` T1=`date +%H-%M` rsync -avz  --password-file=/backup_script/for_144  -u  root@162.19.155.118::home/ /Backup2/INDIA/162.19.155.118/DAILY/home/ > /backup_script/INDIA/162.19.155.118/logs/home.log  2>&1 T2=`date +%H-%M` echo "START : " $T1  >> /backup_script/INDIA/162.19.155.118/logs/home.log echo "END : " $T2  >> /backup_script/INDIA/162.19.155.118/logs/home.logcd .. /backup_script/INDIA/162.19.155.118/daily-ador-vps.sh /weeklybackup/INDIA/162.19.155.118/weekly-ador-vps.sh ################Ador vps 118########################### 22 23 * * 1,2,3,4,5,6 /bin/sh /backup_script/INDIA/162.19.155.118/daily-ador-vps.sh 30 23 * * 7 /bin/sh /weeklybackup/INDIA/162.1...

mysql installed but command not found

 mysql installed but command not found export PATH=$PATH:/usr/local/mysql/bin  export PATH=$PATH:/usr/local/mysql/bin/mysqldump