Homebrew Formula patching old ImageMagick release 6.7.7-10
$ brew install https://gist.githubusercontent.com/rochoa/10017167/raw/f4f09fd9f9441513d06092c881e10935735881e2/imagemagick.rb| This gist is an offshoot of the one by Michael Cox at https://gist.github.com/michaelcox/3800736. | |
| I had been looking for a testing solution for a long time, and his code didn't quite work for me, | |
| so I thought I'd share what finally did. | |
| In all the files I'm showing here, there are additional lines of code that are omitted for brevity. | |
| If you'd like to see the whole thing in action, you can find it at | |
| `https://github.com/danascheider/canto`. | |
| Relevant parts of my directory structure looked like this. The ./js/lib/chai and | |
| ./js/lib/mocha directories are the same directories that show up in your node_modules |
| require.config({ | |
| baseUrl: '/backbone-tests/', | |
| paths: { | |
| 'jquery' : '/app/libs/jquery', | |
| 'underscore' : '/app/libs/underscore', | |
| 'backbone' : '/app/libs/backbone', | |
| 'mocha' : 'libs/mocha', | |
| 'chai' : 'libs/chai', | |
| 'chai-jquery' : 'libs/chai-jquery', | |
| 'models' : '/app/models' |
| /* jQuery plugin textselect | |
| * version: 1.0 | |
| * tested on jQuery 1.3.2, 1.5 | |
| * author: josef.moravec@gmail.com, duane.johnson@gmail.com | |
| * | |
| * usage: | |
| * $(function() { | |
| * $(document).bind('textselect', function(e) { | |
| * Do stuff with e.text | |
| * }); |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Net.Http; | |
| using System.Net; | |
| namespace HTTP_Test |
| var conn = new Mongo(); | |
| db = conn.getDB(<DB_NAME>); | |
| var cursor = db.<COLLECTION>.find(); | |
| var items = []; | |
| items = cursor.toArray(); | |
| var dbstruc = {}; | |
| for (var i = 0; i < items.length; ++i) { | |
| var target = items[i]; | |
| getKP(target,dbstruc); | |
| } |