Skip to content

Instantly share code, notes, and snippets.

View FinchPowers's full-sized avatar

François-Michel L'Heureux FinchPowers

View GitHub Profile
@GetVladimir
GetVladimir / Force-RGB-Color-on-M1-Mac.md
Last active June 8, 2025 19:42
Force RGB Color on M1 Mac

Force RGB Color on M1 Mac

How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor.

This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.

Force RGB Color on M1 Mac

Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4

The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.

@jtriley
jtriley / clustermanager-example.py
Created December 4, 2013 20:27
Small example showing how to use the ClusterManager class for high-level cluster management.
from starcluster import config
from starcluster import cluster
cfg = config.StarClusterConfig().load()
ec2 = cfg.get_easy_ec2()
cm = cluster.ClusterManager(cfg, ec2=ec2)
cl = cm.get_cluster("your_running_cluster_tag")
print len(cl.running_nodes)
@jtriley
jtriley / starcluster_loadbalance_supervisor.conf
Created October 30, 2013 20:54
Supervisor (https://pypi.python.org/pypi/supervisor) config for StarCluster's loadbalancer
[unix_http_server]
file=/tmp/supervisor.sock
[supervisord]
logfile=/tmp/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=info
pidfile=/tmp/supervisord.pid
nodaemon=false