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 / ContextCmder-Disable.reg
Created January 31, 2020 17:29 — forked from jojobyte/ContextCmder-Disable.reg
Cmder Context (Right-Click) Menu for Windows 7, 8 & 10
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]
@aburaihan-dev
aburaihan-dev / PowerShell Customization.md
Created January 21, 2020 11:06 — forked from jchandra74/PowerShell Customization.md
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

@aburaihan-dev
aburaihan-dev / PowerShell Customization.md
Created January 21, 2020 11:05 — forked from ronokdev/PowerShell Customization.md
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

@aburaihan-dev
aburaihan-dev / download-file.js
Created December 20, 2018 06:07 — forked from javilobo8/download-file.js
Download files with AJAX (axios)
axios({
url: 'http://localhost:5000/static/example.pdf',
method: 'GET',
responseType: 'blob', // important
}).then((response) => {
const url = window.URL.createObjectURL(new Blob([response.data]));
const link = document.createElement('a');
link.href = url;
link.setAttribute('download', 'file.pdf');
document.body.appendChild(link);
@aburaihan-dev
aburaihan-dev / default.conf
Created September 30, 2018 14:22
NGiNX Configuration for Vue-Router in HTML5 Mode
server {
listen 80 default_server;
listen [::]:80 default_server;
root /your/root/path;
index index.html;
server_name you.server.com;
:: Disable SELinux ‼️ 🔴🔴🔴
1. check selinux status → sestatus
2. RUN → vi /etc/sysconfig/selinux
3. SELINUX=disabled
4. reboot the server → reboot now
5. Check status again → sestatus 👓
😐 Now Install Asterisk →
:: wget https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-14-current.tar.gz
@aburaihan-dev
aburaihan-dev / LICENCE SUBLIME TEXT
Created July 30, 2018 10:39
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 -----
@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 -----
@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