Lamp Coder

Web development & stuff

Install devilbox on Ubuntu 16.04

The devilbox is a modern and highly customisable LAMP and MEAN stack replacement based purely on docker

Test your website from aws ec2 with artillery

While you are connected to your ec2 instance with SSH: Install node (version 6 at least is required) # install the node version manager curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash # activa

Weeklinks 2018#45

  Optimizing CSS: ID Selectors And Other Mythshttps://www.sitepoint.com/optimizing-css-id-selectors-and-other-myths/ 11 Secrets of Actionable UX Reports

Starting with your 3d printer on Ubuntu

If received your new 3d printer and you wonder how to get or prepare your 3d models these are your next steps.   Install cura, this app will help you to prepare your 3d model ready for printing. su

How to install missing PHP extensions

  Image Processing and Generation sudo apt-get install php7.0-gd  Zip module for PHP sudo apt-get install php7.0-zip  JSON module for PHP

Install firefox manually on Ubuntu

You have downloaded the latest version of firefox from here but you dont know how to use the tar.bz2 file First move to the Downloads directory and unzip the downloaded file

How to Install Nginx server on Ubuntu 16.04

Install Nginx sudo apt-get update sudo apt-get install nginx After installing, the web server should already be running. Check the status systemctl status nginx Stop the web

How to download mp3 from Youtube videos

youtube-dl is a command-line program to download videos from YouTube.com and a few more sites. Download youtube-dl directly s

Send email using SMTP with Amazon Simple Email Service

The AWS documentation has all the steps and a sample code to send an email with using PHPMailer. https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-using-smtp-php.html In the code

Weeklinks 2018#16

Here are examples of everything new in ECMAScript 2016, 2017, and 2018https://medium.freecodecamp.org/here-are-examples-of-everything-new-in-ecmascript-2016-2017-and-2

Set environment variable permanently on Ubuntu

Run the command sudo -H gedit /etc/environment Set the variable like that VARIABLE="value" To take effect the changes you have to logout as user and login again.