- Back and Forth
- Adds backwards and forwards buttons to the toolbar in VSCode
- https://marketplace.visualstudio.com/items?itemName=nick-rudenko.back-n-forth
- Bracket Pair Colorizer 2
- Colors matching brackets so it's easier to tell which brackets match.
- https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2
- Babel Javascript
- A better syntax highlighter for JavaScript code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: 2010-09-09 | |
Description: EC2 based SSH dev environment for VSCode Remote SSH | |
Parameters: | |
Key: | |
Type: String | |
Description: The name of your amazon EC2 security key | |
Resources: | |
DevEnvironmentSubnet: | |
Type: 'AWS::EC2::Subnet' | |
Properties: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Host @' | |
============================= | |
< Windows Subsystem for Linux > | |
< (Ubuntu >= 20.04) installer > | |
============================= | |
\ | |
\ | |
.--. | |
|o_o | | |
|:_/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useEffect } from 'react'; | |
export default function useAsyncEffect(callback, dependencies) { | |
useEffect(() => { | |
(async() => { | |
return await callback(); | |
})(); | |
}, dependencies); | |
} |
I hereby claim:
- I am bartdorsey on github.
- I am bartdorsey (https://keybase.io/bartdorsey) on keybase.
- I have a public key ASCEQoTmhwrzLjydn4UXu76n0dmQDT3j5-K_6B8fgwx_Awo
To claim this, I am signing this object:
This problem was inspired by a Fun Fun Function video: https://www.youtube.com/watch?v=k7-N8R0-KY4
Write a recursive function makeTree(categories, parent)
that takes an array of
categories objects, each of which have an id
property, and a parent
property and
returns a nested tree of those objects using the parent properties to construct
the tree.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
nginx-proxy: | |
image: 'jc21/nginx-proxy-manager:latest' | |
restart: unless-stopped | |
ports: | |
- '80:80' | |
- '81:81' | |
- '443:443' | |
volumes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream app_servers { | |
server app:4000; | |
} | |
server { | |
listen 80; | |
location / { | |
proxy_pass http://app:4000/; | |
} |
OlderNewer