Skip to content

Instantly share code, notes, and snippets.

View moeen-mahmud's full-sized avatar
:octocat:
E X P L O R I N G

Moeen Mahmud moeen-mahmud

:octocat:
E X P L O R I N G
View GitHub Profile
@josephmilla
josephmilla / git-buffer-size
Created June 20, 2014 15:27
Increase git buffer size
git config http.postBuffer 524288000 #Set to 500MB
@d2s
d2s / installing-node-with-nvm.md
Last active July 4, 2025 04:54
Installing Node.js to Linux & macOS & WSL with nvm

Installing Node.js with nvm to Linux & macOS & WSL

A quick guide on how to setup Node.js development environment.

Install nvm for managing Node.js versions

nvm allows installing several versions of Node.js to the same system. Sometimes applications require a certain versions of Node.js to work. Having the flexibility of using specific versions can help.

  1. Open new Terminal window.
@justincbagley
justincbagley / How_to_Convert_Markdown_to_PDF.md
Last active August 7, 2025 07:32
How To Convert Markdown to PDF

How to convert markdown to PDF:

This post reviews several methods for converting a Markdown (.md) formatted file to PDF, from UNIX or Linux machines.

Using Pandoc:

$ pandoc How_I_got_svg-resizer_working_on_Mac_OSX.md -s -o test1.pdf
@mudge
mudge / use-debounce.js
Last active August 10, 2024 20:58
A custom React Hook for a debounced click handler with a given callback and delay.
/*
* Inspired by Dan Abramov's "Making setInterval Declarative with React Hooks",
* this is a custom hook for debouncing a callback (e.g. for click handlers) such
* that a callback will not be fired until some delay has passed since the last click.
* The callback will automatically be updated with the latest props and state on every
* render meaning that users don't need to worry about stale information being used.
*
* See https://overreacted.io/making-setinterval-declarative-with-react-hooks/ for the
* original inspiration.
*/
@DuvanVilladiego
DuvanVilladiego / pinnedRepositories
Last active January 9, 2024 17:07
Github graphql Api pinned repositories
//Get data from the Github GraphQl api
async function get_repo() {
try {
fetch('https://api.github.com/graphql', {
method: 'post',
headers: {
Authorization: `key,
'Content-Type': 'application/json'
},
body: JSON.stringify({
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active August 19, 2025 14:40
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.