This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linux Tips, Tricks and Tweaks | |
How to make your version of Linux even better. | |
1. Decrease Swap File use | |
a) Check "Swappiness": | |
cat /proc/sys/vm/swappiness | |
b) If Swappiness is 60, alter "Swappiness": | |
gksudo xed /etc/sysctl.conf | |
find vm.swappiness |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These are the minimum Browser Extensions that are an excellent idea to install in all your browsers. | |
Although nothing is "foolproof" (as fools are so ingenious) they will help to secure your browser. | |
1. Privacy Badger | |
2. HTTPS Everywhere | |
3. Ad Block Plus (ABP) - Be careful as there are packages with similar names that aren't as good. | |
4. Firefox only: NOSCRIPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing Git | |
Installing Git, the free, open source, distributed, version control system. | |
Note: Read the installation notes on: https://git-scm.com | |
When copying and pasting the code from the git-scm site, please make the following changes: add "sudo" to the beginning change the # to "&& sudo" as shown below: | |
sudo add-apt-repository ppa:git-core/ppa && sudo apt update; apt install git | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing XAMPP | |
How to correctly install XAMPP and check that it installed correctly. Also, how to add the XAMPP control panel to the Menu and Quick Launch Bar on Linux. | |
The commands needed and instructions are shown below: | |
COMMANDS & LINKS: | |
XAMPP : https://www.apachefriends.org/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XAMPP as a Service | |
How to enable and disable XAMPP as a Service on Linux. | |
Create the Service: | |
Create a SymLink: sudo ln -s /opt/lampp/lampp /etc/init.d/lampp | |
Enable the Service: sudo systemctl enable lampp | |
Check which Services are running: systemctl | grep running | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to install Composer Globally - Programming for the Web | |
Are you using Composer and have a separate executable for each project? Do you want to know how to install Composer globally? Yes? Then watch this video. | |
### WINDOWS: | |
Download and run Composer-Setup.exe then reboot. - Simples! | |
### Linux and OSX: | |
This is a bit more complex so see the video: https://youtu.be/MhSLlnJQQyU | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NetBeans is, at the time of writing, in the process of being transfered from Oracle to Apache. Therefore, things ARE GOING TO change and change rapidly. So please check back regularly. | |
See the video : https://youtu.be/1uU9Toj9zXk | |
1. Update your repositories: | |
sudo apt-get update && sudo apt-get upgrade | |
2. Check if you have java installed: | |
which java | |
If java is installed then check the version: | |
java -version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__How to add HTML, PHP and C++ plus other Plugins to Apache NetBeans 9.0 on Windows, MacOS and Linux.__ | |
### COMMANDS & LINKS: ### | |
NetBeans IDE 8.2 Plugin Centre : http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz | |
NetBeans Transition from Oracle: https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition | |
Apache Transition Documentation: https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So, which NetBeans Plugins should you install for PHP and HTML? We look at the ones I've installed. We also look at changing the netbeans.conf file (in the netbeans-8.2/etc directory). We also look at updating the Plugins and how to download a Plugin from the NetBeans Plugin Repository. | |
If you've downloaded and installed just the HTML and PHP version of NetBeans 8.2, which NetBeans Plugins should you install? | |
Here are my recommendations: | |
C/C++ | |
Color Codes Preview | |
ESLint | |
Emmet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Do you need to Create and Update the NetBeans Templates? Creating and Updating NetBeans Templates is very easy and in this video we show you how. | |
NetBeans Template Variables: http://wiki.netbeans.org/FaqTemplateVariables | |
Here are some suggested templates | |
1. Default Licence Template: | |
<#setting locale="en_GB"> | |
<#if licenseFirst??> |