git branch --merged | grep -v \* | xargs
git branch --merged | grep -v \* | xargs git branch -D
==> Can use imperative or declarative paradigms and is very flexible. | |
==> First-class functions (treat functions as variables, passing a function into another function); | |
powerful; allows for functional programming. | |
==> Dyanmically-type language: no data type definitions, known at runtime and can be automatically changed | |
==> Concurrency model is JS handling multiple tasks at the same time. | |
==> Event Loops manage the Single-Thread (executed one task at a time) by taking long running tasks, | |
executing them in the background, then placing them back in the thread when finished. The Event Loop | |
prevent non-blocking behavior | |
================================================= Destructuring Arrays ================================================= | |
Declare multiple variables at the same time on the left side > const arr = [1, 2, 3]; | |
> const [a, b, c] = arr; | |
> console.log({a}, {b}, {c}); | |
{a: 1} {b: 2} {c: 3} | |
const restaurant = { | |
name: 'Classico Italiano', | |
location: 'Via Angelo Tavanti 23, Firenze, Italy', |
const restaurant = { | |
name: 'Classico Italiano', | |
location: 'Via Angelo Tavanti 23, Firenze, Italy', | |
categories: ['Italian', 'Pizzeria', 'Vegetarian', 'Organic'], | |
starterMenu: ['Focaccia', 'Bruschetta', 'Garlic Bread', 'Caprese Salad'], | |
mainMenu: ['Pizza', 'Pasta', 'Risotto'], | |
openingHours: { | |
thu: { | |
open: 12, | |
close: 22, |
# All geos, all languages
language IN ["in", "en", "gb", "da", "nl", "fi", "fr", "de", "it", "ja", "ko", "no", "pt-br", "ru", "es", "sv", "tr", "zh-tw"]
# Do NOT include Portuguese
language != "pt-br"
# English-only
language IN ["en", "gb"]
Deleting multiple repos via command line interface in the terminal using a script (for organizations); saving hours of time if you have a large supply of repos to delete. Note if you are doing this for an individual user profile, you will need to adjust the script slightly.
curl -H "Authorization: Bearer $PAT_ID" https://api.github.com/repos/<Organization-Name>/<repo-name>
Deleting and archiving repos via command line interface in the terminal using a script (for organizations); accelerating the time spent on the task if you have a large supply of repos to manage. Note if you are doing this for an individual user profile, you will need to adjust the script slightly.
curl -H "Authorization: Bearer $PAT_ID" https://api.github.com/repos//
name | about | title | labels | assignees |
---|---|---|---|---|
Personal Task Issue Template |
Prompt details of personal task issue |
🌸-personal-task |
Create a .github/ISSUE_TEMPLATE at the root of your repository
This list is curated to help you get started thinking of ways to implement burnout prevention or identify what you are actively working on. You can edit this list to fit your needs.
Implement clear boundaries between work and personal life
Set specific work hours and stick to them
Practice daily mindfulness or meditation
#####High Level (user-facing) Design Requirements