Skip to content

Instantly share code, notes, and snippets.

View Big-al's full-sized avatar
🪵
Logs are great

Alan Kristensen Big-al

🪵
Logs are great
View GitHub Profile
@jasonm23
jasonm23 / How to set overscan on MacOS Displays when the slider is missing.md
Last active November 27, 2024 14:18
How to set overscan on MacOS Displays when the slider is missing

How to set overscan on MacOS Displays when the slider is missing?

Screenshot 2022-06-03 at 12 21 03

When I connect a monitor or TV to my Mac. Usually I have an overscan slider in the Display Preferences. However sometimes, it's not there. Ironically, this always seems to happen when the screen needs overscan adjustment.

Thankfully it's not impossible to fix the issue.

I haven't found much useful information on this, the difficulty level is quite high, we will need to use the terminal. Open spotlight and type Terminal, press enter and you'll get an imposing Terminal window, with a flashing cursor and not much else. We'll come back to that in a moment or two.

@FreddieOliveira
FreddieOliveira / docker.md
Last active August 2, 2025 13:14
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@ih2502mk
ih2502mk / list.md
Last active August 3, 2025 05:45
Quantopian Lectures Saved
@probonopd
probonopd / Wayland.md
Last active August 3, 2025 09:07
Think twice about Wayland. It breaks everything!

Think twice before abandoning X11. Wayland breaks everything!

image

Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.

Feature comparison

@a3dho3yn
a3dho3yn / mongodb_c#_cheatsheet.md
Last active March 10, 2025 21:41
MongoDB C# Driver Cheat Sheet

MongoDB C# Driver Cheat Sheet

(C) 2015 by Derek Hunziker, (C) 2017 by AppsOn

As of releasing MongoDB 3.4 and C# Driver v2.4, original cheatsheet by Derek is outdated. In addition, it has some deficiencies like connecting to MongoDB, creating indexes, etc. This updated version works fine with C# Driver v2.4.7 and MongoDB v3.4.

Setup

Define Document Models

Note: Defined models and collections will be used in entire cheatsheet.

@roycoding
roycoding / mr_patterns.md
Last active May 2, 2018 17:29
MapReduce Patterns

MapReduce Patterns

Roy Keyes

17 Sep 2014 - This is a post on my blog.

MapReduce is a powerful algorithm for processing large sets of data in a distributed, parallel manner. It has proven very popular for many data processing tasks, particularly using the open source Hadoop implementation.

MapReduce basics

The most basic idea powering MapReduce is to break large data sets into smaller chunks, which are then processed separately (in parallel). The results of the chunk processing are then collected.

MapReduce