Skip to content

Instantly share code, notes, and snippets.

View MeqdadDev's full-sized avatar
👨‍💻

Meqdad Darwish MeqdadDev

👨‍💻
View GitHub Profile
@MeqdadDev
MeqdadDev / Mastering-MongoDB-Aggregation-A-Journey-from-Fundamentals-to-Advanced-Optimization.md
Last active October 21, 2024 11:53
Mastering MongoDB Aggregation: A Journey from Fundamentals to Advanced Optimization

Mastering MongoDB Aggregation: A Journey from Fundamentals to Advanced Optimization

MongoDB’s Aggregation Framework is one of the most powerful features for data processing and analysis in modern databases. In this comprehensive guide, we’ll explore what it is, how to use it effectively, and advanced optimization techniques that can significantly improve your application’s performance.

Table of Contents

  1. Understanding the Basics
  2. Building Your First Pipeline

What Hiring Should Look Like

This is definitely not the first time I've written about this topic, but I haven't written formally about it in quite awhile. So I want to revisit why I think technical-position interviewing is so poorly designed, and lay out what I think would be a better process.

I'm just one guy, with a bunch of strong opinions and a bunch of flaws. So take these suggestions with a grain of salt. I'm sure there's a lot of talented, passionate folks with other thoughts, and some are probably a lot more interesting and useful than my own.

But at the same time, I hope you'll set aside the assumptions and status quo of how interviewing is always done. Just because you were hired a certain way, and even if you liked it, doesn't mean that it's a good interview process to repeat.

If you're happy with the way technical interviewing currently works at your company, fine. Just stop, don't read any further. I'm not going to spend any effort trying to convince you otherwise.

@OndraZizka
OndraZizka / CSI-2-picamera.py
Last active August 3, 2022 01:41
OpenCV, Python, camera, Raspberry Pi
# sudo apt-get install python-picamera
import picamera
from time import sleep
camera = picamera.PiCamera()
camera.capture('image.jpg')
camera.start_preview()
camera.vflip = True
camera.hflip = True
@micdenny
micdenny / super-mario.ino
Created May 5, 2017 20:57
Super Mario theme song w/ piezo buzzer and Arduino!
/*
Arduino Mario Bros Tunes
With Piezo Buzzer and PWM
Connect the positive side of the Buzzer to pin 3,
then the negative side to a 1k ohm resistor. Connect
the other side of the 1 k ohm resistor to
ground(GND) pin on the Arduino.
by: Dipto Pratyaksa

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@wojteklu
wojteklu / clean_code.md
Last active October 17, 2025 16:16
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules