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
We're building a singular .html file that contains all css and javascript within it. No external dependencies. But we want to work on our css as sass and write our js in separate files. Additionally, this single .html file serves as a large documentation document with lots of code samples. As a result we've broken each code sampel out into a src/fieldTypes/
directory. So our task process is:
.sass
files into single .css
file with minification.js
files while ignoreing some Twig tagsjs
files into a single filesrc/fieldTypes/*.html
files into a single file.html
files (one for dev previews and one for distribution/download)<?php | |
// get constants defined by the application | |
// All constants available | |
$constants = get_defined_constants(TRUE); | |
// just constants from the app in question | |
$app_constants = $constants['user']; | |
echo '<pre>'; |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Disable Profiler | |
* | |
* @package Disable Profiler | |
* @author Focus Lab, LLC <dev@focuslabllc.com> | |
* @copyright Copyright (c) 2012 Focus Lab, LLC | |
* @license MIT http://opensource.org/licenses/mit-license.php | |
*/ |
While checking out Sublime Text 2 here are some things I miss from TextMate:
Things I'm loving:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Local config overrides & db credentials | |
* | |
* Our database credentials and any environment-specific overrides | |
* This file should be specific to each developer and not tracked in Git | |
* | |
* @package Focus Lab Master Config | |
* @version 1.1 |
Added initial add-ons to repo
Assets
Calendar
CP Analytics
Deployment Hooks
ED ImageResizer
Json
Low Alphabet
Low Reorder
<?php | |
/** | |
* Recent Tweet | |
* | |
* Grab the single most recent tweet based on Twitter's v1 API | |
* http://api.twitter.com/1/users/lookup.json | |
* Auto-links URLs with t.co link but displays original URL | |
* | |
* @package RecentTweet |
<?php if ( ! defined('EXT')) exit('Invalid file request'); | |
// ini_set('error_reporting',E_ALL); | |
/** | |
* Entry Global Vars | |
* | |
* Parse global variables used in your weblog entries. | |
* | |
* @package EntryGlobalVars | |
* @version 1.0.0 |
<?php> | |
function log_item($str) | |
{ | |
if ($this->debugging !== TRUE) | |
{ | |
return; | |
} | |
if ($this->depth > 0) |