Skip to content

Instantly share code, notes, and snippets.

View aburaihan-dev's full-sized avatar
🏠
Working from home

Md. Abu Raihan Srabon aburaihan-dev

🏠
Working from home
View GitHub Profile
@aburaihan-dev
aburaihan-dev / OrganizeFiles.sh
Created July 13, 2017 15:14 — forked from towfiqpiash/OrganizeFiles.sh
Run this shell script to organize files into separate folders
#!/bin/bash
folders='Compressed Documents Images Music Programs Videos'
ext_comp="*.zip *.tar.gz"
ext_doc="*.htm* *.php *.txt *.css *.doc* *.pdf *.PDF *.ppt* *.js"
ext_img="*.jp*g *.JPG *.png *.gif"
ext_music="*.mp3 *.aac *.wma"
ext_progrm="*.deb *.exe *.run"
ext_vid="*.mp4 *.mkv *.flv *.avi *.webm *.wmv"
@aburaihan-dev
aburaihan-dev / digitalocean-promo-code-february-march-april-2018.md
Created January 31, 2018 04:51
Digital Ocean Promo Code for February / March / April 2018

Digital Ocean Promo Code for Spring 2018 February / March / April 2018

Save $25 for your Cloud Computing Solution with Digital Ocean.

How to get the Discount?

1.) Use this link to Sign Up and save your first $10.

2.) Enter the Promocode LOWENDBOX when you choose your payment method and get another $15 discount.

@aburaihan-dev
aburaihan-dev / digitalocean-promo-cupon-code-free-trial.md
Created January 31, 2018 04:51
Digital Ocean Coupon Code $35 / 1 Year Free Trial

alt text

Digital Ocean Promo Coupon Code $35 / 1 Year Free Trial

1) Get $35 / $25 / $20 / $10 free DigitalOcean Credit.

2) Get DigitalOcean 1 Year Free Trial.

Steps To Get Free Credit

@aburaihan-dev
aburaihan-dev / Laravel PHP7 LEMP AWS.md
Created February 22, 2018 04:18 — forked from santoshachari/Laravel PHP7 LEMP AWS.md
Laravel 5.x on Ubuntu 16.x, PHP 7.x, Nginx 1.9.x

#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.

Install PHP 7 on Ubuntu

Run the following commands in sequence.

sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
@aburaihan-dev
aburaihan-dev / How to do TCPDUMP
Created July 12, 2018 14:16 — forked from ronokdev/How to do TCPDUMP
How to do TCPDUMP
::: RefUrl
→ https://www.tecmint.com/12-tcpdump-commands-a-network-sniffer-tool/
→ https://linuxtechlab.com/learn-use-tcpdump-command-examples/
→ https://www.thegeekstuff.com/2010/08/tcpdump-command-examples
::: Install TCPdump command → yum install tcpdump
::: To write tcpdump from 'server_A'(eth0) IP to 'server_B'
@aburaihan-dev
aburaihan-dev / GIT fixup
Created July 25, 2018 12:21 — forked from ronokdev/GIT fixup
GIT fixup
::: command → git commit --fixup commit
::: Example ::
IF git log output is ::
commit 654
Author: test <test.test@test.com>
Date: Wed Jul 18 12:25:50 2018 +0600
@aburaihan-dev
aburaihan-dev / Git commit & All Together
Created July 25, 2018 12:23 — forked from ronokdev/Git alias
Git commit & All Together
:: Declear add & commit together in the git Config →
→ git config --global alias.add-commit "!git add -A && git commit" (For Windows)
→ git config --global alias.add-commit '!git add -A && git commit' (Linux)
:: Now Add & Commit together →
→ git add-commit -m "Commit Message"
::: git Alias LIST →
→ git config --global alias.co "checkout"
→ git config --global alias.st "git status"
@aburaihan-dev
aburaihan-dev / sublimetext.txt
Created July 30, 2018 10:38
Sublime Text Licence Key Build 3176
----- BEGIN LICENSE -----
sgbteam
Single User License
EA7E-1153259
8891CBB9 F1513E4F 1A3405C1 A865D53F
115F202E 7B91AB2D 0D2A40ED 352B269B
76E84F0B CD69BFC7 59F2DFEF E267328F
215652A3 E88F9D8F 4C38E3BA 5B2DAAE4
969624E7 DC9CD4D5 717FB40C 1B9738CF
20B3C4F1 E917B5B3 87C38D9C ACCE7DD8
@aburaihan-dev
aburaihan-dev / LICENCE SUBLIME TEXT
Created July 30, 2018 10:39 — forked from ityouknow/LICENCE SUBLIME TEXT
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----