blog Linux Nginx SSH ubuntu

nginx shutdown terminal ssh

sudo shutdown -h now
blog Let's Encrypt Nginx SSH SSL ubuntu

Quick Secure Nginx with Let’s Encrypt on Ubuntu 14.04

cd /opt/letsencrypt
./letsencrypt-auto certonly -a webroot --webroot-path=/usr/share/nginx/html -d -d
sudo ls -l /etc/letsencrypt/live/your_domain_name
sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
sudo ln -s /etc/nginx/sites-available/ /etc/nginx/sites-enabled/

Set Up Auto Renewal

/opt/letsencrypt/letsencrypt-auto renew
Linux Nginx ubuntu

Ubuntu php5-fpm unknown instance

sudo pkill php5-fpm; sudo service php5-fpm start
Elementary OS Linux ubuntu

remove folder and all of its contents – ubuntu

completely remove a folder and all of its contents, including both files and sub folders:


Elementary OS Linux


sudo add-apt-repository ppa:simonschneegans/testing
sudo apt-get update
sudo apt-get install gnome-pie
Elementary OS Linux

dmg file to iso in terminal

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install dmg2img

Once installed, run the following command:

dmg2img <file_name>.dmg

That will convert the .dmg to ,img file in ISO format. Then just run

mv <file_name>.img <file_name>.iso
Elementary OS Linux Video Editor

Kdenlive – best open-source video editor

Kdenlive – a free and open-source video editor for GNU/Linux and FreeBSD

sudo add-apt-repository ppa:sunab/kdenlive-release
sudo apt-get update
sudo apt-get install kdenlive
Elementary OS Linux teamviewer

teamviewer ubuntu

sudo dpkg --add-architecture i386

sudo apt-get update


sudo dpkg -i teamviewer_linux.deb

sudo apt-get install -f
Design Elementary OS gtk+ Linux Theme

Elementry OS Theme Design – Day 1

3 hrs found just some css that really matter to me.


@define-color colorPrimary #fff;



* CSD *

.titlebar {
background-image: linear-gradient(to bottom,
shade (@colorPrimary, 0.95),
shade (@colorPrimary, 0.95)
border-color: shade (@colorPrimary, 0.56);
border-radius: 4px 4px 0 0;
border-style: solid;
border-width: 0 0 1px;

text-shadow: 0 1px alpha (shade (@colorPrimary, 1.4), 0.40);
icon-shadow: 0 1px alpha (shade (@colorPrimary, 1.4), 0.40);

box-shadow: inset 0 0 0 1px alpha (shade (@colorPrimary, 1.4), 0.20),
inset 0 1px 0 0 alpha (shade (@colorPrimary, 1.4), 0.60);

padding: 0 3px;

.titlebar:backdrop {
background-image: linear-gradient(to bottom,
shade (@colorPrimary, 0.96),
shade (@colorPrimary, 0.96)
background-color: shade (@colorPrimary, 1.10);
border-color: shade (@colorPrimary, 0.64);

box-shadow: inset 0 0 0 1px alpha (shade (@colorPrimary, 1.4), 0.40);

-gtk-image-effect: dim;

Linux Sublime Text

Sublime Text 3 Repository

Add the Sublime Text 3 Repository to your Synaptic Package Manager:

 sudo add-apt-repository ppa:webupd8team/sublime-text-3


sudo apt-get update

Install Sublime Text:

sudo apt-get install sublime-text-installer