By editor, 20 April, 2016 Show & Set Date and Time by Command Prompt on Linux Tags Shell Linux To show the Date / Time on Linux date To show the hardware Clock (RTC) on Linux hwclock -r OR hwclock --show OR show time in UTC (Coordinated Universal Time) hwclock --show --utc
By editor, 4 April, 2016 Open URL with name and password (Apache Htaccess, FTP ...) Tags Linux Server PHP Examples with username and password: https://name:pass@yourdomain.com ftp://name:pass@yourdomain.com ​ftp://name:pass@ftp.yourdomain.com ssh name:pass@yourdomain.com Examples with username:
By editor, 4 April, 2016 SSL self signed / Override certificate check Tags Linux Shell PHP SSL/TLS On linux (wget) wget --no-check-certificate https://yourdomain.com wget --no-check-certificate https://name:pass@yourdomain.com On Apache PHP
By editor, 5 January, 2016 GRUNT, The JavaScript Task Runner Tags Shell Linux Windows Install in Windows. Install npm (Node.js) : https://www.npmjs.com/package/npm Install grunt-cli (npm install -g grunt-cli)
By editor, 5 January, 2016 Apache Virtual host configuration Tags Server Linux Windows Host file (Like Local DNS) Unix /Linux : /etc/hosts Windows : C:\WINDOWS\system32\drivers\etc\hosts Example :
By editor, 12 December, 2015 Zip Unzip / Compress Uncompress Archive files on linux Tags Linux Shell Zip and Unzip Files on Linux (With zip and unzip) Ziping files/directories zip file * zip -r file * Unziping files/directories unzip file.zip extract a file unzip file.zip file.doc
By editor, 7 December, 2015 On Linux Mint (Ubuntu/Debian) apt-get install error (404) Tags Linux Probleme 1: No internet connection Probleme 2 : Bad repository sudo rm -r /var/lib/apt/lists sudo mkdir -p /var/lib/apt/lists/partial sudo apt-get clean sudo apt-get update
By editor, 7 December, 2015 Disable PhpMyadmin on Apache serveur Tags Server Linux Shell To disable phpmyadmin module, run followin command ad root or sudo: sudo a2disconf phpmyadmin sudo service apache2 reload OR a2disconf phpmyadmin service apache2 reload
By editor, 16 November, 2015 Linux Shell - Process bulk Images Tags Linux Shell Images Inlinux debian / ubuntu / mint ... 1. Install imagemagick tools (if not installed) # sudo apt-get install imagemagick 2. Process images like : (here resize images to 50%) $ for i in $( ls *.jpg); do convert -resize 50% $i re_$i; done