- Mac OS X 10.9.2
- Clean install
- Admin user (required to install Xcode cli dev tools, Virtualbox application)
- Network connection
# Add a link to itself in its own node_modules directory: | |
npm link && npm link app-name |
# #{Rails.root}/lib/tasks/databases.rake | |
=begin | |
Monkey Patch | |
activerecord-3.0.9/lib/active_record/railties/databases.rake | |
clears obstinate stale PG session to get parallel_tests working | |
also, PG user must be superuser to use these low level PG functions | |
=end | |
def drop_database(config) | |
case config['adapter'] | |
when /mysql/ |
Example and reasonings when using Reflux stores and actions for a Master/Detail app with React – with an eye to server-side rendering. Some concepts apply to reflux#166 and reflux#180.
This hypotetical app would use a router to display a list of items (e.g. at the url example.org/items
, the master view) and a single item (e.g. example.org/items/:id
, the detail view).
let Rx = require("rx"); | |
Rx.Observable.fromSuperagent = request => () => Rx.Observable.create(observer => { | |
request.end((err, res) => { | |
if (err) { | |
observer.onError(err) | |
} else { | |
observer.onNext(res); | |
} | |
observer.onCompleted(); |
{{#each (expand 'content/*.md')}} | |
{{#markdown}} | |
{{inline .}} | |
{{/markdown}} | |
{{/each}} |
/** | |
* Adds an accessibility layer to the default noUiSlider. | |
* | |
* @see $.fn.noUiSlider() | |
*/ | |
$.fn.noUiSliderA11y = function(options, rebuild) { | |
var slider = this; | |
if (!('noUiSlider' in slider)) { | |
throw new Error('noUiSlider is not loaded.'); |
These steps where found here: https://apple.stackexchange.com/questions/222917/how-do-i-use-ffmpeg-to-convert-audible-files/243670#243670
I am recently re-branding my libraries as µ (micro), refactoring these when necessary, dropping IE < 11 support, improving the logic where possible, or providing a better, more robust, or faster, API.
In few words, on the right there is the modern version of libraries I've used for the last ~5 years in production or for side projects, and I suggest anyone having one of the earlier dependencies, to have a look at their modern, micro, counterpart.
All sizes are minified, brotli compressed, and representing these two files, when possible: