Skip to content

Instantly share code, notes, and snippets.

View alvaromuir's full-sized avatar

Álvaro Muir alvaromuir

View GitHub Profile
@rliessum
rliessum / gist:288604c6899e898957dc5d504ce76a48
Created November 28, 2025 10:44
Script to set an optimal color profile and balance on a Corsair Xeneon Edge touchscreen display on macOS without using iCue.
#!/bin/bash
# Corsair Xeneon Edge Color Calibration Script
# Based on Tweakers.net review findings:
# https://tweakers.net/reviews/13662/corsair-xeneon-edge-tof-idee-maar-dramatisch-uitgevoerd.html
#
# The factory settings prioritize brightness (365 cd/m²) over color accuracy.
# This script applies calibrated settings for better color reproduction (~255 cd/m²).
set -e
@davidteren
davidteren / nerd_fonts.md
Last active January 27, 2026 18:18
Install Nerd Fonts via Homebrew [updated & fixed]
credit: https://stackoverflow.com/questions/39356413/how-to-add-a-custom-ca-root-certificate-to-the-ca-store-used-by-pip-in-windows/52961564
>pip config set global.cert path/to/ca-bundle.crt
>pip config list # user trusted-host
pip.ini or pip.conf
[global]
trusted-host = pypi.python.org
pypi.org
files.pythonhosted.org
cert = /etc/ssl/certs/ca-bundle.crt
@Willian-Zhang
Willian-Zhang / tensorflow_1_8_high_sierra_gpu.md
Last active May 12, 2022 04:40
Install TensorFlow 1.8 on macOS High Sierra 10.13.4 with CUDA
@NicolasBizzozzero
NicolasBizzozzero / comprehensive_header.py
Last active March 19, 2025 15:03
Python template of a comprehensive header, with shebang, docstring, GPLv3 license and all metadata.
#!/usr/bin/env python
""" Short description of this Python module.
Longer description of this module.
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
@to-bee
to-bee / tensorflow-gpu-sierra
Last active January 11, 2021 01:24
Build tensorflow with gpu support on OSX Sierra
disable sip in recovery mode
start recovery mode with Cmd + R on startup
start terminal
csrutil disable
download and install cuda 8
download cuDNN v6.0 for cuda 8 (register first)
install xcode 7.2
current xcode version is not supported
@aparrish
aparrish / understanding-word-vectors.ipynb
Last active December 18, 2025 05:55
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@staltz
staltz / introrx.md
Last active January 29, 2026 10:36
The introduction to Reactive Programming you've been missing
@millermedeiros
millermedeiros / osx_setup.md
Last active December 17, 2025 00:06
Mac OS X setup

Setup Mac OS X

I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.

I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...