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
| # Nginx+Unicorn best-practices congifuration guide. Heartbleed fixed. | |
| # We use latest stable nginx with fresh **openssl**, **zlib** and **pcre** dependencies. | |
| # Some extra handy modules to use: --with-http_stub_status_module --with-http_gzip_static_module | |
| # | |
| # Deployment structure | |
| # | |
| # SERVER: | |
| # /etc/init.d/nginx (1. nginx) | |
| # /home/app/public_html/app_production/current (Capistrano directory) | |
| # |
| // deparam | |
| // | |
| // Inverse of $.param() | |
| // | |
| // Taken from jquery-bbq by Ben Alman | |
| // https://github.com/cowboy/jquery-bbq/blob/master/jquery.ba-bbq.js | |
| var isArray = Array.isArray || function(obj) { | |
| return Object.prototype.toString.call(obj) == '[object Array]'; | |
| }; |
| anon true, if the space may be omitted in anonymous function declarations | |
| bitwise true, if bitwise operators should be allowed | |
| browser true, if the standard browser globals should be predefined | |
| cap true, if upper case HTML should be allowed | |
| continue true, if the continuation statement should be tolerated | |
| css true, if CSS workarounds should be tolerated | |
| debug true, if debugger statements should be allowed | |
| devel true, if logging should be allowed (console, alert, etc.) | |
| eqeq true, if == should be allowed | |
| es5 true, if ES5 syntax should be allowed |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| <!-- Raven.js Config --> | |
| <script src="{{ JS_PATH }}/lib/raven.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| // Ignore list based off: https://gist.github.com/1878283 | |
| var ravenOptions = { | |
| // Will cause a deprecation warning, but the demise of `ignoreErrors` is still under discussion. | |
| // See: https://github.com/getsentry/raven-js/issues/73 | |
| ignoreErrors: [ | |
| // Random plugins/extensions | |
| 'top.GLOBALS', |
| NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
| Download the following ZIPs: | |
| ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
| Download the correct GApps for your Android version: | |
| Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
| Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
| Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |
| function AjaxError(jqXHR, textStatus, errorThrown) { | |
| this.name = "AjaxError"; | |
| this.message = textStatus; | |
| this.jqXHR = jqXHR; | |
| this.errorThrown = errorThrown; | |
| } | |
| AjaxError.prototype = new Error(); | |
| AjaxError.prototype.constructor = AjaxError; | |
| (function($) { |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.