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
| # Security Template | |
| This repository handles production user data and privileged database access. Treat security requirements as **non-optional**. | |
| ## Agent Rules (MUST FOLLOW) | |
| - **No secrets in code** | |
| - Never commit: Service role keys, JWT secrets, database passwords, API keys. | |
| - Client-side env vars must be limited to `NEXT_PUBLIC_*` and must be non-sensitive. |
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
| (function() { | |
| var jQuery = document.querySelector('iframe').contentWindow.jQuery; | |
| jQuery('.activityName').each(function(){ | |
| var $this = jQuery(this); | |
| $this.css({ | |
| overflow:'auto', | |
| width:'200px' | |
| }); |
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 | |
| # thanks http://www.jenssegers.be/blog/46/deploying-websites-with-git-and-composer- | |
| # replace folder | |
| cd "`dirname $0`/../../application/config" | |
| # Check if a composer.json file is present | |
| if [ -f composer.json ]; then |
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 | |
| namespace Employee\Model; | |
| class Bank | |
| { | |
| public $id; | |
| public $name; | |
| public $bic; |
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 | |
| namespace Authentication\Controller; | |
| use Employee\Model\EmployeeTable; | |
| use Main\Form\LoginForm; | |
| use Zend\Authentication\Adapter\DbTable\CredentialTreatmentAdapter; | |
| use Zend\Authentication\AuthenticationService; | |
| use Zend\Db\Sql\Select; | |
| use Zend\Mvc\Controller\AbstractActionController; |