Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# This is forked to fit MY needs. Please read through and edit at will.
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
@pixxelboy
pixxelboy / make-js.sh
Created July 12, 2011 14:01 — forked from yannickcr/make-js.sh
A simple shell script to loop through your javascripts and give them to sprocket and uglifyjs
SOURCEPATH=/path/to/javascripts/sources
BUILDPATH=/path/to/compiled/javascripts
NODEPATH=/path/to/node
UGLIFYPATH=/path/to/uglifyjs
SPROCKETPATH=/path/to/sprocketize
cd $SOURCEPATH
for f in *.js;
do
@pixxelboy
pixxelboy / gist:1222022
Created September 16, 2011 12:32
Exercise 1
// Exercise 1 - OO || !OO
// Define a data structure for cars (make and color), and a function
// that logs a string like "I'm a red Mercedes" to the console.
// Make two versions: a functional version, and a object-oriented version.
// Example call for functional version:
logCar({ color: 'blue', make: 'BMW' });
// Example call for OO version:
(new Car('Ferrari', 'red')).log();
@pixxelboy
pixxelboy / gist:1222024
Created September 16, 2011 12:32
Exercise 2
// Part 1.
// Implement a function prototype extension that caches function results for
// the same input arguments of a function with one parameter.
//
// For example:
// Make sin(1) have the result of Math.sin(1), but use a cached value
// for future calls.
//
// Part 2.
// Use this new function to refactor the code example.
@pixxelboy
pixxelboy / gist:1291316
Created October 16, 2011 19:33
Gemfile
require 'rbconfig'
HOST_OS = Config::CONFIG['host_os']
source 'http://rubygems.org'
gem 'rails', '3.1.1'
group :assets do
gem 'sass-rails', '~> 3.1.4'
gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
@pixxelboy
pixxelboy / mongoid.yml
Created October 16, 2011 19:31
Mongoid conf
development:
host: localhost
database: APP_development
test:
host: localhost
database: APP_test
# set these environment variables on your prod server
production:
@pixxelboy
pixxelboy / gist:3146725
Created July 19, 2012 20:50
Wordpress by Capistrano configuration for DB
/*
*
* Not much really, but hope it can help someday
* The goal is to edit the wp-config-sample.php, make it the required wp-config.php
* And asking the user to set login password for the target #{stage} DB settings.
* Cleaner than hardcoding anything in Capistrano files.
*
* This snippet is meant to work with the french version of the wp-config-sample.php file, and that makes it reallllly perfectible. Proposals praised !
*
*/
@pixxelboy
pixxelboy / osx-10.10-setup.md
Last active December 2, 2015 07:01 — forked from kevinelliott/osx-10.10-setup.md
Mac OS X 10.10 Yosemite Setup

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

Nom Plateforme Etat (Boite/Support (cd / cartouche) / Notice) Region Complet
Sim City 2000 Saturn A- / B- / A Pal boite / CD / Notice
Armored Core Nine Breaker PS2 B- / C / A Pal boite / CD / Notice
The Sword of Etheria PS2 A / A - / A Pal boite / CD / Notice
Tetris Worlds PS2 A / A - / A - Pal boite / CD / Notice
Goblin Commander PS2 A / A / B - Pal boite / CD / Notice
Gungrave ps2 A / A - / B - Pal boite / CD / Notice
Metal Slug 4 ps2 A- / A / A Pal boite / CD / Notice
Loom Saturn A / A - / A Jap boite / CD / Notice