Skip to content

Instantly share code, notes, and snippets.

@brendangregg
brendangregg / dockerpsns.sh
Last active Mar 12, 2021
docker ps --namespaces
View dockerpsns.sh
#!/bin/bash
#
# dockerpsns - proof of concept for a "docker ps --namespaces".
#
# USAGE: ./dockerpsns.sh
#
# This lists containers, their init PIDs, and namespace IDs. If container
# namespaces equal the host namespace, they are colored red (this can be
# disabled by setting color=0 below).
#
@androidfred
androidfred / haskell_stack_and_intellij_idea_ide_setup_tutorial_how_to_get_started.md
Last active May 8, 2021
Haskell, Stack and Intellij IDEA IDE setup tutorial how to get started
View haskell_stack_and_intellij_idea_ide_setup_tutorial_how_to_get_started.md

Haskell, Stack and Intellij IDEA IDE setup tutorial how to get started

Upon completion you will have a sane, productive Haskell environment adhering to best practices.

Basics

  • Haskell is a programming language.
  • Stack is tool for Haskell projects. (similar tools for other languages include Maven, Gradle, npm, RubyGems etc)
  • Intellij IDEA IDE is a popular IDE.

Install required libraries

sudo apt-get install libtinfo-dev libghc-zlib-dev libghc-zlib-bindings-dev

@debasishg
debasishg / gist:8172796
Last active May 11, 2021
A collection of links for streaming algorithms and data structures
View gist:8172796
  1. General Background and Overview