Skip to content

Instantly share code, notes, and snippets.

View okoye's full-sized avatar
🇳🇬
I may be slow to respond.

Chuka Okoye okoye

🇳🇬
I may be slow to respond.
View GitHub Profile
@okoye
okoye / Dockerfile
Created February 28, 2024 23:49 — forked from ruffsl/Dockerfile
Small ROS Network Example
FROM ros:indigo-ros-base
# install ros tutorials packages
RUN apt-get update && apt-get install -y \
ros-indigo-ros-tutorials \
ros-indigo-common-tutorials \
&& rm -rf /var/lib/apt/lists/
@okoye
okoye / private_fork.md
Created July 1, 2022 19:24 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@okoye
okoye / pipenv_cheat_sheet.md
Created May 13, 2022 15:41 — forked from bradtraversy/pipenv_cheat_sheet.md
Pipenv cheat sheet for common commands

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell
@okoye
okoye / pokemon_names.txt
Created May 11, 2022 11:32
List of all (Up-to gen 7) Pokemon Names
Bulbasaur
Ivysaur
Venusaur
Charmander
Charmeleon
Charizard
Squirtle
Wartortle
Blastoise
Caterpie
@okoye
okoye / iterm2-solarized.md
Created December 12, 2021 10:36 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@okoye
okoye / kafka logs
Created January 16, 2019 00:25
Node discovery
WARNING: Could not determine Java version
[2019-01-15 16:23:59,933] INFO Verbose logging enabled (io.confluent.cloud.Main$BaseCommand)
[2019-01-15 16:23:59,946] INFO Config values:
admin.client.timeout.ms = 5000
bootstrap.servers = [pkc-43xj4.us-east-1.aws.confluent.cloud:9092]
(io.confluent.cloud.Config)
[2019-01-15 16:23:59,958] INFO AdminClientConfig values:
bootstrap.servers = [pkc-43xj4.us-east-1.aws.confluent.cloud:9092]
client.id =
connections.max.idle.ms = 300000
@okoye
okoye / terraform
Created April 10, 2018 06:23
lyft-av-account
~/Desktop/trees/avops/terraform/aws-us-west-2/core   terraform ●  terraform apply
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ aws_s3_bucket.terraform
id: <computed>
@okoye
okoye / iam.yml
Created April 9, 2018 18:10
IAM swagger definition for altus client
swagger: '2.0'
x-endpoint-name: iam
info:
version: 0.1-SNAPSHOT
title: Cloudera IAM Service
license:
name: Apache 2.0
description: Cloudera Altus IAM is a web service that you can use to manage users and user permissions under your Altus account.
schemes:
- https
@okoye
okoye / run1
Created September 22, 2017 05:26
CMCDH Debugging
==> amazon-ebs: Prevalidating AMI Name...
amazon-ebs: Found Image ID: ami-4543be3d
==> amazon-ebs: Creating temporary keypair: packer_59c49ca9-0a3c-2b23-c514-5dd39884a650
==> amazon-ebs: Creating temporary security group for this instance: packer_59c49cab-e504-77e0-41a4-9e5231e00244
==> amazon-ebs: Authorizing access to port 22 on the temporary security group...
==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Adding tags to source instance
amazon-ebs: Adding tag: "Name": "Packer Builder"
amazon-ebs: Instance ID: i-0e425b2de2a239fcf
==> amazon-ebs: Waiting for instance (i-0e425b2de2a239fcf) to become ready...
@okoye
okoye / ena.ko
Created September 19, 2017 21:22
Compile kernel module
DKMS make.log for ena-1.2.0 for kernel 3.10.0-327.10.1.el7.x86_64 (x86_64)
Tue Sep 19 21:20:51 UTC 2017
make: Entering directory `/var/lib/dkms/ena/1.2.0/build/kernel/linux/ena'
make -C /lib/modules/3.10.0-327.10.1.el7.x86_64/build M=/var/lib/dkms/ena/1.2.0/build/kernel/linux/ena modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-693.2.2.el7.x86_64'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
CC [M] /var/lib/dkms/ena/1.2.0/build/kernel/linux/ena/ena_netdev.o
In file included from /var/lib/dkms/ena/1.2.0/build/kernel/linux/ena/ena_netdev.h:44:0,
from /var/lib/dkms/ena/1.2.0/build/kernel/linux/ena/ena_netdev.c:53:
/var/lib/dkms/ena/1.2.0/build/kernel/linux/ena/kcompat.h:424:6: error: nested redefinition of ‘enum pkt_hash_types’