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
@lalkmim
lalkmim / codility_solutions.txt
Last active March 21, 2024 10:34
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/
@tpae
tpae / Trie.js
Created November 20, 2016 23:49
Trie.js - super simple JavaScript implementation
// Trie.js - super simple JS implementation
// https://en.wikipedia.org/wiki/Trie
// -----------------------------------------
// we start with the TrieNode
function TrieNode(key) {
// the "key" value will be the character in sequence
this.key = key;
@tristansokol
tristansokol / index.js
Created October 21, 2017 18:41
mongodb - google cloud functions write example
exports.helloWorld = function helloWorld(req, res) {
//Connect to MongoDB Atlas
var MongoClient = require('mongodb').MongoClient;
var uri = "mongodb://user:pass@cluster0-shard-00-00-6chsu.mongodb.net:27017,cluster-shard-00-01-6chsu.mongodb.net:27017,cluster-shard-00-02-6chsu.mongodb.net:27017/test?ssl=true&replicaSet=Cluster-shard-0&authSource=admin";
MongoClient.connect(uri, function(err, db) {
//check for connection errors
if (err) res.status(400).send(err);
//Read the data from the incoming request & add it to an object to insert
var message = req.body.message;

I bundled these up into groups and wrote some thoughts about why I ask them!

If these helped you, I'd love to hear about it!! I'm on twitter @vcarl_ or send me an email carl.vitullo@gmail.com

Onboarding and the workplace

https://blog.vcarl.com/interview-questions-onboarding-workplace/

  • How long will it take to deploy my first change? To become productive? To understand the codebase?
  • What kind of equipment will I be provided? Will the company pay/reimburse me if I want something specific?
@jorlugaqui
jorlugaqui / api_integration_tests.yml
Created August 8, 2020 19:28
Github CI Workflow for integration tests
name: CI - Integration Test
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]