TestToReturn
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; | |
| use Illuminate\Foundation\Http\FormRequest; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Support\Facades\Validator; |
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
| filters: { | |
| name: { value: 'Rafael G Firmino' }, | |
| email: { value: '[email protected]' }, | |
| person_type: { value: 'legal_person' }, | |
| gender: { value: true, boolean: true }, | |
| city: { value: 'Belo Horizonte' }, | |
| state: { value: 'Minas Gerais' }, | |
| is_brazilian: { value: null }, | |
| 'classification.id': { value: null }, |
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
| filters: { | |
| name: { value: null }, | |
| email: { value: null }, | |
| person_type: { value: null }, | |
| gender: { value: null, boolean: true }, | |
| city: { value: null }, | |
| state: { value: null }, | |
| is_brazilian: { value: null }, | |
| 'classification.id': { value: null }, | |
| type: { value: null }, |
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
| const webpack = require('webpack'); | |
| // used in vue cli 3 | |
| module.exports = { | |
| configureWebpack: { | |
| resolve: { | |
| extensions: ['.js'], | |
| alias: { | |
| 'jquery': 'jquery/dist/jquery.min', | |
| } |
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
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
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 default_server; | |
| listen [::]:80 default_server; | |
| root /your/root/path; | |
| index index.html; | |
| server_name you.server.com; |
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 | |
| // API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = array( $_GET['id'] ); | |
| // prep the bundle | |
| $msg = array |
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
| from pyquery import PyQuery as pq | |
| import os | |
| import urllib | |
| import re | |
| ANIME_NAME = "Charlotte2/" | |
| LINK_DA_PAGINA_DO_ANIME = "http://www.animeai.net/318337.html" | |
| TAG_PAI_DA_LISTA_DE_ANIME = "#lcp_instance_0" | |
| os.system('[ -e out.html ]&& rm file; wget -c "'+LINK_DA_PAGINA_DO_ANIME+'" --user-agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0" -O "out.html"') |