-
Notifications
You must be signed in to change notification settings - Fork 0
/
testfile.json
30 lines (30 loc) · 10.9 KB
/
testfile.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ "__v" : 0, "_id" : { "$oid" : "5163987c2e31a3ed31000001" }, "content" : "![stopliking] (public/assets/images/stopliking.jpg)<br />", "name" : "coffeescript", "position" : 9, "title" : "CoffeeScript" }
{ "__v" : 0, "_id" : { "$oid" : "51647ddcbefa2f1a3d000001" }, "content" : "##4-South Studios\n<table>\n<tr>\n <td>Steve Kane</td>\n <td>@stv_kn</td>\n <td>http://github.com/stevekane</td>\n</tr>\n<tr>\n <td>Pete Chen</td>\n <td>@chen_pete</td>\n <td>http://github.com/pchen4South</td>\n</tr>\n</table>\n<br />\nFrequent example-driven Ember tutorials at:\nhttp://stevekane.github.io/", "name" : "introduction", "position" : 1, "title" : "Who are we?" }
{ "__v" : 0, "_id" : { "$oid" : "5164e65ff87f3b0e6f000002" }, "content" : "http://github.com/stevekane/4south-ember<br />\nor<br />\nhttp://github.com/emberjs/starter-kit<br />\nhttp://github.com/toranb/ember-code-camp<br />\nhttp://github.com/rpflorence/ember-tools", "name" : "gettingstarted", "position" : 11, "title" : "Ember boilerplates" }
{ "__v" : 0, "_id" : { "$oid" : "5164ec7af87f3b0e6f000003" }, "content" : "![noideadog](public/assets/images/noideadog.jpg)", "name" : "cover", "position" : 0, "title" : "Making Ember work for You" }
{ "__v" : 0, "_id" : { "$oid" : "5164f242f87f3b0e6f000004" }, "content" : "Dude.. Where's my modules?<br />\nBro. Do you even pre-compile Handlebars?<br />\nIf you build it, it will take forever.<br />\nF5 secretly hates you", "name" : "tutorialvoid", "position" : 4, "title" : "What Tutorials Miss" }
{ "__v" : 0, "_id" : { "$oid" : "5164f47df87f3b0e6f000005" }, "content" : "minispade.js\n```\nrequire('MyController.js');\n```\nfile wrapping/concatenation\n```\nregister('MyController.js', function () {\n //content of MyController.js here\n App.MyController = Em.Controller.extend();\n});\n```\n\nbut how?\n<h2 style=\"font-size: 4em; color: red; text-align: center\">\ngrunt!\n</h2>", "name" : "modules", "position" : 5, "title" : "js Module Systems" }
{ "__v" : 0, "_id" : { "$oid" : "5164f525f87f3b0e6f000006" }, "content" : "```\n//compiled template (function) in JS object\nEmber.TEMPLATES['myTemplate']\n```\n\nOrganization!<br />\nPerformance!<br />\n...<br />\nbut how?<br />\n<h2 style=\"font-size: 4em; color: red; text-align: center\">\ngrunt!\n</h2>", "name" : "precompile", "position" : 6, "title" : "Precompile .hbs" }
{ "__v" : 0, "_id" : { "$oid" : "5164f764f87f3b0e6f000007" }, "content" : "![SASS](assets/images/sass.gif)\n<br />\n(psst...it's like modules...for css)", "name" : "sass", "position" : 10, "title" : "Sass" }
{ "__v" : 0, "_id" : { "$oid" : "5164fd58f87f3b0e6f000008" }, "content" : "\"What if I told you, I could rebuild your entire project for you everytime you change a file?\"\n\n##(said your computer...)\n\nbut how?\n<h2 style=\"font-size: 4em; color: red; text-align: center\">\ngrunt!\n</h2>", "name" : "filewatch", "position" : 7, "title" : "File Watching " }
{ "__v" : 0, "_id" : { "$oid" : "5164feaff87f3b0e6f000009" }, "content" : "Works with ANY server backend and most modern browsers!\n```\n\nbut how?\n<h2 style=\"font-size: 4em; color: red; text-align: center\">\ngrunt!\n</h2>", "name" : "livereload", "position" : 8, "title" : "Live Reload" }
{ "__v" : 0, "_id" : { "$oid" : "51650ba4f87f3b0e6f00000a" }, "content" : "rapid prototyping\n\nisolated debugging\n\ncode sharing\n\n\nessential for bug reports\n\n##boilerplates at \nhttp://jsfiddle.net/skane/APZZe/1/\n\nhttp://jsbin.com/oqerax/1/edit", "name" : "jsfiddle", "position" : 2, "title" : "jsfiddle/jsbin" }
{ "__v" : 0, "_id" : { "$oid" : "51650fa4f87f3b0e6f00000b" }, "content" : "<http://cdnjs.com>\n\nlarge library of js libraries\n\n<http://rawgithub.com>\n\nrehosts raw.github.com files\n\n<h2 style=\"color: red; text-align: center\">Github is not a CDN!</h2>", "name" : "cdns", "position" : 3, "title" : "js.CDN !== google" }
{ "__v" : 0, "_id" : { "$oid" : "5165a9322d96b98526000001" }, "content" : "##Register Tasks\n```\ngrunt.registerTask('4south', //alist of tasks);\n```\n##Configure Tasks\n```\ngrunt.initConfig({\n someTask: {\n options: {\n },\n files: {}\n },\n});\n```", "name" : "Gruntfile", "position" : 12, "title" : "Gruntfile.coffee/js" }
{ "__v" : 0, "_id" : { "$oid" : "5165c8b47f059edd0b000001" }, "content" : "```\nclean:\n src: ['public/compiled-js/']\n```\npurges files or directories\n\naccepts strings, filepaths, regex\n", "name" : "grunt-clean", "position" : 13, "title" : "grunt-contrib-clean" }
{ "__v" : 0, "_id" : { "$oid" : "5165c9117f059edd0b000002" }, "content" : "##based on minispade.js (yehuda katz)\ncode adapted by 4south from rake-pipeline-web-filters minispade module\n```\n minispade:\n options:\n renameRequire: true\n useStrict: false\n prefixToRemove: 'public/compiled-js/'\n files:\n src: ['public/compiled-js/**/*.js']\n dest: 'public/dist/app.js'\n```\nWraps modules in minispade.register closures\n\nreplaces \"require\" with \"minispade.require\"\n", "name" : "grunt-minispade", "position" : 14, "title" : "grunt-minispade" }
{ "__v" : 0, "_id" : { "$oid" : "5165c9bb7f059edd0b000003" }, "content" : "compiles coffeescript files\n\noptionally globs files into single output file\n\n\"bare\" prevents cs closures\n\n```\n coffee:\n options:\n bare: true\n glob_to_multiple:\n expand: true\n cwd: 'public/coffee/'\n src: ['**/*.coffee']\n dest: 'public/compiled-js'\n ext: '.js'\n```", "name" : "grunt-coffee", "position" : 16, "title" : "grunt-contrib-coffee" }
{ "__v" : 0, "_id" : { "$oid" : "5165caab7f059edd0b000004" }, "content" : "compiles sass files\n\n###sass files determine their own import schema###\n\n```\n@import \"mySassFile.sass\"\n```\n```\n sass:\n dist:\n options:\n trace: true\n style: 'expanded'\n files:\n 'public/dist/appsass.css': 'public/sass/app.sass'\n```", "name" : "grunt-sass", "position" : 17, "title" : "grunt-contrib-sass" }
{ "__v" : 0, "_id" : { "$oid" : "5165cbda7f059edd0b000006" }, "content" : "##*not grunt-contrib-handlebars!\n\ncompiles .handlebars files\n\noutputs .js file with Ember.TEMPLATES object\n\n```\n ember_templates:\n compile:\n options:\n templateName: (sourceFile) ->\n return sourceFile.replace(/public\\/handlebars\\//,'')\n files:\n \"public/dist/apptemplates.js\": \"public/handlebars/**/*.handlebars\"\n```", "name" : "grunt-templates", "position" : 15, "title" : "grunt-ember-templates" }
{ "__v" : 0, "_id" : { "$oid" : "5165cd057f059edd0b000007" }, "content" : "##replaces grunt-contrib-watch\n\nexpected to be a temporary issue only\n\nwatch files and perform tasks on change\n\n```\n regarde:\n coffee:\n files: 'public/coffee/**/*.coffee'\n tasks: ['clean', 'coffee', 'minispade', \n 'livereload', 'regarde']\n handlebars:\n files: 'public/handlebars/**/*.handlebars'\n tasks: ['ember_templates', 'livereload', 'regarde']\n sass:\n files: 'public/sass/**/*.sass'\n tasks: ['sass', 'livereload', 'regarde']\n```", "name" : "grunt-regarde", "position" : 18, "title" : "grunt-regarde" }
{ "__v" : 0, "_id" : { "$oid" : "5165cddf7f059edd0b000008" }, "content" : "runs tiny webserver that emits livereload events\n##GOTCHA: default config doesn't use your server!\n```\n<script \n src=\"http://localhost:35729/\n livereload.js?snipver=1\">\n</script>\n```\n```\nlivereload-start\nlivereload\n```", "name" : "grunt-livereload", "position" : 19, "title" : "grunt-contrib-livereload" }
{ "__v" : 0, "_id" : { "$oid" : "5165ced67f059edd0b000009" }, "content" : "##file watching \n\nsass, handlebars, coffee\n##livereload\n\nworking with node server\n", "name" : "demo", "position" : 20, "title" : "4south-ember demo" }
{ "__v" : 0, "_id" : { "$oid" : "5165d1577f059edd0b00000a" }, "content" : "replaces traditional .ajax calls with event system\n\n<br />\nwip adapter found in http://github.com/pchen4South/emberMeetupDemo\n\n<br />\n\nallows the server to broadcast to clients", "name" : "websockets", "position" : 21, "title" : "Ember-Data socket.io adapter" }
{ "__v" : 0, "_id" : { "$oid" : "5165d24c7f059edd0b00000b" }, "content" : "##findAll \"GET\" example\n\n```\n findAll: (store, type, since) ->\n @send\n store: store\n type: type\n since: @sinceQuery(since)\n requestType: TYPES.FIND_ALL\n callback: (req, res) ->\n Ember.run req.context, ->\n @didFindAll req.store, req.type, res\n\n //stubbed out 'send' method last line shown\n @socket.emit \"ember-data\", data\n```", "name" : "socket-adapter", "position" : 22, "title" : "DS.SocketAdapter" }
{ "__v" : 0, "_id" : { "$oid" : "5165d3c77f059edd0b00000c" }, "content" : "```\n socket.on(\"ember-data\", function(data) {\n var payload;\n if (data.record !== undefined) {\n data.data = [data.record];\n }\n payload = {};\n switch (data.action) {\n ...\n //stubbed out switch cases\n case TYPES.FINDALL:\n FINDALL(data, socket, \n FINDALL_Callback);\n```", "name" : "socket-server", "position" : 23, "title" : "socket.io server" }
{ "__v" : 0, "_id" : { "$oid" : "5165d5107f059edd0b00000d" }, "content" : "```\nFIND_ALL = function(data, socket, callback) {\n models[capitalize(data.type)].find({}, \n function(err, results) {\n dbCallBack(err, results, callback, \n socket, data);\n });\n};\n\nFIND_ALL_Callback = function(data, socket, models) {\n ...\n //stubbed out implementation\n socket.emit(\"ember-data\", response);\n};\n```", "name" : "socket-findall", "position" : 24, "title" : "server FINDALL" }
{ "__v" : 0, "_id" : { "$oid" : "5165d5ec7f059edd0b00000e" }, "content" : "##send events to clients\n```\nsocket.broadcast.emit('create', response);\n```\n\n", "name" : "broadcast", "position" : 25, "title" : "socket broadcast" }
{ "__v" : 0, "_id" : { "$oid" : "5165d6a27f059edd0b00000f" }, "content" : "event broadcasting to all connected clients!\n\nbasic CRUD operations implemented w/ sockets\n\n<br />\ndemo app available at \nhttp://github.com/pchen4South/emberMeetupDemo", "name" : "socket-demo", "position" : 26, "title" : "socket app demo" }
{ "__v" : 0, "_id" : { "$oid" : "5165d7187f059edd0b000010" }, "content" : "slide creation\n\nApp-wide \"admin\" feature\n\nmarkdown enabled slide editing\n\nslideshow navigation options", "name" : "slideshow-demo", "position" : 27, "title" : "slideshow demo" }
{ "__v" : 0, "_id" : { "$oid" : "5165d87e74716f0a0e000001" }, "content" : "##4-South Studios\n<table>\n<tr>\n <td>Steve Kane</td>\n <td>@stv_kn</td>\n <td>http://github.com/stevekane</td>\n</tr>\n<tr>\n <td>Pete Chen</td>\n <td>@chen_pete</td>\n <td>http://github.com/pchen4South</td>\n</tr>\n</table>\n<br />\nFrequent example-driven Ember tutorials at:\nhttp://stevekane.github.io/", "name" : "questions", "position" : 28, "title" : "questions" }
{ "name" : "blank", "position" : 29, "title" : null, "content" : null, "_id" : { "$oid" : "5165d8b974716f0a0e000002" }, "__v" : 0 }