Skip to content

Instantly share code, notes, and snippets.

View danieldelcore's full-sized avatar
🐙
Say hello!

Daniel Del Core danieldelcore

🐙
Say hello!
View GitHub Profile
@itsdouges
itsdouges / importit.sh
Last active May 29, 2023 03:32
How to get Shipit sync working https://github.com/adeira/shipit
# Run this when wanting to import a pr into your repo
# You run it locally from your main branch and then it'll check out a branch locally and sync the commit keeping author/email.
# You then push up and merge whenever then it'll sync to your public repo.
npx monorepo-importit --committer-name=A --committer-email=B --pull-request=https://github.com/adeira/js/pull/1
@jesstelford
jesstelford / event-loop.md
Last active October 16, 2025 15:48
What is the JS Event Loop and Call Stack?

Regular Event Loop

This shows the execution order given JavaScript's Call Stack, Event Loop, and any asynchronous APIs provided in the JS execution environment (in this example; Web APIs in a Browser environment)


Given the code

@tracker1
tracker1 / 01-directory-structure.md
Last active July 15, 2025 15:02
Anatomy of a JavaScript/Node project.

Directory structure for JavaScript/Node Projects

While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.

Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.

Directories

  • lib/ is intended for code that can run as-is
  • src/ is intended for code that needs to be manipulated before it can be used
@zanshin
zanshin / .zshrc
Created August 12, 2011 19:09
My .zshrc file
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#export ZSH_THEME="robbyrussell"
export ZSH_THEME="zanshin"