This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo 'kern.maxfiles=20480' | sudo tee -a /etc/sysctl.conf && echo -e 'limit maxfiles 8192 20480\nlimit maxproc 1000 2000' | sudo tee -a /etc/launchd.conf && echo 'ulimit -n 4096' | sudo tee -a /etc/profile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Release AMDClean.js v0.4.0: | |
| a. Remove all `require` methods that contain empty function declarations | |
| b. Implement Gulp.js as the build system | |
| 2. Create Gulp Plugins: | |
| a. Jasmine-Node | |
| 3. Release DownloadBuilder.js v0.8.0: | |
| a. Support Require.js build configurations with the r.js web builder | |
| b. Support built-in minification with the uglify.js web minifier |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Creating Maintainable JavaScript Libraries with AMDClean | |
| 2. Backbone.js Custom Builds | |
| 3. Grunt or Gulp? | |
| 4. Web Components & Polymer | |
| 5. The Future of jQuery Plugins - A Web Components Story |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| isVisible(document.getElementById('at-follow')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const express = require("express"); | |
| const router = express.Router(); | |
| router.get('/', function (req, res) { | |
| res.send("This is the '/' route in ep_app"); | |
| }); | |
| module.exports = router; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Extend the Underscore object with the following methods */ | |
| // Rate limit ensures a function is never called more than every [rate]ms | |
| // Unlike underscore's _.throttle function, function calls are queued so that | |
| // requests are never lost and simply deferred until some other time | |
| // | |
| // Parameters | |
| // * func - function to rate limit | |
| // * rate - minimum time to wait between function calls | |
| // * async - if async is true, we won't wait (rate) for the function to complete before queueing the next request |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;(function (id, name, context, definition) { | |
| // -------------------------------------------------------------------------- | |
| // Dependencies | |
| // | |
| // This is an attempt to make this library compatible with multiple module | |
| // formats. Other UMD implementations do not take into account dependencies: | |
| // Example: https://github.com/ForbesLindesay/umd/blob/master/template.js | |
| // | |
| // **NOTE: Named AMD modules are more suitable for libraries as it provides |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Converts an ArrayBuffer directly to base64, without any intermediate 'convert to string then | |
| // use window.btoa' step. According to my tests, this appears to be a faster approach: | |
| // http://jsperf.com/encoding-xhr-image-data/5 | |
| /* | |
| MIT LICENSE | |
| Copyright 2011 Jon Leighton | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
OlderNewer