https://gist.github.com/LTroya/a5a570a651c81697b28fdbca65ea51c2
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
server { | |
listen 80; | |
listen [::]:80; | |
server_name laravel8.io; | |
root /var/www/learning/laravel8/public; | |
index index.php index.html index.htm; | |
gzip on; |
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 java.util.ArrayList; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String args[]) { | |
Integer[] params = getParams(); | |
int size = params[0]; | |
int interval = params[1] + 1; | |
int lastIndex = 0; | |
ArrayList<Integer> children = createArrayList(size); |
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 App\Models\Task; | |
use App\Models\User; | |
use Illuminate\Foundation\Testing\RefreshDatabase; | |
use Tests\TestCase; | |
class KanbanTest 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
<template> | |
<div id="app"> | |
<div class="flex justify-center"> | |
<div class="min-h-screen flex overflow-x-scroll py-12"> | |
<div | |
v-for="column in columns" | |
:key="column.title" | |
class="bg-gray-100 rounded-lg px-3 py-3 column-width rounded mr-4" | |
> | |
<p class="text-gray-700 font-semibold font-sans tracking-wide text-sm">{{column.title}}</p> |
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
server { | |
listen 80; | |
listen [::]:80; | |
# For https | |
# listen 443 ssl; | |
# listen [::]:443 ssl ipv6only=on; | |
# ssl_certificate /etc/nginx/ssl/default.crt; | |
# ssl_certificate_key /etc/nginx/ssl/default.key; |
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
server { | |
listen 80; | |
listen [::]:80; | |
set $MAGE_ROOT /var/www/magento; | |
server_name magento.localhost; | |
root /var/www/magento/pub; | |
index index.php index.html index.htm; |
- Memoria RAM: Kingston HyperX Fury Red HX424C15FR2/8 (1 x 8GB | DIMM DDR4-2400)
- Tarjeta Madre: ASUS PRIME A320M-A
- Procesador: AMD Ryzen 5 2600
- Fuente de Poder: EVGA 600B B1
- Disco M2: Western Digital Blue 3D NAND 500 GB
- Video: EVGA GeForce GTX 1060 GAMING (06G-P4-6161-KR)
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
# Enter into workspace docker container | |
alias workspace="cd ~/Code/laradock && docker-compose exec workspace bash && cd -" | |
# Enter into mysql docker container | |
alias mysql="cd ~/Code/laradock && docker-compose exec mysql bash && cd -" | |
# Enter into nginx docker container | |
alias nginx="cd ~/Code/laradock && docker-compose exec nginx bash && cd -" | |
# Restart nginx after add a new site |
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 class="row"> | |
<div class="col-md-10 col-md-offset-1 pb-20"> | |
<form id="new-revision" class="new-revision" v-on:submit.prevent="submit"> | |
<div class="form-group"> | |
<textarea name="body" id="body" rows="4" class="form-control" placeholder="Do you have something to say?" v-model="form.body"></textarea> | |
</div> | |
<button type="submit" class="btn btn-primary" :disabled="isSubmitting">Add Revision</button> | |
<button type="button" class="btn btn-link" @click="hideReply" v-if="revision" :disabled="isSubmitting">Cancel</button> |
NewerOlder