Skip to content

Instantly share code, notes, and snippets.

View terala's full-sized avatar

Ravi Terala terala

View GitHub Profile
@larroy
larroy / gch.py
Created October 28, 2011 00:28
Precompiled header builder for SCons
#
# SCons builder for gcc's precompiled headers
# Copyright (C) 2006 Tim Blechmann (C) 2011 Pedro Larroy
#
# 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 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@plentz
plentz / nginx.conf
Last active July 25, 2024 09:38
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@ejdyksen
ejdyksen / patch-edid.md
Last active July 26, 2024 11:46
A script to fix EDID problems on external monitors in macOS

patch-edid.rb

A script to fix EDID problems on external monitors in macOS.

Instructions

  1. Connect only the problem display.

  2. Create this directory structure (if it doesn't already exist):