Skip to content

Instantly share code, notes, and snippets.

View ronokdev's full-sized avatar
🎯
Focusing

Farhan Fuad Ronok ronokdev

🎯
Focusing
View GitHub Profile
@ronokdev
ronokdev / Git Alias
Created October 29, 2021 14:42
Code For adding Git Alias
[alias]
co = checkout
st = status
cob = checkout -b
logg = log --all --decorate --oneline --graph --stat
l = log --decorate --oneline --pretty=format:\" %cn committed %h on %cd : %s\"
le = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)(%ci) %C(bold blue)<%an>%Creset'
ac = !git add -A && git commit
ca = commit --amend --no-edit
@ronokdev
ronokdev / Vue-hook Life Cycle
Created November 11, 2018 07:37
Vuejs -hook Life Cycle
:: https://vuejs.org/images/lifecycle.png
@ronokdev
ronokdev / PowerShell Customization.md
Created October 29, 2018 05:29 — forked from tanvir86/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.

@ronokdev
ronokdev / URL list
Last active October 15, 2018 08:18
URL list
:: Architecture and Systems Design
→ http://highscalability.com/all-time-favorites/
→ https://www.youtube.com/watch?v=ZgdS0EUmn70
:: Coding Practice
→ https://codepath.com/
:: Uber Engineering
→ https://eng.uber.com/
@ronokdev
ronokdev / Close Tab (Mozila)
Last active October 9, 2018 06:54
Close Tab (Mozila)
:: type → about:config on address bar
:: set 'dom.allow_scripts_to_close_windows' to TRUE (Double Click on 'FALSE')
@ronokdev
ronokdev / Loading GIF
Created October 8, 2018 10:15
Loading GIF
position: absolute;
top: 5;
bottom: 0%;
left: 0;
right: 0%;
background-color: #ffffffa1;
z-index: 99;
padding: 79% 0% 00% 43%;
@ronokdev
ronokdev / Promise | JS
Created September 27, 2018 12:58
Promise | JS
:: RefUrl
→ Documentations :: https://developers.google.com/web/fundamentals/primers/promises
→ udacity :: https://classroom.udacity.com/courses/ud898
→ Online JS editor :: https://playcode.io/126236?tabs=console&script.js&output
@ronokdev
ronokdev / ACTIVITY GRAPH Diagram | OBJECT ORIENTED ANALYSIS AND DESIGN
Last active September 25, 2018 06:37
ACTIVITY GRAPH Diagram | OBJECT ORIENTED ANALYSIS AND DESIGN
:: An activity is a non-atomic task ( task is an non-atomic Activity and used when the work in progress can be broken down to a finer level of detail) or procedure decomposable into actions.
:: An action is a task or procedure that cannot be broken into parts.
:: When to Use Activity Diagram
→ When making a dynamic model of any process.
→ Design processes (what designers do)
→ Designed processes (what designers create)
→ During analysis
→ During resolution (decision)
@ronokdev
ronokdev / Microservices Architecture Pattern
Last active September 24, 2018 12:19
Microservices Architecture Pattern
RefUrl → https://www.oreilly.com/library/view/software-architecture-patterns/9781491971437/ch04.html#idp1166176
@ronokdev
ronokdev / HTTP status codes | REST API
Last active September 24, 2018 10:53
HTTP status codes | REST API
RefURL → https://blog.mwaysolutions.com/2014/06/05/10-best-practices-for-better-restful-api/
:: 200 – OK – Eyerything is working
:: 201 – OK – New resource has been created
:: 204 – OK – The resource was successfully deleted
:: 304 – Not Modified – The client can use cached data
:: 400 – Bad Request – The request was invalid or cannot be served. The exact error should be explained in the error payload. E.g. „The JSON is not valid“
:: 401 – Unauthorized – The request requires an user authentication
:: 403 – Forbidden – The server understood the request, but is refusing it or the access is not allowed.
:: 404 – Not found – There is no resource behind the URI.