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\JsonResponse; | |
use Symfony\Component\HttpFoundation\Response; | |
class ProductsController extends Controller | |
{ |
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 App\Models\Product; | |
use Illuminate\Http\JsonResponse; | |
use App\Http\Requests\ProductRequest; | |
use Symfony\Component\HttpFoundation\Response; | |
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
buildscript { | |
repositories { | |
jcenter() | |
google() | |
} | |
// Switch the Android Gradle plugin version requirement depending on the | |
// installed version of Gradle. This dependency is documented at | |
// http://tools.android.com/tech-docs/new-build-system/version-compatibility | |
// and https://issues.apache.org/jira/browse/CB-8143 |
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: '2' | |
services: | |
app: | |
image: golang:1.10-alpine3.7 | |
container_name: go | |
volumes: | |
- "./src:/go/src/" | |
ports: | |
- "80:8080" |
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; | |
server_name degraucultural.wama.com.br; | |
root /var/www/degraucultural/public; | |
index index.html index.htm index.php; | |
charset utf-8; | |
location / { | |
try_files $uri $uri/ /index.php$is_args$args; |
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: '2' | |
networks: | |
wama: | |
driver: bridge | |
services: | |
folhadirigida_php: | |
image: estrategiamktdigital/php7.1-builtin-imagick-ghostscript-bower | |
container_name: folhadirigida |
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
CREATE OR REPLACE VIEW view_playlists_videos AS | |
(SELECT | |
videos.id, | |
videos.titulo, | |
videos.slug, | |
videos.duracao_segundos, | |
videos.imagem_destacada, | |
videos.hits, | |
videos.content_type_id, | |
videos.published_at, |
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
# v2 syntax | |
version: '2' | |
# Named volumes | |
volumes: | |
# MySQL Data | |
<app-name>-mysql-data: | |
driver: local | |
services: |
NewerOlder