Skip to content

Instantly share code, notes, and snippets.

View alwaisy's full-sized avatar

Awais alwaisy alwaisy

View GitHub Profile
.mt-0, .my-0, .m-0 {
margin-top: 0rem;
}
.pt-0, .py-0, .p-0 {
padding-top: 0rem;
}
.mb-0, .my-0, .m-0 {
margin-bottom: 0rem;
@leodutra
leodutra / -setup-windows-wsl-devenv.md
Last active May 13, 2024 18:30
Install and Setup Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font

Setup Windows Subsystem 2 for Linux

Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font

To setup native Linux, see this gist

Preview

Requirements

@leodutra
leodutra / vscode-extensions.bat
Last active April 20, 2024 17:39
My Visual Studio Code Extensions for Windows and Linux (vscode ext)
call code --install-extension alefragnani.bookmarks
call code --install-extension amandeepmittal.pug
call code --install-extension amazonwebservices.aws-toolkit-vscode
call code --install-extension angular.ng-template
call code --install-extension bierner.markdown-preview-github-styles
call code --install-extension coenraads.bracket-pair-colorizer-2
call code --install-extension cweijan.vscode-office
call code --install-extension DavidAnson.vscode-markdownlint
call code --install-extension dbaeumer.vscode-eslint
call code --install-extension eamodio.gitlens
@onlurking
onlurking / Ruby and Rails Study Roadmap.md
Created February 25, 2019 23:58
Ruby and Rails Study Roadmap
@qoomon
qoomon / conventional_commit_messages.md
Last active May 21, 2024 08:55
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@amimaro
amimaro / BulmaToggleModal
Last active October 11, 2022 13:06
Toggle Bulma Modal with Angular 5
Toggle Bulma Modal with Angular 5
@jacurtis
jacurtis / _spacing-helpers.scss
Last active April 15, 2024 12:05
SASS Margin and Padding Helpers Loop. Generates .m-t-10 type helper classes.
/*
This .scss loop will create "margin helpers" and "padding helpers" for use in your web projects.
It will generate several classes such as:
.m-r-10 which gives margin-right 10 pixels.
.m-r-15 gives MARGIN to the RIGHT 15 pixels.
.m-t-15 gives MARGIN to the TOP 15 pixels and so on.
.p-b-5 gives PADDING to the BOTTOM of 5 pixels
.p-l-40 gives PADDING to the LEFT of 40 pixels
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active May 20, 2024 20:17
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@lancejpollard
lancejpollard / node-folder-structure-options.md
Created November 28, 2011 01:50
What is your folder-structure preference for a large-scale Node.js project?

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin