Add VUE syntax highlighting support to Sublime Text 3

While the Sublime Text 3 editor can handle with the common web development languages (HTML / JS / CSS / PHP / etc), in order to add a syntax highlighting support for VUE, you may need to add a plugin to the Sublime Text 3 editor. vue-syntax-highlight The stages to highlighting VUE in Sublime Text … Continue reading Add VUE syntax highlighting support to Sublime Text 3

Install Sublime Text 3 on Ubuntu / Debian

Sublime text is my favorite code editor. This editor can handle easily with HTML / Java Script / CSS / PHP and any other web development language. While installing the Sublime Text 3 on windows is easy, on linux you can install it using the above command lines: # Download the Sublime Text 3 wget … Continue reading Install Sublime Text 3 on Ubuntu / Debian

Change Webmin Password Ubuntu / Debian

After the installation of Webmin was finished, you may want to enter to the Webmin tool front page with the default user name (root in many cases) and your password. If you don’t know the password or Webmin not allows you to enter to your account, you can change the password with command prompt. This … Continue reading Change Webmin Password Ubuntu / Debian

Install Webmin – Bash Script

What is ‘Webmin’? Wikipedia said that Webmin is: Webmin is a web-based system configuration tool for Unix-like systems, although recent versions can also be installed and run on Windows. With it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open … Continue reading Install Webmin – Bash Script

install LAMP+ (Nginx, PHP7, MySQL, ImageMagick, curl, zip, php-mbstring, GIT, Composer)

What is ‘LAMP’? Wikipedia said that LAMP is: LAMP is an archetypal model of web service stacks, named as an acronym of the names of its original four open-source components: the Linux operating system, the Apache HTTP Server, the MySQL relational database management system (RDBMS), and the PHP programming language. The LAMP components are largely … Continue reading install LAMP+ (Nginx, PHP7, MySQL, ImageMagick, curl, zip, php-mbstring, GIT, Composer)

Install Sudo On Linux Debian (jessie)

What is ‘sudo’? Wikipedia said that sudo is: sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser. It originally stood for “superuser do” as the older versions of sudo were designed to run commands only as the superuser. … Continue reading Install Sudo On Linux Debian (jessie)

Loop through all the options in select HTML using JS

In some cases you need to loop thru all options in the select HTML component. This code demonstrate how to do it:   var select = document.getElementById(“Market”); for(i = 0; i < select.options.length; i++) { //Display the option value console.log(select.options[i].value); //Display the option text console.log(select.options[i].text); }