Skip to content

Instantly share code, notes, and snippets.

View vickywane's full-sized avatar
🎯
Break stuff ..... Make Stuff ...

Nwani Victory vickywane

🎯
Break stuff ..... Make Stuff ...
View GitHub Profile
@vickywane
vickywane / app.js
Created May 13, 2020 23:32
Testing github gists for embeding on my blog. Would delete later
import { hot } from 'react-hot-loader/root';
import React from 'react';
import { Home } from './pages/';
const App = () => {
return (
<div>
<Home />
</div>
# 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 ./
version: '3'
services:
app:
container_name: oasis_container
build: .
ports:
- 4040:4040
restart: on-failure
volumes:
- api:/usr/src/app/
@vickywane
vickywane / codility_solutions.txt
Created August 5, 2020 21:36 — forked from lalkmim/codility_solutions.txt
Codility Solutions in JavaScript
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/
@vickywane
vickywane / Trie.js
Last active March 3, 2021 01:38 — forked from tpae/Trie.js
Trie.js - super simple JavaScript implementation
// 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;
@vickywane
vickywane / okteto_github_actions_article_outline
Last active June 10, 2021 10:18
My article outline with Okteto explaining the use of Okteto Actrions within the Workflow build of an application's container managed with Okteto
## 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.