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
| var browserSync = require('browser-sync'); | |
| var del = require('del'); | |
| var gulp = require('gulp'); | |
| var pageSpeed = require('psi'); | |
| var plugins = require('gulp-load-plugins')(); | |
| var runSequence = require('run-sequence'); | |
| // Optimize images | |
| gulp.task('images', function () { | |
| return gulp.src('app"<%= asset_path('$1') %>"**/*') |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| route = 8.0.0.0/255.0.0.0 | |
| route = 58.0.0.0/255.0.0.0 | |
| route = 23.0.0.0/255.0.0.0 | |
| route = 117.0.0.0/255.0.0.0 | |
| route = 199.0.0.0/255.0.0.0 | |
| route = 190.0.0.0/255.0.0.0 | |
| route = 198.0.0.0/255.0.0.0 | |
| route = 173.0.0.0/255.0.0.0 | |
| route = 174.0.0.0/255.0.0.0 | |
| route = 168.0.0.0/255.0.0.0 |
| CREATE DATABASE profs; | |
| USE profs; | |
| CREATE TABLE professors ( | |
| name varchar(30) NOT NULL, | |
| specialization varchar(20), | |
| salary double(8,2), | |
| CONSTRAINT prof_pk PRIMARY KEY (name)); | |
| CREATE TABLE students ( |
| <snippet> | |
| <content><![CDATA[ | |
| // ${1} Resource | |
| Route::get('${1}s', array('as' => '${1}s', 'uses' => '${1}s@index')); | |
| Route::get('${1}s/(:any)', array('as' => '${1}', 'uses' => '${1}s@show')); | |
| Route::get('${1}s/new', array('as' => 'new_${1}', 'uses' => '${1}s@new')); | |
| Route::get('${1}s/(:any)edit', array('as' => 'edit_${1}', 'uses' => '${1}s@edit')); | |
| Route::post('${1}s', '${1}s@create'); | |
| Route::put('${1}s/(:any)', '${1}s@update'); | |
| Route::delete('${1}s/(:any)', '${1}s@destroy'); |
| Index: openvpn-2.2.1/socket.c | |
| =================================================================== | |
| --- openvpn-2.2.1.orig/socket.c 2012-11-23 16:32:15.000000000 +0800 | |
| +++ openvpn-2.2.1/socket.c 2012-11-23 16:32:44.000000000 +0800 | |
| @@ -48,6 +48,16 @@ | |
| #endif | |
| }; | |
| +int | |
| +buffer_mask (struct buffer *buf, int mask) { |
| ## {{{ http://code.activestate.com/recipes/532908/ (r3) | |
| #! /usr/bin/env python | |
| """ | |
| pyText2Pdf - Python script to convert plain text files into Adobe | |
| Acrobat PDF files with support for arbitrary page breaks etc. | |
| Version 2.0 | |
| Author: Anand B Pillai <abpillai at gmail dot com> | |