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
| import sbt._ | |
| import Keys._ | |
| import play.Project._ | |
| object ApplicationBuild extends Build { | |
| val appName = "depender" | |
| val appVersion = "1.0-SNAPSHOT" | |
| val appDependencies = Seq( |
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 | |
| class ListHelper { | |
| protected $doctrine; | |
| protected $redis; | |
| public function __construct($doctrine, $redis) | |
| { |
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
| <div class="container"> | |
| <wicket:child /> | |
| </div> |
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
| location / { | |
| if ($request_method = OPTIONS ) { | |
| add_header Access-Control-Allow-Origin "*"; | |
| add_header Access-Control-Allow-Methods "GET, POST, OPTIONS"; | |
| add_header Access-Control-Allow-Credentials "true"; | |
| add_header Access-Control-Allow-Headers 'Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type'; | |
| add_header Content-Length 0; | |
| add_header Content-Type text/plain; | |
| return 200; |
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
| server { | |
| listen 80; | |
| server_name localhost; | |
| access_log /path/to/jolokia.access.log; | |
| location / { | |
| if ($request_method = OPTIONS ) { | |
| add_header Access-Control-Allow-Origin "*"; # <--- customize this | |
| add_header Access-Control-Allow-Methods "GET, POST, OPTIONS"; |
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
| hawtioPluginLoader.parseQueryString = function(text) { | |
| var query = (text || window.location.search || '?'); | |
| if (query instanceof Array) { | |
| query = query.pop(); | |
| } | |
| var map = {}; | |
| query.replace(/([^&=]+)=?([^&]*)(?:&+|$)/g, function(match, key, value) { | |
| (map[key] = map[key] || []).push(value); |
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
| git@github.com:pulse00/Composer-Java-Bindings.git | |
| git@github.com:pulse00/eclipse-indexing-framework.git | |
| git@github.com:pulse00/Doctrine-Eclipse-Plugin.git | |
| git@github.com:pulse00/osgi-bundles.git | |
| git@github.com:pulse00/osgi-repository.git | |
| git@github.com:pulse00/yedit.git | |
| git@github.com:pulse00/Json-Eclipse-Plugin.git | |
| git@github.com:pulse00/Twig-Eclipse-Plugin.git | |
| git@github.com:pdt-eg/Core-Plugin.git | |
| git@github.com:pulse00/Composer-Eclipse-Plugin.git |
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
| <key>CFBundleDocumentTypes</key> | |
| <array> | |
| <dict> | |
| <key>CFBundleTypeRole</key> | |
| <string>Viewer</string> | |
| <key>CFBundleTypeName</key> | |
| <string>PHP Document</string> | |
| <key>CFBundleTypeExtensions</key> | |
| <array> | |
| <string>php</string> |
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
| #!/bin/sh | |
| ########################### | |
| ## Shell script to clone a list of github repositories and run `mvn clean install` on each one of them | |
| ## | |
| ## Usage: put a file called `repos.txt` in the folder of the script containing the repository URLs, line by line: | |
| ## | |
| ##https://github.com/pulse00/Composer-Eclipse-Plugin.git | |
| ##git@github.com:pulse00/Symfony-2-Eclipse-Plugin.git | |
| ##etc |
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 | |
| # php treats first '..' as "current dir" | |
| require_once __DIR__ . '../../vendor/autoload.php'; | |
| require_once __DIR__ . '/../vendor/autoload.php'; |