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 gv='goss validate' |
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 App\Console; | |
| use Illuminate\Console\Scheduling\Schedule; | |
| use Illuminate\Foundation\Console\Kernel as ConsoleKernel; | |
| class Kernel extends ConsoleKernel | |
| { | |
| /** |
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 { | |
| sleep, | |
| group | |
| } from "k6"; | |
| import http from "k6/http"; | |
| export const options = { | |
| stages: [{ | |
| duration: "1m", | |
| target: 10 |
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
| name: Unit tests | |
| on: [push] | |
| jobs: | |
| phpunit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Copy .env |
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
| // upload des images dans un dossiers externe a l'application | |
| public function postAction() | |
| { | |
| $config = Zend_Registry::get(Cadif_Enum_RegistryKeys::CONFIG); | |
| $dossier = $config->application->uploadCommonPath . $_POST['id_contenu']; // dossier avec numero de contenu | |
| $nom_du_fichier_recu = $_FILES["file"]['name']; | |
| $mon_fichier = $dossier . DIRECTORY_SEPARATOR . $nom_du_fichier_recu; | |
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
| .toto { | |
| border : 1px dotted black; | |
| padding: 10px; | |
| } |
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
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| background: #f06; | |
| background: linear-gradient(45deg, #f06, yellow); | |
| min-height: 100%; |
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
| *. { | |
| box-sizing: border-box; | |
| } | |
| body{ | |
| margin: 0; | |
| min-width:100vw; | |
| min-height:100vh;} | |
| .centrer{ |
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
| *. { | |
| box-sizing: border-box; | |
| } | |
| body{ | |
| margin: 0; | |
| min-width:100vw; | |
| min-height:100vh;} | |
| .centrer{ |
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
| *. { | |
| box-sizing: border-box; | |
| } | |
| body{ | |
| min-width:100vw; | |
| min-height:100vh;} | |
| .centrer{ | |
| position:absolute; |