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 { hot } from 'react-hot-loader/root'; | |
import React from 'react'; | |
import { Home } from './pages/'; | |
const App = () => { | |
return ( | |
<div> | |
<Home /> | |
</div> |
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
# small image to reduce resources | |
FROM golang:alpine as Image | |
ENV DIR = $GOPATH/src/github.com/vickywane/event-server/ | |
WORKDIR $DIR | |
# Git is required for fetching the dependencies. | |
RUN apk update && apk add --no-cache git | |
COPY go.mod go.sum ./ |
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: | |
app: | |
container_name: oasis_container | |
build: . | |
ports: | |
- 4040:4040 | |
restart: on-failure | |
volumes: | |
- api:/usr/src/app/ |
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
Lesson 1 - Iterations | |
- BinaryGap - https://codility.com/demo/results/trainingU2FQPQ-7Y4/ | |
Lesson 2 - Arrays | |
- OddOccurrencesInArray - https://codility.com/demo/results/trainingFN5RVT-XQ4/ | |
- CyclicRotation - https://codility.com/demo/results/trainingSH2W5R-RP5/ | |
Lesson 3 - Time Complexity | |
- FrogJmp - https://codility.com/demo/results/training6KKWUD-BXJ/ | |
- PermMissingElem - https://codility.com/demo/results/training58W4YJ-VHA/ |
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
// Trie.js - JS implementation | |
// https://en.wikipedia.org/wiki/Trie | |
// Inspired by Tpae's implementation | |
// we start with the TrieNode | |
function TrieNode(key) { | |
// the "key" value will be the character in sequence | |
this.key = key; |
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
## Automating cloud workflows using Okteto Actions. | |
### Goal | |
The goal of this article is to give the reader an insight into how Okteto can be programmatically used within the automated Continuous Integration process of an application managed using GitHub Actions. | |
### Article Steps: | |
A brief introduction to Github Actions and the need for an automation process. |