diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..522ac7c --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,25 @@ +# Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + +FROM mcr.microsoft.com/vscode/devcontainers/universal:linux as builder +USER root + +# Magic DNS in a container where /etc/resolv.conf is a bind mount needed +# extra support, currently on a development branch. +WORKDIR /go/src/tailscale +COPY . ./ +RUN git clone https://github.com/tailscale/tailscale.git && cd tailscale && \ + go mod download && \ + go install -mod=readonly ./cmd/tailscaled ./cmd/tailscale +COPY . ./ + +FROM mcr.microsoft.com/vscode/devcontainers/universal:linux +USER root + +RUN apt-get update && apt-get install -y curl gpg dnsutils +COPY tailscaled /etc/init.d +COPY --from=builder /go/bin/tailscaled /usr/sbin/tailscaled +COPY --from=builder /go/bin/tailscale /usr/bin/tailscale + +RUN mkdir -p /var/run/tailscale /var/cache/tailscale /var/lib/tailscale diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..2246889 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,7 @@ +{ + "name": "Tailscale-enabled Codespace", + "dockerFile": "Dockerfile", + "context": "..", + "runArgs": [ "--cap-add=NET_ADMIN", "--cap-add=NET_RAW", "--device=/dev/net/tun" ], + "postStartCommand": "/etc/init.d/tailscaled start", +} diff --git a/.github/workflows/action.yaml b/.github/workflows/action.yaml index 176d692..dfb6d9b 100644 --- a/.github/workflows/action.yaml +++ b/.github/workflows/action.yaml @@ -5,50 +5,49 @@ name: Generate Snake # Controls when the action will run. This action runs every 6 hours. on: - schedule: - # every 6 hours - - cron: "0 */3 * * *" + schedule: + # every 6 hours + - cron: "0 */3 * * *" -# This command allows us to run the Action automatically from the Actions tab. - workflow_dispatch: + # This command allows us to run the Action automatically from the Actions tab. + workflow_dispatch: # The sequence of runs in this workflow: jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - - # Checks repo under $GITHUB_WORKSHOP, so your job can access it - - uses: actions/checkout@v2 - - # Generates the snake - - uses: Platane/snk@master - id: snake-gif - with: - github_user_name: mishmanners - # these next 2 lines generate the files on a branch called "output". This keeps the main branch from cluttering up. - gif_out_path: dist/github-contribution-grid-snake.gif - svg_out_path: dist/github-contribution-grid-snake.svg - - # show the status of the build. Makes it easier for debugging (if there's any issues). - - run: git status - - # Push the changes - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: master - force: true - - - uses: crazy-max/ghaction-github-pages@v2.1.3 - with: - # the output branch we mentioned above - target_branch: output - build_dir: dist - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks repo under $GITHUB_WORKSHOP, so your job can access it + - uses: actions/checkout@main + + # Generates the snake + - uses: Platane/snk@main + id: snake-gif + with: + github_user_name: nooobcoder + # these next 2 lines generate the files on a branch called "output". This keeps the main branch from cluttering up. + gif_out_path: github-contribution-grid-snake.gif + svg_out_path: github-contribution-grid-snake.svg + + # show the status of the build. Makes it easier for debugging (if there's any issues). + - run: git status + + # Push the changes + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: master + force: true + + - uses: crazy-max/ghaction-github-pages@v2.1.3 + with: + # the output branch we mentioned above + target_branch: output + build_dir: dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/devcard.yaml b/.github/workflows/devcard.yaml new file mode 100644 index 0000000..7d4e9a6 --- /dev/null +++ b/.github/workflows/devcard.yaml @@ -0,0 +1,21 @@ +# Name of the github action +name: devcard_nooobcoder +permissions: + contents: write + +on: + workflow_dispatch: + push: + branches: + - master + schedule: + - cron: '0 0/3 * * *' + +jobs: + devcard_nooobcoder: + runs-on: ubuntu-latest + steps: + - name: gendevcard + uses: dailydotdev/action-devcard@2.0.2 + with: + devcard_id: ${{ secrets.DEVCARD_ID }} diff --git a/.github/workflows/wakastats.yaml b/.github/workflows/wakastats.yaml new file mode 100644 index 0000000..349f7dc --- /dev/null +++ b/.github/workflows/wakastats.yaml @@ -0,0 +1,18 @@ +name: Waka Readme + +on: + schedule: + # Runs at 12am IST + - cron: "30 18 * * *" + workflow_dispatch: +jobs: + update-readme: + name: Update Readme with Metrics + runs-on: ubuntu-latest + steps: + - uses: anmol098/waka-readme-stats@master + with: + WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} + LOCALE: "False" + SYMBOL_VERSION: 2 diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000..136098e --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,28 @@ +# Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + +FROM gitpod/workspace-full:latest + +USER root + +RUN curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.gpg | sudo apt-key add - \ + && curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.list | sudo tee /etc/apt/sources.list.d/tailscale.list \ + && apt-get update \ + && apt-get install -y tailscale +RUN sh -c "$(curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg)" +RUN sh -c "echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null" +RUN bash -c "sudo apt update" +RUN bash -c "sudo apt install gh -y" +USER gitpod +RUN sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +ENV SHELL=zsh +RUN echo "alias gits='git status'" >> $HOME/.zshrc +RUN echo "alias ls='ls -GFh'" >> $HOME/.zshrc +ENV NVM_DIR="$HOME/.nvm" +RUN echo ". ~/.nvm/nvm.sh" >> $HOME/.zshrc +RUN sed -i 's/plugins=(git)/plugins=(git npm docker-compose docker)/' $HOME/.zshrc +RUN git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k +RUN sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="powerlevel10k\/powerlevel10k"/' $HOME/.zshrc +RUN wget https://gist.githubusercontent.com/nooobcoder/d8f728b999329c4edf563cd378d0398c/raw/.p10k.zsh -O $HOME/.p10k.zsh +RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> $HOME/.zshrc diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..bc68874 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,134 @@ +image: + file: .gitpod.Dockerfile +tasks: + - name: tailscaled + command: | + if [ -n "${TS_STATE_TAILSCALE_EXAMPLE}" ]; then + # restore the tailscale state from gitpod user's env vars + sudo mkdir -p /var/lib/tailscale + echo "${TS_STATE_TAILSCALE_EXAMPLE}" | sudo tee /var/lib/tailscale/tailscaled.state > /dev/null + fi + sudo tailscaled + - name: Tailscale + command: | + sudo -E tailscale up --hostname "gitpod@nooobcoder-${GITPOD_WORKSPACE_ID}" \ + --authkey "${TAILSCALE_AUTHKEY}" + - name: ImportGPG + command: > + [[ ! -z $GNUPG_KEY ]] && + gpg --verbose --batch --import <(echo $GNUPG_KEY|base64 -d) && + echo 'pinentry-mode loopback' >> ~/.gnupg/gpg.conf && + git config commit.gpgsign true +vscode: + extensions: + - mutantdino.resourcemonitor + - cweijan.vscode-mysql-client2 + - Gruntfuggly.todo-tree + - jsDelivr.jsdelivr + - manuth.eslint-language-service + - markwylde.vscode-filesize + - mongodb.mongodb-vscode + - monokai.theme-monokai-pro-vscode + - ngryman.codesandbox-theme + - njzy.stats-bar + - pflannery.vscode-versionlens + - rangav.vscode-thunder-client + - redwan-hossain.auto-rename-tag-clone + - tombonnike.vscode-status-bar-format-toggle + - vlanguage.vscode-vlang + - vscjava.vscode-spring-initializr + - zaaack.markdown-editor + - aaron-bond.better-comments + - ahmadawais.shades-of-purple + - apollographql.vscode-apollo + - avraammavridis.vsc-react-documentation + - bengreenier.vscode-node-readme + - benjaminbenais.codesandbox-dark + - bierner.color-info + - bradlc.vscode-tailwindcss + - bungcip.better-toml + - chris-noring.node-snippets + - christian-kohler.npm-intellisense + - christian-kohler.path-intellisense + - chrmarti.regex + - CodeSandbox-io.codesandbox-projects + - CodeSandbox-io.codesandbox-projects-theme + - cssho.vscode-svgviewer + - DaltonMenezes.aura-theme + - Dart-Code.dart-code + - Dart-Code.flutter + - dbaeumer.vscode-eslint + - docsmsft.docs-markdown + - docsmsft.docs-preview + - DominicVonk.parameter-hints + - dsznajder.es7-react-js-snippets + - eamodio.gitlens + - ecmel.vscode-html-css + - EditorConfig.EditorConfig + - eg2.vscode-npm-script + - esbenp.prettier-vscode + - evan-buss.font-switcher + - formulahendry.auto-rename-tag + - geeebe.duplicate + - GitHub.codespaces + - GitHub.copilot-labs + - GitHub.copilot-nightly + - GitHub.github-vscode-theme + - GitHub.vscode-pull-request-github + - gitpod.gitpod-desktop + - golang.go + - GraphQL.vscode-graphql + - hashicorp.terraform + - hollowtree.vue-snippets + - jcbuisson.vue + - jeff-hykin.better-cpp-syntax + - k--kato.intellij-idea-keybindings + - me-dutour-mathieu.vscode-github-actions + - mechatroner.rainbow-csv + - mikestead.dotenv + - ms-python.python + - ms-python.vscode-pylance + - ms-toolsai.jupyter + - ms-toolsai.jupyter-keymap + - ms-vscode-remote.remote-containers + - ms-vscode-remote.remote-ssh + - ms-vscode-remote.remote-ssh-edit + - ms-vscode-remote.remote-wsl + - ms-vscode-remote.vscode-remote-extensionpack + - ms-vscode.cmake-tools + - ms-vscode.cpptools + - ms-vscode.cpptools-extension-pack + - ms-vscode.cpptools-themes + - ms-vscode.js-debug-nightly + - ms-vscode.vscode-typescript-next + - ms-vscode.vscode-typescript-tslint-plugin + - ms-vsliveshare.vsliveshare + - ms-vsliveshare.vsliveshare-audio + - ms-vsliveshare.vsliveshare-pack + - naumovs.color-highlight + - oderwat.indent-rainbow + - PKief.material-icon-theme + - pranaygp.vscode-css-peek + - Prisma.prisma + - Prisma.prisma-insider + - redhat.java + - redhat.vscode-xml + - redhat.vscode-yaml + - ritwickdey.LiveServer + - sdras.night-owl + - silvenon.mdx + - steoates.autoimport + - tgreen7.vs-code-node-require + - tomoki1207.selectline-statusbar + - twxs.cmake + - usernamehw.errorlens + - VisualStudioExptTeam.vscodeintellicode + - vscjava.vscode-java-debug + - vscjava.vscode-java-dependency + - vscjava.vscode-java-pack + - vscjava.vscode-java-test + - vscjava.vscode-maven + - vscode-icons-team.vscode-icons + - wix.vscode-import-cost + - xabikos.JavaScriptSnippets + - Zignd.html-css-class-completion diff --git a/README.md b/README.md index 0b55bf0..b5c09fe 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -[![nooobcoder, I am the guy, who loves logarithmic run times.](https://pimp-my-readme.webapp.io/pimp-my-readme/wavy-banner?subtitle=I%20am%20the%20guy%2C%20who%20loves%20logarithmic%20run%20times.&title=nooobcoder)]() +

