Skip to content

Commit cc56035

Browse files
committed
idk
0 parents  commit cc56035

File tree

3,852 files changed

+1592749
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,852 files changed

+1592749
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
2+
# Use of this source code is governed by a BSD-style
3+
# license that can be found in the LICENSE file.
4+
5+
FROM mcr.microsoft.com/vscode/devcontainers/universal:linux as builder
6+
USER root
7+
8+
# Magic DNS in a container where /etc/resolv.conf is a bind mount needed
9+
# extra support, currently on a development branch.
10+
WORKDIR /go/src/tailscale
11+
COPY . ./
12+
RUN git clone https://github.com/tailscale/tailscale.git && cd tailscale && \
13+
go mod download && \
14+
go install -mod=readonly ./cmd/tailscaled ./cmd/tailscale
15+
COPY . ./
16+
17+
FROM mcr.microsoft.com/vscode/devcontainers/universal:linux
18+
USER root
19+
20+
RUN apt-get update && apt-get install -y curl gpg dnsutils
21+
COPY tailscaled /etc/init.d
22+
COPY --from=builder /go/bin/tailscaled /usr/sbin/tailscaled
23+
COPY --from=builder /go/bin/tailscale /usr/bin/tailscale
24+
25+
RUN mkdir -p /var/run/tailscale /var/cache/tailscale /var/lib/tailscale

.devcontainer/devcontainer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "Tailscale-enabled Codespace",
3+
"dockerFile": "Dockerfile",
4+
"context": "..",
5+
"runArgs": [ "--cap-add=NET_ADMIN", "--cap-add=NET_RAW", "--device=/dev/net/tun" ],
6+
"postStartCommand": "/etc/init.d/tailscaled start",
7+
}

.github/workflows/diagram.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Create diagram
2+
on:
3+
workflow_dispatch: {}
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
get_data:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@master
13+
- name: Update diagram
14+
uses: githubocto/repo-visualizer@main
15+
with:
16+
excluded_paths: "ignore,.github,.netlify,node_modules,build,public,.next"

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# dependencies
2+
node_modules/
3+
**/node_modules
4+
5+
6+
# production
7+
build/
8+
9+
.cache
10+
.env
11+
.netlify
12+
13+
# misc
14+
.DS_Store
15+
.env.local
16+
.env.development.local
17+
.env.test.local
18+
.env.production.local
19+
remix-blog/prisma/dev.db
20+
21+
# Supabase
22+
**/supabase/.branches
23+
**/supabase/.temp

.gitpod.Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM gitpod/workspace-full
2+
3+
# Install custom tools, runtime, etc.
4+
USER root
5+
RUN apt-get update && apt-get install -y zsh fonts-firacode && apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
6+
7+
RUN curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.gpg | sudo apt-key add - \
8+
&& curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.list | sudo tee /etc/apt/sources.list.d/tailscale.list \
9+
&& apt-get update \
10+
&& apt-get install -y tailscale
11+
12+
USER gitpod
13+
RUN sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
14+
ENV SHELL=zsh
15+
RUN echo "alias gits='git status'" >> $HOME/.zshrc
16+
RUN echo "alias ls='ls -GFh'" >> $HOME/.zshrc
17+
ENV NVM_DIR="$HOME/.nvm"
18+
RUN echo ". ~/.nvm/nvm.sh" >> $HOME/.zshrc
19+
RUN sed -i 's/plugins=(git)/plugins=(git npm docker-compose docker)/' $HOME/.zshrc
20+
RUN git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
21+
RUN sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="powerlevel10k\/powerlevel10k"/' $HOME/.zshrc
22+
RUN wget https://gist.githubusercontent.com/nooobcoder/d8f728b999329c4edf563cd378d0398c/raw/.p10k.zsh -O $HOME/.p10k.zsh
23+
RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> $HOME/.zshrc

