Skip to content

Instantly share code, notes, and snippets.

View nicomgd's full-sized avatar

Nicolas Lelong nicomgd

  • mgdesign
  • Nantes, France
View GitHub Profile
@rodw
rodw / backup-github.sh
Last active June 4, 2025 14:15
A simple script to backup an organization's GitHub repositories, wikis and issues.
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
#-------------------------------------------------------------------------------
# NOTES:
#-------------------------------------------------------------------------------
# * User @jimklimov (and probably some others called out in the long comment
# thread below) have modified this script to make it more robust and keep
# up with various changes in the GitHub API and response format at:
# https://github.com/jimklimov/github-scripts
@rygorous
rygorous / gist:2203834
Created March 26, 2012 08:03
float->sRGB8 using SSE2 (and a table)
// float->sRGB8 conversions - two variants.
// by Fabian "ryg" Giesen
//
// I hereby place this code in the public domain.
//
// Both variants come with absolute error bounds and a reversibility and monotonicity
// guarantee (see test driver code below). They should pass D3D10 conformance testing
// (not that you can verify this, but still). They are verified against a clean reference
// implementation provided below, and the test driver checks all floats exhaustively.
//