Ankur Paul's devcard

+nooobcoder's Dev Card + +--- + +[![@nooobcoder's Holopin board](https://holopin.io/api/user/board?user=nooobcoder)](https://holopin.io/@nooobcoder) --- @@ -15,14 +20,97 @@ [![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=nooobcoder&layout=compact&theme=radical)](https://github.com/nooobcoder/) -[![JavaScript_Python_Java_NodeJS_GoLang_MongoDB_AWS_ReactJS_zsh](https://pimp-my-readme.webapp.io/pimp-my-readme/technology?technology=JavaScript_Golang_Python_Java_NodeJS_GoLang_MongoDB_AWS_ReactJS_zsh)]() - ![Ankur's contribution graph](https://activity-graph.herokuapp.com/graph?username=nooobcoder&hide_border=true&bg_color=0D1117&color=58A6FF&line=58A6FF&point=1F6FEB&area=true&custom_title=Contribution%20Graph) + +![Code Time](http://img.shields.io/badge/Code%20Time-87%20hrs%2058%20mins-blue) + +![Profile Views](http://img.shields.io/badge/Profile%20Views-0-blue) + +**🐱 My GitHub Data** + +> 🏆 6 Contributions in the Year 2023 + > +> 📦 755.5 kB Used in GitHub's Storage + > +> 💼 Opted to Hire + > +> 📜 54 Public Repositories + > +> 🔑 21 Private Repositories + > +**I'm an Early 🐤** + +```text +🌞 Morning 303 commits ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 38.50 % +🌆 Daytime 234 commits ⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 29.73 % +🌃 Evening 227 commits ⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 28.84 % +🌙 Night 23 commits ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 02.92 % + +``` +📅 **I'm Most Productive on Friday** + +```text +Monday 93 commits ⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 11.82 % +Tuesday 130 commits ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 16.52 % +Wednesday 100 commits ⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 12.71 % +Thursday 128 commits ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 16.26 % +Friday 137 commits ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 17.41 % +Saturday 77 commits ⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 09.78 % +Sunday 122 commits ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 15.50 % + +``` + + +📊 **This Week I Spent My Time On** + +```text +⌚︎ Time Zone: Asia/Kolkata + +💬 Programming Languages: +TypeScript 3 hrs 40 mins ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀ 91.39 % +JavaScript 8 mins ⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 03.56 % +CSS 6 mins ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 02.57 % +C# 5 mins ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 02.07 % +JSON 0 secs ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 00.41 % + +🔥 Editors: +VS Code 4 hrs 1 min ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ 100.00 % + +🐱‍💻 Projects: +project-poc 4 hrs 1 min ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ 100.00 % + +💻 Operating System: +Windows 4 hrs 1 min ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ 100.00 % + +``` + +**I Mostly Code in JavaScript** + +```text +JavaScript 10 repos ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 18.52 % +Java 9 repos ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 16.67 % +Shell 9 repos ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 16.67 % +Python 5 repos ⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 09.26 % +TypeScript 4 repos ⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ 07.41 % + +``` + + +**Timeline** + +![Chart not found](https://raw.githubusercontent.com/nooobcoder/nooobcoder/master/charts/bar_graph.png) + + + Last Updated on 16/02/2023 18:47:51 UTC + + ## 🗂️ Highlight Projects [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=nooobcoder&repo=CoWinTracker&theme=shades-of-purple)](https://github.com/nooobcoder/CoWinTracker) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=nooobcoder&repo=HighRadiusTraining&theme=shades-of-purple)](https://github.com/nooobcoder/HighRadiusTraining/) + [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=nooobcoder&repo=ReactJSCourseUpdate&theme=shades-of-purple)](https://github.com/nooobcoder/ReactJSCourseUpdate) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=nooobcoder&repo=LPUProductBasedPathwayTest&theme=shades-of-purple)](https://github.com/nooobcoder/LPUProductBasedPathwayTest) @@ -100,64 +188,6 @@ const ankurpaul = { --- -![Lines of code](https://img.shields.io/badge/From%20Hello%20World%20I%27ve%20Written-1.5%20million%20lines%20of%20code-blue) - -**🐱 My Github Data** - -> 🏆 418 Contributions in the Year 2020 -> -> 📦 5MB Used in Github's Storage -> -> 💼 Opted to Hire -> -> 📜 53 Public Repositories -> -> 🔑 22 Private Repositories -> -> **I'm an Early 🐤** - -```text -🌞 Morning 56 commits ██░░░░░░░░░░░░░░░░░░░░░░░ 11.22% -🌆 Daytime 207 commits ██████████░░░░░░░░░░░░░░░ 41.48% -🌃 Evening 156 commits ███████░░░░░░░░░░░░░░░░░░ 31.26% -🌙 Night 80 commits ████░░░░░░░░░░░░░░░░░░░░░ 16.03% - -``` - -📅 **I'm Most Productive on Sunday** - -```text -Monday 51 commits ██░░░░░░░░░░░░░░░░░░░░░░░ 10.22% -Tuesday 49 commits ██░░░░░░░░░░░░░░░░░░░░░░░ 9.82% -Wednesday 66 commits ███░░░░░░░░░░░░░░░░░░░░░░ 13.23% -Thursday 79 commits ████░░░░░░░░░░░░░░░░░░░░░ 15.83% -Friday 65 commits ███░░░░░░░░░░░░░░░░░░░░░░ 13.03% -Saturday 67 commits ███░░░░░░░░░░░░░░░░░░░░░░ 13.43% -Sunday 122 commits ██████░░░░░░░░░░░░░░░░░░░ 24.45% -``` - -📊 **This Week I Spent My Time On** - -```text -⌚︎ Time Zone: Asia/Kolkata - -💬 Programming Languages: -JavaScript 7 hrs 44 mins ██████████░░░░░░░░░░░░░░░ 43.26% -C++ 4 hrs 15 mins ██████░░░░░░░░░░░░░░░░░░░ 23.78% -Python 4 hrs █████░░░░░░░░░░░░░░░░░░░░ 22.46% -JSON 39 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 3.69% -PHP 37 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 3.5% - -🔥 Editors: -WebStorm 4 hrs 44 mins ██████░░░░░░░░░░░░░░░░░░░ 26.52% -CLion 4 hrs 15 mins ██████░░░░░░░░░░░░░░░░░░░ 23.78% -PyCharm 50 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 4.75% -DataGrip 18 mins ░░░░░░░░░░░░░░░░░░░░░░░░░ 1.68% - -💻 Operating System: -Ubuntu 17 hrs 52 mins █████████████████████████ 100.0% -``` - [![Resume-logo](https://pixelartmaker-data-78746291193.nyc3.digitaloceanspaces.com/image/1e4ed6ace0977ce.png)](https://resumebucket-nooobcoder.s3.ap-south-1.amazonaws.com/Ankur+Paul+CV+Latest.pdf) [![Spotify Profile](https://spotify-github-profile.vercel.app/api/view?uid=31aqzbpl3gugod2ky5ngvvps2xdi&cover_image=true&theme=default)](https://open.spotify.com/user/31aqzbpl3gugod2ky5ngvvps2xdi) diff --git a/charts/bar_graph.png b/charts/bar_graph.png new file mode 100644 index 0000000..8ea782f Binary files /dev/null and b/charts/bar_graph.png differ diff --git a/devcard.svg b/devcard.svg new file mode 100644 index 0000000..2549979 --- /dev/null +++ b/devcard.svg @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + , + + , + + , + + + + + Favorite publications + + + + + + + + + + Tech News + + + 78 + + , + + + + + + Javascript + + + 76 + + , + + + + + + React + + + 71 + + , + + + + + + Devtools + + + 60 + + + + + + 1.1K + + + Articles read + + + + + + + + + + @nooobcoder + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tailscaled b/tailscaled new file mode 100644 index 0000000..625093a --- /dev/null +++ b/tailscaled @@ -0,0 +1,59 @@ +#!/bin/sh + +### BEGIN INIT INFO +# Provides: tailscaled +# Required-Start: +# Required-Stop: +# Default-Start: +# Default-Stop: +# Short-Description: Tailscale Mesh Wireguard VPN +### END INIT INFO + +set -e + +# /etc/init.d/tailscale: start and stop the Tailscale VPN service + +test -x /usr/sbin/tailscaled || exit 0 + +umask 022 + +. /lib/lsb/init-functions + +# Are we running from init? +run_by_init() { + ([ "$previous" ] && [ "$runlevel" ]) || [ "$runlevel" = S ] +} + +export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" + +case "$1" in + start) + log_daemon_msg "Starting Tailscale VPN" "tailscaled" || true + if start-stop-daemon --start --quiet --oknodo --chuid 0:0 --pidfile /run/tailscaled.pid --background \ + --exec /usr/sbin/tailscaled -- --state=/var/lib/tailscale/tailscaled.state \ + --socket=/run/tailscale/tailscaled.sock --port 41641; then + tailscale up --authkey=${TAILSCALE_AUTHKEY} --netfilter-mode=off + log_end_msg 0 || true + else + log_end_msg 1 || true + fi + ;; + stop) + log_daemon_msg "Stopping Tailscale VPN" "tailscaled" || true + if start-stop-daemon --stop --quiet --oknodo --pidfile /run/tailscaled.pid --exec /usr/sbin/tailscaled; then + log_end_msg 0 || true + else + log_end_msg 1 || true + fi + ;; + + status) + status_of_proc -p /run/tailscaled.pid /usr/sbin/tailscaled tailscaled && exit 0 || exit $? + ;; + + *) + log_action_msg "Usage: /etc/init.d/tailscaled {start|stop|status}" || true + exit 1 +esac + +exit 0