Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Ridenour cridenour

View GitHub Profile
View performancemods.md

Performance Mods

A list of performance-enhancing mods for most major-played versions.

Any suggestion/complaint?
Ping alkya#0101 in Modded Minecraft or (Currently taking a break from certain discords). Use the gist comments.

Mods marked as "Dangerous" might be unstable, and cause some unexpected behaviour.

Any question?
Please, visit the FAQ

@manigandham
manigandham / html-editors.md
Last active Sep 16, 2021
Rich text / HTML editors and frameworks
View html-editors.md

Strictly Frameworks

Abstracted Editors

These use separate document structures instead of HTML, some are more modular libraries than full editors

@ndarville
ndarville / business-models.md
Last active Sep 13, 2021
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.
View business-models.md

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@bmoore
bmoore / install.sh
Created Dec 7, 2012 — forked from padcom/install.sh
Gitorious installation on Ubuntu 12.04
View install.sh
#!/bin/bash
#------------------------------------------------------------------------------
# SETTINGS
#------------------------------------------------------------------------------
MYSQL_ROOT_PASSWORD=password
MYSQL_GITORIOUS_PASSWORD=password
GITORIOUS_HOST=gitorious
SYSADMIN=sysadmin
@epicserve
epicserve / factories.py
Created Oct 3, 2012
Example Factory-boy (https://github.com/dnerdy/factory_boy) factory that uses a file field.
View factories.py
from django.template.defaultfilters import slugify
from django.contrib.sites.models import Site
from django.core.files import File
from taggit.models import Tag
from .models import Photo
import factory
import os
TEST_MEDIA_PATH = os.path.join(os.path.dirname(__file__), 'tests', 'test_media')
TEST_PHOTO_PATH = os.path.join(TEST_MEDIA_PATH, 'test_photo.png')
@thesharp
thesharp / ML, Python and virtualenv.md
Created Jul 25, 2012
Quick virtualenv fix on Mountain Lion
View ML, Python and virtualenv.md

Quick virtualenv fix on Mountain Lion

Overview

It appears that Apple somehow broke Python in Mountain Lion, so even with the latest Command Line Tools and Xcode 4.4 virtualenv won't properly work. During virtual environment creation it will try to install easy_install inside /Library hierarchy. So let's give it a quick workaround. Let's install custom python into your $HOME-directory using pythonbrew!

Installing proper Command Line Tools

Without the Apple Mac Developer account you won't even see the proper download link for the latest CL Tools and the old one won't work on ML. So here's the link: http://goo.gl/iBTXh. It points towards the Apple website so don't worry.

@the42
the42 / gist:1956518
Created Mar 2, 2012
GZip encoding for GO V1 using custom responsewriter
View gist:1956518
package main
import (
"compress/gzip"
"io"
"net/http"
"strings"
)
type gzipResponseWriter struct {