Commands

Jul 6, 2020 10:25 pm
The new windows terminal

The new windows terminal

Microsoft finally have something replacing the cmd.exe and the PowerShell app, it is call Windows Terminal I like it the most because it's tab features, and you can add your favorite command line program to it, below example I added git-bash shell to Windows Terminal,...

read more
Ubuntu server backup script

Ubuntu server backup script

Backup script backup.sh #!/bin/bash #################################### # # Backup to NFS mount script. # #################################### # What to backup. backup_files="/home /var/spool/mail /etc /root /boot /opt" # Where to backup to. dest="/mnt/backup" #...

read more
Docker – get start guide

Docker – get start guide

Docker – get start guide I’ve discover the love for python language, I’ve tried django route but I think is too complicated for beginning of programming python, then I’ve discover flask, is much simpleper to develop small apps quickly, I’ve try to develop simple...

read more
git with existing folder

git with existing folder

To initialization the project with existing folder [php] git init git add . git commit -m 'message' git remote add origin git push -u origin master [/php] Git refusing to merge unrelated histories on rebase [php] git pull origin master --allow-unrelated-histories...

read more
SQLite3 Database cheatsheet

SQLite3 Database cheatsheet

For me SQLite can quickly mock-up a database project, it can be run within any program and with any programming language, it does not rely on any rational database management system, it can run directly from the terminal and it uses binary file to store data. First,...

read more

System Temp files cleanup script

Script @echo off echo System is cleaning up temp files, please wait… del /f /s /q %systemdrive%*.tmp del /f /s /q %systemdrive%*._mp del /f /s /q %systemdrive%*.log del /f /s /q %systemdrive%*.gid del /f /s /q %systemdrive%*.chk del /f /s /q %systemdrive%*.old del /f...

read more