.gitpod.yml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
tasks:
4+
- name: tailscaled
5+
command: |
6+
if [ -n "${TS_STATE_TAILSCALE_EXAMPLE}" ]; then
7+
# restore the tailscale state from gitpod user's env vars
8+
sudo mkdir -p /var/lib/tailscale
9+
echo "${TS_STATE_TAILSCALE_EXAMPLE}" | sudo tee /var/lib/tailscale/tailscaled.state > /dev/null
10+
fi
11+
sudo tailscaled
12+
- name: tailscale
13+
command: |
14+
sudo -E tailscale up --ssh --hostname "gitpod@nooobcoder-${GITPOD_WORKSPACE_ID}" \
15+
--authkey "${TAILSCALE_AUTHKEY}"
16+
- name: Import GPG
17+
init: >
18+
[[ ! -z $GNUPG_KEY ]] &&
19+
gpg --verbose --batch --import <(echo $GNUPG_KEY|base64 -d) &&
20+
echo 'pinentry-mode loopback' >> ~/.gnupg/gpg.conf &&
21+
git config commit.gpgsign true
22+
vscode:
23+
extensions:
24+
- aaron-bond.better-comments
25+
- ahmadawais.shades-of-purple
26+
- avraammavridis.vsc-react-documentation
27+
- bierner.color-info
28+
- bradlc.vscode-tailwindcss
29+
- bungcip.better-toml
30+
- christian-kohler.npm-intellisense
31+
- christian-kohler.path-intellisense
32+
- CodeSandbox-io.codesandbox-projects-theme
33+
- cweijan.vscode-mysql-client2
34+
- DaltonMenezes.aura-theme
35+
- dbaeumer.vscode-eslint
36+
- DominicVonk.parameter-hints
37+
- dsznajder.es7-react-js-snippets
38+
- eamodio.gitlens
39+
- EditorConfig.EditorConfig
40+
- esbenp.prettier-vscode
41+
- GitHub.copilot-nightly
42+
- GitHub.github-vscode-theme
43+
- GitHub.vscode-pull-request-github
44+
- golang.go
45+
- Gruntfuggly.todo-tree
46+
- jsDelivr.jsdelivr
47+
- k--kato.intellij-idea-keybindings
48+
- manuth.eslint-language-service
49+
- markwylde.vscode-filesize
50+
- mechatroner.rainbow-csv
51+
- mikestead.dotenv
52+
- mongodb.mongodb-vscode
53+
- monokai.theme-monokai-pro-vscode
54+
- ms-python.python
55+
- ms-vscode.cpptools
56+
- ms-vsliveshare.vsliveshare-pack
57+
- naumovs.color-highlight
58+
- ngryman.codesandbox-theme
59+
- njzy.stats-bar
60+
- pflannery.vscode-versionlens
61+
- PKief.material-icon-theme
62+
- Prisma.prisma-insider
63+
- rangav.vscode-thunder-client
64+
- redhat.java
65+
- redwan-hossain.auto-rename-tag-clone
66+
- sdras.night-owl
67+
- steoates.autoimport
68+
- tombonnike.vscode-status-bar-format-toggle
69+
- usernamehw.errorlens
70+
- vlanguage.vscode-vlang
71+
- vscjava.vscode-java-debug
72+
- vscjava.vscode-java-dependency
73+
- vscjava.vscode-java-pack
74+
- vscjava.vscode-java-test
75+
- vscjava.vscode-maven
76+
- vscjava.vscode-spring-initializr
77+
- wix.vscode-import-cost
78+
- zaaack.markdown-editor

.idea/.gitignore

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/ReactJSCourseUpdate.iml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[![ReactJS Course - Updated](https://project-card-app.herokuapp.com/project_card/nooobcoder/ReactJSCourseUpdate?theme=violet)](https://github.com/{user}/{repo})
2+
3+
![Visualization of this repo](./diagram.svg)

advanced-redux/.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

advanced-redux/README.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Getting Started with Create React App
2+
3+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4+
5+
## Available Scripts
6+
7+
In the project directory, you can run:
8+
9+
### `yarn start`
10+
11+
Runs the app in the development mode.\
12+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13+
14+
The page will reload if you make edits.\
15+
You will also see any lint errors in the console.
16+
17+
### `yarn test`
18+
19+
Launches the test runner in the interactive watch mode.\
20+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21+
22+
### `yarn build`
23+
24+
Builds the app for production to the `build` folder.\
25+
It correctly bundles React in production mode and optimizes the build for the best performance.
26+
27+
The build is minified and the filenames include the hashes.\
28+
Your app is ready to be deployed!
29+
30+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31+
32+
### `yarn eject`
33+
34+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35+
36+
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37+
38+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
39+
40+
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
41+
42+
## Learn More
43+
44+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45+
46+
To learn React, check out the [React documentation](https://reactjs.org/).
47+
48+
### Code Splitting
49+
50+
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51+
52+
### Analyzing the Bundle Size
53+
54+
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55+
56+
### Making a Progressive Web App
57+
58+
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59+
60+
### Advanced Configuration
61+
62+
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63+
64+
### Deployment
65+
66+
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67+
68+
### `yarn build` fails to minify
69+
70+
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

0 commit comments

Comments
 (0)