Skip to content

Instantly share code, notes, and snippets.

View mcbenjemaa's full-sized avatar
👋

Mohamed Chiheb Ben Jemaa mcbenjemaa

👋
View GitHub Profile
GlobalTracer.register(tracer);
DynamicFeature tracing = new ServerTracingDynamicFeature.Builder(tracer)
.withSkipPattern("(\\/app\\/apiadmin\\/ping$|\\/api\\/app\\/v.*\\/view\\/.*$)")
.withTraceSerialization(false)
.build();
env.jersey().register(tracing);
env.servlets()
.addFilter("span-finisher", new SpanFinishingFilter(tracer))
@kwilczynski
kwilczynski / questions.md
Last active July 12, 2022 16:58
Assorted interview questions (across networking, Linux, OS internals, AWS, Docker, etc.)

Generic questions

  • How does a CDN (Content Delivery Network) work?

    • What is a "POP"?
    • What are the benefits of a CDN, and what these tend to offer (briefly)?
    • What is "geo-IP", what is it used for?
    • Can CDN be used for load-balancing?
  • Can you describe how DNS works?

  • Ask about TCP vs UDP, what problems is TCP trying to solve?
@rodricels
rodricels / .tmux.conf
Last active May 12, 2025 18:14
tmux configuration, mouse copy & paste added
# My tmux configuration, partly based on https://github.com/wbkang/wbk-stow/blob/master/tmux-config/.tmux.conf
# Scroll History
set -g history-limit 50000
# show messages for 4 seconds instead
set -g display-time 4000
# set first window to index 1 (not 0) to map more to the keyboard layout
set-option -g renumber-windows on