Skip to content

Instantly share code, notes, and snippets.

View philippbosch's full-sized avatar

Philipp Bosch philippbosch

View GitHub Profile
@thbar
thbar / Guardfile
Last active December 15, 2015 10:28
How to automatically restart the simulator in RubyMotion when code is updated (beta version!)
require 'childprocess'
guard 'shell' do
watch %r{^app/(.+)\.rb$} do |m|
`killall rake`
# Why this:
# - spawn a child process to avoid locking Guard
# - make sure that the child process has stdout and stdin otherwise it crashes
# - bonus point: get REPL access in the simulator!
@mattlenz
mattlenz / image_with_color.rb
Created August 20, 2012 23:27
Solid-color (stretchable) UIImage generator for RubyMotion
# require 'bubble-wrap'
class UIImage
def self.imageWithColor(color)
if color.is_a?(String)
color = color.to_color
end
rect = CGRectMake(0, 0, 1, 1)
from django.contrib.staticfiles.storage import AppStaticStorage
from django.contrib.staticfiles.finders import AppDirectoriesFinder
class LegacyAppMediaStorage(AppStaticStorage):
source_dir = 'media'
class LegacyAppDirectoriesFinder(AppDirectoriesFinder):
storage_class = LegacyAppMediaStorage

1.0 TODO

Antares v0.11

The focus on this release is to get the compass stylesheet libraries and docs as close to final for 1.0 as possible.

  1. Upgrade to Blueprint 1.0
  2. DONE Upgrade stylesheets