Skip to content

Instantly share code, notes, and snippets.

View oosidat's full-sized avatar

Osama Sidat oosidat

View GitHub Profile
@oosidat
oosidat / mytools.md
Last active April 11, 2018 17:09
Tools that I Use

Tools that I find useful

A list of all the tools/applications that I find/found useful/use on a daily basis at work, school, or home. Everybody loves lists, right? Right??


Text Editors

  • Sublime Text 3 (for random note-taking, quick edits, as well as programming in C/C++)
  • VSCode For most project programming (Go, Ruby, Python, JS). Has mostly replaced Atom (primarily because of better performance)
@oosidat
oosidat / shisha.tar.gz
Last active August 29, 2015 14:24
Shisha Error Reproduction
This file has been truncated, but you can view the full file.

Installing NodeJS v4 latest using NVM (Node Version Manager)

  • Download and install NVM - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
  • Follow terminal output and copy nvm loading scripts to ~/.bash_profile (Mac) or ~/.bashrc
  • Install Node v4 - nvm install v4 - this will install the latest version 4.x.x
  • (optional) Set installed version as default - nvm alias default v4.x.x
// Running Instructions
// 1. Get a docker ELK instance up and running - I used https://github.com/deviantony/docker-elk
// 2. Compile this (fill in the right variables before)
// 3. Run this script
// 4. ???
// 5. Go to Kibana to see all the click messages
package main
import (

Understanding Kafka

  • Kafka - publish-subscribe messaging system
  • All incoming data is placed in Kafka
  • All outgoing data is read from Kafka
  • Messages organized into topics

Topics

  • Messages are sent to / read from (published to / subscribed from) topics

Keybase proof

I hereby claim:

  • I am oosidat on github.
  • I am oosidat (https://keybase.io/oosidat) on keybase.
  • I have a public key whose fingerprint is 0C4F 8E22 7471 A1AE B30C EA43 2CC2 E47F AEA2 6659

To claim this, I am signing this object:

mongo:
image: mongo:3.2.11
volumes:
- /data/db/mongo
ports:
- "27017:27017"
redis:
image: redis
volumes: