๐
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 | |
| npm init -y | |
| mkdir src | |
| mkdir test | |
| #git clone https://gist.github.com/f69ac30736183bafeb56903b818d9f78.git docker | |
| npm i typescript | |
| npm i -D jest |
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
| listen=YES | |
| listen_ipv6=NO | |
| write_enable=YES | |
| local_umask=022 | |
| chroot_local_user=YES | |
| seccomp_sandbox=NO | |
| allow_writeable_chroot=YES | |
| userlist_enable=YES | |
| userlist_file=/etc/vsftpd.userlist | |
| userlist_deny=NO |
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\Http\Controllers; | |
| use Illuminate\Http\Request; | |
| class WordController extends Controller | |
| { | |
| /** | |
| * Generamos un archivo de word |
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
| version: "3.0" | |
| services: | |
| # Database | |
| db: | |
| image: mysql:5.7 | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| restart: always | |
| environment: |
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 | |
| ruta="/home/gerardo/Descargas/xvideos" | |
| ruta2="/home/gerardo/Descargas/limpias" | |
| read -p "Enter Your File Number: " fileNumber | |
| grep "teen" < $ruta"/"xvideo_part"$fileNumber" | grep "creampie" > $ruta2"/creampie."$fileNumber | |
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 Tests\Feature; | |
| use Tests\TestCase; | |
| use Illuminate\Foundation\Testing\WithFaker; | |
| use Illuminate\Foundation\Testing\RefreshDatabase; | |
| class ExamenesPostTest extends TestCase | |
| { |
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 schedule() { | |
| background.asyncStuff().then(function() { | |
| console.log('Process finished, waiting 5 minutes'); | |
| setTimeout(function() { | |
| console.log('hacer post cada 5 minutos'); | |
| this.post("/url/para/ejecutar/logs") | |
| }, 1000 * 60 * 5); | |
| }).catch(err => console.error('error in scheduler', err)); | |
| })(); |
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
| This issue still exists, but I don't know if this is PMA or something else, anyway as workaround: | |
| ``` | |
| $ docker-compose exec mysql bash | |
| $ mysql -u root -p | |
| ``` | |
| You should be able to login as 'root' or your other password. | |
| Execute the following commands: |
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 Vuex from 'vuex' | |
| import { shallow, createLocalVue } from 'vue-test-utils' | |
| import State from './State.vue' | |
| const localVue = createLocalVue() | |
| localVue.use(Vuex) | |
| describe('State', () => { | |
| it('renders a value from $store.state', () => { | |
| const wrapper = shallow(State, { | |
| mocks: { | |
| $store: { |
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
| using System.Data.Entity; | |
| namespace WebMigrationTest.Models | |
| { | |
| public class Album | |
| { | |
| [Key] public int AlmbumId { get; set; } | |
| [Required()] |
NewerOlder