Skip to content

Instantly share code, notes, and snippets.

View user1m's full-sized avatar

Claudius Mbemba user1m

View GitHub Profile
@user1m
user1m / cmm-tech-privacy-policy.md
Last active June 6, 2019 00:40
cmm-tech-privacy-policy

CMM Tech operates the following skills/actions/capsules (individually refered to as "Service" going forward).

This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.

If you choose to use our Service, then you agree to the collection and use of information in relation with this policy. The Personal Information that we collect are used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, unless otherwise defined in this Privacy Policy.

Information Collection and Use

How to setup AWS lambda function to talk to the internet and VPC

I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.

So it might be really unintuitive at first but lambda functions have three states.

  1. No VPC, where it can talk openly to the web, but can't talk to any of your AWS services.
  2. VPC, the default setting where the lambda function can talk to your AWS services but can't talk to the web.
  3. VPC with NAT, The best of both worlds, AWS services and web.
@user1m
user1m / ethlab.md
Created December 7, 2017 04:11 — forked from esell/ethlab.md
Setup a multi-node private etherum cluster

PRE-REQs

  • VMs should be ubuntu
  • your boot node should have the hostnamne "bootnode".
  • create at least 3 VMs, one boot node, one member node and one miner node

Setup boot node

The boot node will be the brains and what the other nodes talk to in order to find members of your cluster. The below steps will set it up so that you can use it later.

@user1m
user1m / kovan.txt
Created August 13, 2017 21:23
kovan add
0xD5739B59037B738E5500C02b589D86F313DfF139
@user1m
user1m / The Technical Interview Cheat Sheet.md
Created July 21, 2017 18:38 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"listname": "James&Karly",
"accountuuid": "241f706a-3318-11e5-ba13-c30892ec4e71"
"products": [
{
"PartNumber": "041VA57390112P",
"name": "DockersMen'sComfortWaistKhaki, D3 Classic Pleated Pants",
"price": "29.99",
"instock": true,
"img": "http://c.shld.net/rpx/i/s/i/spin/image/spin_prod_494201101",