Skip to content

Instantly share code, notes, and snippets.

View DevYunus's full-sized avatar
🎯
Focusing

Yunus Shaikh DevYunus

🎯
Focusing
View GitHub Profile
@DevYunus
DevYunus / PHPStorm.cmd
Created May 6, 2018 03:07
Open with PHP Storm - add PHPStrom in context menu windows 7,8,10
@echo off
:: please change file path according to your installed path
SET PHPStormPath=C:\Program Files\JetBrains\PhpStorm 2018.1.2\bin\phpstorm64.exe
echo Adding file entries
@reg add "HKEY_CLASSES_ROOT\*\shell\PHPStorm" /t REG_SZ /v "" /d "Open with PHPStorm" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\PHPStorm" /t REG_EXPAND_SZ /v "Icon" /d "%PHPStormPath%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\PHPStorm\command" /t REG_SZ /v "" /d "%PHPStormPath% \"%%1\"" /f
@DevYunus
DevYunus / LEMP Server Setup Laravel-Anglar
Last active February 27, 2018 06:10
LEMP-Nginx-PHP7-Laravel-Angular5-PHPFPM Edit
Install Nginx
1- sudo apt-get update
2- sudo apt-get install nginx
3- systemctl status nginx (optional)
4- sudo systemctl start nginx
@DevYunus
DevYunus / install.sh
Created September 14, 2017 09:30
VPS install bash script for Ubuntu 16.04
# =================== YOUR DATA ========================
SERVER_NAME="some-server-name"
SERVER_IP="111.111.11.11"
USER="someuser"
SUDO_PASSWORD="secret-password-one"
MYSQL_ROOT_PASSWORD="secret-password-two"