Skip to content

Instantly share code, notes, and snippets.

View floriankrueger's full-sized avatar
🏠
Working from home

Florian Krüger floriankrueger

🏠
Working from home
View GitHub Profile
@kylefox
kylefox / color.m
Created January 27, 2012 17:45
Generate a random color (UIColor) in Objective-C
/*
Distributed under The MIT License:
http://opensource.org/licenses/mit-license.php
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
@jescalan
jescalan / .profile
Created December 23, 2011 18:36
.dotfiles
# Config Notes
# Dependencies: rbenv, ruby 1.9.3-p0, pow, powder, git, git_completion, grc
#
# path:
PS1='\[\e[0;31m\]⚡\[\e[m\] \[\e[0;30m\]${PWD##*/}\[\e[39m\] \[\e[0;33m\]$(__git_ps1 "(%s) ")\[\e[m\]'
# pretty colors (brew install grc)
source "`brew --prefix grc`/etc/grc.bashrc"