NOTE: Always use Anaconda to create independent new environments for different ML project, like Theano or Tensorflow. Then install Jupyter only in Root/Base environment. Install nb_conda in base environment, to switch kernels from notebook environment. NOTE: If you want to run a Jupyter python kernel in the new environment, you must also install the ipykernel package […]
AMAZON AWS Lightsail T2 Micro Performance VirMach Cloud VPS OpenSSL Performance of VirMach VPS VirMach 1.5 USD paln 256MB 1 Core 10 GB SSD OVH Cloud VPS OpenSSL Performance Test for OVH VPS Speedtest-cli Primary Internet Port Speed from Nearest Server OVH VPS Server 3.5 USD 2Gb 1 Core 20 GB SSD (CPU is excellent, […]
First rotate the logs, using the following command. sudo /etc/cron.daily/logrotate This should rotate the log files (so kern.log becomes kern.log.1); and you can then delete kern.log.1 etc to free up the disk space. Then delete the old log files. sudo find /var/log -type f -name “*.1” -delete If thewre are too many old archived log […]
Awesome Electronics (Original at GitHub) A curated list of awesome resources for electronic engineers and hobbyists Electronic engineering (EE) is the practice of understanding, designing and building electronic circuits. It is often differentiated from electrical engineering in that it mostly deals with low power DC electronic circuits rather than high power AC systems but there […]
Open Electronics (Original at GitHub) Great Resources for Electronics Enthusiasts and Hardware Hackers Index Books Communities Magazines Podcasts Softwares Video Tutorials and Courses Websites Miscellaneous Other Great Resources awesome-electronics EEVblog Electronics Resource Wiki Open Circuits Books Getting Started in Electronics by Forrest Mims The Art of Electronics by Paul Horowitz and Winfield Hill Make: Electronics […]
Why do it at all? Well, from my experience a VPS, even if its a cheap one, running as a virtual machine in the cloud, offers better performance than a shared web server as offered by the countless companies. Because your resources are only being used by you, whereas, the shared web server is stuffed […]
Use Notepad++ Write the script (Text Document) Change the file type from Windows (CR LF) to Unix(LF) . In Notepad++ In the third tab from bottom Right Corner, right click and select Unix(LF) . After uploading the file to server ensure proper file ownership using chown and proper file permissions using chmod .
Just edit the /etc/crontab file and be done with it.
tar -cvpzf backup.tar.gz –exclude=/backup.tar.gz –exclude=/root/grive –exclude=/proc –exclude=/tmp –exclude=/mnt –exclude=/dev –exclude=/sys –exclude=/run –exclude=/media –exclude=/var/cache/apt/archives –exclude=/usr/src/linux-headers* / This will create an archive containing most directories and files of the whole system, excluding the ones specified. The parameters are -c: create a archieve file -v: verbose mode, i.e. prints out everything on the terminal -p: maintains permissions -z: […]
Create a New Batch File with the following: @echo off:: variablesset onedrive=”C:\Users\Debashish\OneDrive\NIT-Lab-Desktop”::set googledrive=”C:\Users\Debashish\Google Drive\NIT-Lab-Desktop”set backupcmd=xcopy /s /c /d /e /h /i /r /y echo ### Backing up My Documents To Google Drive…%backupcmd% “%USERPROFILE%\Documents” “C:\Users\Debashish\Google Drive\NIT-Lab-Desktop\Documents”echo ### Backing up My Desktop To Google Drive…%backupcmd% “%USERPROFILE%\Desktop” “C:\Users\Debashish\Google Drive\NIT-Lab-Desktop\Desktop” echo ### Backing up My Documents To Microsoft One […]