This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
<?php | |
$k3r_env = getenv('environment'); | |
if ($k3r_env === 'kimber') { | |
define('PERCH_LICENSE_KEY', ''); | |
define("PERCH_DB_USERNAME", ''); | |
define("PERCH_DB_PASSWORD", ''); | |
define("PERCH_DB_SERVER", "localhost"); | |
define("PERCH_DB_DATABASE", "harewood"); |
// you can pass it only the following direction keywords: | |
// up, down, left, right | |
// | |
// HOW TO USE | |
// | |
// $direction: up; | |
// $color: #c00; | |
// $size: 20px; | |
// .class { | |
// $include arrow($direction, $color, $size); |
$sprites: sprite-map("sprites/*.png"); | |
$sprites-retina: sprite-map("sprites-retina/*.png"); | |
@mixin sprite-background($name) { | |
background-image: sprite-url($sprites); | |
background-position: sprite-position($sprites, $name); | |
background-repeat: no-repeat; | |
display: block; | |
height: image-height(sprite-file($sprites, $name)); | |
width: image-width(sprite-file($sprites, $name)); |
<?php | |
/** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* |