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
| @mixin cols-width($sizes, $unit:"%") { | |
| @if type-of($sizes) != list { | |
| @if strip-unit($sizes) != $sizes { | |
| $unit: unit($sizes); | |
| } | |
| &.width-#{strip-unit($sizes)} th:nth-child(1), | |
| &.width-#{strip-unit($sizes)} td:nth-child(1) { | |
| width: #{strip-unit($sizes)}#{$unit} | |
| } |
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
| <phpunit bootstrap="vendor/autoload.php" | |
| colors="true" | |
| convertErrorsToExceptions="true" | |
| convertNoticeToExceptions="true" | |
| convertWarningsToExceptions="true" | |
| processIsolation="false" | |
| stopOnFailure="false" | |
| syntaxCheck="false"> | |
| <testsuites> |
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
| #shouldn't be used on production, just for dev | |
| curl -sS https://getcomposer.org/installer | php | |
| php composer.phar install | |
| bin/console doctrine:database:create | |
| bin/console doctrine:schema:update --force | |
| bin/console doctrine:fixture:load -e=prod | |
| bin/console assets:install public_html --symlink | |
| bin/console fos:js-routing:dump --target=public_html/js/routes.js | |
| bin/console assetic:dump public_html/ | |
| bin/console cache:clear -e=prod |
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
| #shouldn't be used on production, just for dev | |
| svn up composer.json | |
| php composer.phar update | |
| svn up | |
| bin/console doctrine:schema:update --force | |
| bin/console doctrine:fixture:load -e=prod | |
| bin/console assets:install public_html --symlink | |
| rm -rf var/cache/* public_html/assetic | |
| bin/console fos:js-routing:dump --target=public_html/js/routes.js | |
| bin/console assetic:dump public_html/ |
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
| Ext.define('DRSI.datasets.AddDocumentsForm', { | |
| extend: 'Ext.window.Window', | |
| title: 'Add Documents', | |
| modal: true, | |
| closable: false, | |
| width: 400, | |
| items: [{ | |
| id: 'DocumentDropZone', | |
| xtype: 'container', |
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
| //you may have some more configs here... | |
| providers: | |
| user: | |
| entity: { class: MyAppBundle:User, property: loginEmail } | |
| admin: | |
| entity: { class: MyAppBundle:Admin, property: username } | |
| firewalls: | |
| dev: | |
| pattern: ^/(_(profiler|wdt)|css|images|js)/ | |
| security: false |
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/bash | |
| EXMSG="Detected that project already exists, please use another one." | |
| PROJEXMSH="Detected that project already exists" | |
| GENERATOR="playground" | |
| if ! which nodejs >/dev/null; then | |
| echo "Install nodejs" | |
| sudo apt-get update | |
| sudo apt-get install nodejs | |
| fi |
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 | |
| /** | |
| * This is project's console commands configuration for Robo task runner. | |
| * | |
| * @see http://robo.li/ | |
| */ | |
| class RoboFile extends \Robo\Tasks | |
| { | |
| const TITLE_PASSED = 'Test Passed'; |
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
| { | |
| "require": { | |
| "phpunit/phpunit": "^4.6", | |
| "halleck45/phpmetrics": "^1.7", | |
| "hirak/prestissimo": "^0.1.4", | |
| "sebastian/phpcpd": "*", | |
| "sebastian/phpdcd": "*", | |
| "phpmd/phpmd": "*", | |
| "squizlabs/php_codesniffer": "*" | |
| } |
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
| alias serve="xdg-open ~/Documents/refresh.html 2>&1 > /dev/null; python -m SimpleHTTPServer 8889" | |
| ------------------------------refresh.html------------------------- | |
| <html> | |
| <head> | |
| <meta http-equiv="refresh" content="1;url=http://localhost:8889/" /> | |
| </head> | |
| <body> | |
| Redirect to <a href="http://localhost:8889">http://localhost:8889</a> | |
| </body> |
OlderNewer