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
| class Printer | |
| constructor: (info) -> | |
| @name = info.name | |
| print: () -> | |
| console.log(@name) | |
| printer = new Printer(name: 'Nico') | |
| # Result: | |
| var Printer, printer; |
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
| Printer = (info) -> | |
| @name = info.name | |
| Printer.prototype.print = () -> console.log(@name) | |
| # Result | |
| Printer = function(info) { | |
| return this.name = info.name; | |
| }; |
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
| var fs = require('fs'), | |
| mmd = require('musicmetadata'); | |
| // Parser | |
| var walk = function(dir, done) { | |
| var results = []; | |
| fs.readdir(dir, function(err, list) { | |
| if (err) return done(err); | |
| var i = 0; | |
| (function next() { |
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
| {"1000_words":{"title":"1000 Words","artist":["Hiroko Kokubu"],"album":"Final Fantasy X-2: Piano Collections"},"akagi_party":{"title":"Akagi Party","artist":["Masahiro Sayama"],"album":"Final Fantasy X-2: Piano Collections"},"calm_lands":{"title":"Calm Lands","artist":["Hiroko Kokubu"],"album":"Final Fantasy X-2: Piano Collections"},"creature_creation":{"title":"Creature Creation","artist":["Masahiro Sayama"],"album":"Final Fantasy X-2: Piano Collections"},"demise":{"title":"Demise","artist":["Febian Reza Pane"],"album":"Final Fantasy X-2: Piano Collections"},"epilogue_reunion":{"title":"Epilogue ~Reunion~","artist":["Shinko Ogata"],"album":"Final Fantasy X-2: Piano Collections"},"eternity_memories_of_light_waves":{"title":"Eternity ~Memories of Light & waves~","artist":["Hiroko Kokubu"],"album":"Final Fantasy X-2: Piano Collections"},"nightmare_in_a_cave":{"title":"Nightmare in a Cave","artist":["Shinko Ogata"],"album":"Final Fantasy X-2: Piano Collections"},"paines_theme":{"title":"Paine's Theme","artist":[ |
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
| <h3>Popular genres</h3> | |
| <ul> | |
| {% for genre in popularGenres %} | |
| {% set genreObj = genre[0] %} | |
| <li>{{ genreObj.name }} ({{ genre.movie_count }} movies)</li> | |
| {% endfor %} | |
| </ul> |
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
| services: | |
| moviebundle.form.movietype: | |
| class: Acme\MovieBundle\Form\MovieType | |
| arguments: | |
| - @doctrine.orm.entity_manager |
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
| {% set movie_value %} | |
| {% trans %} | |
| One movie | |
| {% plural genre.movie_count %} | |
| {{ count }} movies | |
| {% endtrans %} | |
| {% endset %} |
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
| web1: | |
| shared_writable_dirs: | |
| - app/cache | |
| - app/logs | |
| document_root: web | |
| default_gateway: app.php | |
| index_list: [app.php] | |
| php_version: 5.4.4 |
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
| movies|master ⇒ git push pagoda master | |
| Counting objects: 5, done. | |
| Delta compression using up to 2 threads. | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 305 bytes, done. | |
| Total 3 (delta 2), reused 0 (delta 0) | |
| :: Auto deploy enabled for 'master' | |
| +> to change, visit https://dashboard.pagodabox.com/apps/rigid-rhonda/admin | |
| :: Deploying to b04fd05 on master |
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
| movies|master ⇒ git push pagoda master | |
| Counting objects: 9, done. | |
| Delta compression using up to 2 threads. | |
| Compressing objects: 100% (5/5), done. | |
| Writing objects: 100% (7/7), 118.35 KiB, done. | |
| Total 7 (delta 2), reused 0 (delta 0) | |
| :: Auto deploy enabled for 'master' | |
| +> to change, visit https://dashboard.pagodabox.com/apps/rigid-rhonda/admin | |
| :: Deploying to e5ff538 on master |