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
| <?php | |
| use Symfony\Component\ClassLoader\ApcClassLoader; | |
| use Symfony\Component\HttpFoundation\Request; | |
| $loader = require_once __DIR__.'/../app/bootstrap.php.cache'; | |
| // Use APC for autoloading to improve performance | |
| $loader = new ApcClassLoader('sf2', $loader); | |
| $loader->register(true); |
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
| // KunstmaanAdminBundle | |
| $bundles[] = new FOS\UserBundle\FOSUserBundle(), | |
| $bundles[] = new Knp\Bundle\MenuBundle\KnpMenuBundle(), | |
| $bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(), | |
| $bundles[] = new Kunstmaan\AdminBundle\KunstmaanAdminBundle(), | |
| // KunstmaanMediaBundle | |
| $bundles[] = new Liip\ImagineBundle\LiipImagineBundle(), | |
| $bundles[] = new Knp\Bundle\GaufretteBundle\KnpGaufretteBundle(), | |
| $bundles[] = new Kunstmaan\MediaBundle\KunstmaanMediaBundle(), | |
| // KunstmaanPagePartBundle |
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
| #!/usr/bin/ruby | |
| require 'json' | |
| require 'open-uri' | |
| require 'yaml' | |
| command = ARGV[0] | |
| if command == "install-bundles" | |
| puts "Let's install the bundles" |
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
| jms_security_extra: | |
| secure_all_services: false | |
| expressions: true | |
| security: | |
| encoders: | |
| Symfony\Component\Security\Core\User\User: plaintext | |
| role_hierarchy: | |
| ROLE_ADMIN: ROLE_USER |
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
| #!/usr/bin/env node | |
| var colors = require('colors'); | |
| var program = require('commander'); | |
| program | |
| .version('0.0.1') | |
| .option('-v, --verbose', 'Show verbose logging') | |
| program |
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 colors = require('colors'); | |
| console.log('Hello World!'.red); |
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
| console.log('Hello World!'); |
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 newline to ASCII character 10 | |
| tell application "Mail" | |
| using terms from application "Mail" | |
| set selectedMails to selection | |
| set eachMessage to first item of selectedMails | |
| set the selected_message to item 1 of eachMessage | |
| set message_id to urlencode(the message id of eachMessage) of me | |
| set message_body to content of eachMessage |
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
| tell application "Mail" | |
| using terms from application "Mail" | |
| set selectedMails to selection | |
| set theMessage to first item of selectedMails | |
| set theBody to "message:%3C" & message id of theMessage & "%3E" | |
| set theSubject to the subject of theMessage & " (From " & the sender of theMessage & ")" | |
| tell application "Reminders" | |
| set theList to list "Inbox" | |
| set newToDo to make new reminder with properties {name:theSubject, body:theBody, container:theList} | |
| end tell |
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
| tell application "Mail" | |
| using terms from application "Mail" | |
| set selectedMails to selection | |
| set theMessage to first item of selectedMails | |
| set theBody to "message:%3C" & message id of theMessage & "%3E" | |
| set theSubject to the subject of theMessage & " (From " & the sender of theMessage & ")" | |
| tell application "Reminders" | |
| set theList to list "Inbox" | |
| set newToDo to make new reminder with properties {name:theSubject, body:theBody, container:theList} | |
| end tell |