Skip to content

Instantly share code, notes, and snippets.

View Elemecca's full-sized avatar

Sam Hanes Elemecca

  • BST Event Services
  • Reno, NV, USA
View GitHub Profile
@nk9
nk9 / largestFiles.py
Last active July 3, 2024 21:10
Python script to find the largest files in a git repository.
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Python script to find the largest files in a git repository.
# The general method is based on the script in this blog post:
# http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/
#
# The above script worked for me, but was very slow on my 11GB repository. This version has a bunch
# of changes to speed things up to a more reasonable time. It takes less than a minute on repos with 250K objects.
#
@daranable
daranable / basic_tier.lua
Created September 19, 2012 18:01
Object Oriented Starfall Screen
--@name OOS Basic Tier
--@author Daranable
local OOS = OOS;
local screen = screen;
local render_order = render_order;
local object_ids = object_ids;
local repaint = OOS.data.repaint;
------------------------------------------------------------------------