This file contains hidden or 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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: tutorial-node-api-k8s | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| name: tutorial-node-api-k8s | |
| template: |
This file contains hidden or 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
| skill | category | exp | competency | lastUse | |
|---|---|---|---|---|---|
| Node JS | Backend | 8 | 10 | 2021 | |
| Type Script | Javascript | 3 | 8 | 2021 | |
| Nest JS | Backend | 1 | 7 | 2019 | |
| Jest | Testing | 3 | 9 | 2020 | |
| Chai | Testing | 4.2 | 8 | 2018 |
This file contains hidden or 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
| const express = require("express"); | |
| const fs = require("fs"); | |
| const path = require("path"); | |
| const app = express(); | |
| const port = 3001; | |
| app.get("/skills", (req, res) => { | |
| fs.readFile( | |
| path.join(__dirname, "/skills.csv"), |
This file contains hidden or 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
| FROM node:14-alpine | |
| WORKDIR /app | |
| COPY package.json . | |
| RUN yarn | |
| COPY . . |
This file contains hidden or 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
| const express = require("express"); | |
| const fs = require("fs"); | |
| const path = require("path"); | |
| const app = express(); | |
| const port = 3001; | |
| app.get("/skills", (req, res) => { | |
| fs.readFile( | |
| path.join(__dirname, "/skills.csv"), |
This file contains hidden or 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
| <head> | |
| ... | |
| <title>John Doe's CV</title> | |
| <link rel="shortcut icon" type="image/x-icon" href="favicon.ico?" /> | |
| ... | |
| </head> |
This file contains hidden or 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
| // IJK | |
| const popupIJK = document.getElementById("popupIJK"); | |
| document.getElementById("prjIJK").onclick = () => show(popupIJK); | |
| document.getElementById("closePopupIJK").onclick = () => close(popupIJK); | |
| window.onclick = (event) => { | |
| switch (event.target) { | |
| ... | |
| case popupIJK: |
This file contains hidden or 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
| <!-- Popup IJK--> | |
| <div id="popupIJK" class="popup"> | |
| <div class="popup-content"> | |
| <div class="container"> | |
| <div id="closePopupIJK" class="close">×</div> | |
| <div class="youtube-video-container"> | |
| <iframe | |
| width="560" | |
| height="315" | |
| src="https://www.youtube.com/embed/GUJ9gLOiP-Q" |
This file contains hidden or 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
| <!-- Popup DEF Bank with PDF--> | |
| <div id="popupDEF" class="popup"> | |
| <div class="popup-content"> | |
| <div class="container"> | |
| <div id="closePopupDEF" class="close">×</div> | |
| <embed | |
| src="files/def-pitchdeck.pdf#toolbar=0&navpanes=0&scrollbar=0" | |
| type="application/pdf" | |
| width="100%" | |
| height="600px" |
This file contains hidden or 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
| function switchTab(tab, selected, color) { | |
| var contents = document.getElementsByClassName("tabContent"); | |
| for (var i = 0; i < contents.length; i++) { | |
| close(contents[i]); | |
| } | |
| var buttons = document.getElementsByClassName("tabButton"); | |
| for (var i = 0; i < buttons.length; i++) { | |
| changeColor(buttons[i], ""); | |
| } |