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 | |
| # | |
| # ifup hook script for resolvconf | |
| # | |
| # This file is part of the resolvconf package. | |
| # | |
| # Interface of the internet | |
| INTERFACE=`route | grep '^default' | grep -o '[^ ]*$'` |
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
| /** | |
| * Class to check up e-mail | |
| * | |
| * @author Konstantin Granin <[email protected]> | |
| * @copyright Copyright (c) 2010, Konstantin Granin | |
| */ | |
| class VerifyEmail { | |
| /** |
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
| [Desktop Entry] | |
| Type=Application | |
| Name=Optimus | |
| Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto" | |
| NoDisplay=true | |
| X-GNOME-Autostart-Phase=DisplayServer |
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
| Section "ServerLayout" | |
| Identifier "layout" | |
| Screen 0 "nvidia" | |
| Inactive "intel" | |
| EndSection | |
| Section "Device" | |
| Identifier "nvidia" | |
| Driver "nvidia" | |
| BusID "PCI:1:0:0" |
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
| Promise.all([ | |
| promise1, | |
| promise2, | |
| promise3 | |
| ]).then(() => { | |
| return this.$router.push({'name': 'minha rota'}) | |
| }) |
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\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| use BotMan\BotMan\Cache\LaravelCache; | |
| use BotMan\BotMan\Storages\Drivers\FileStorage; | |
| use BotMan\BotMan\BotManFactory; | |
| use BotMan\Drivers\Facebook\FacebookDriver; | |
| use BotMan\BotMan\Drivers\DriverManager; |
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 | |
| 'minio' => [ | |
| 'driver' => 's3', | |
| 'endpoint' => env('MINIO_ENDPOINT', 'https://127.0.0.1:9000'), | |
| 'use_path_style_endpoint' => true, | |
| 'key' => env('AWS_KEY'), | |
| 'secret' => env('AWS_SECRET'), | |
| 'region' => env('AWS_REGION'), | |
| 'bucket' => env('AWS_BUCKET'), | |
| ], |
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
| // Controller | |
| // Metodo do controle que faz a chacagem | |
| protected function checkRecaptcha($token, $ip) | |
| { | |
| $response = (new Client)->post('https://www.google.com/recaptcha/api/siteverify', [ | |
| 'form_params' => [ | |
| 'secret' => config('services.recaptcha.secret'), | |
| 'response' => $token, |
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
| <template> | |
| <div> | |
| </div> | |
| </template> | |
| <script> | |
| /** | |
| * base: https://github.com/finpo/vue2-recaptcha-invisible | |
| *global window document | |
| */ |
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
| doOnSaved (entity) { | |
| entity = prepareEntity(entity) | |
| const entities = this.entities.data | |
| const current = entities.find(row => row.id === entity.id) | |
| if (current === undefined) { | |
| entities.push(entity) | |
| } | |
| else { | |
| entities[entities.indexOf(current)] = entity |