This file contains 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 | |
use Behat\Behat\Context\Context; | |
use Behat\Gherkin\Node\PyStringNode; | |
use Behat\Gherkin\Node\TableNode; | |
use Tests\TestCase; | |
use Behat\Behat\Tester\Exception\PendingException; | |
use Illuminate\Foundation\Testing\DatabaseMigrations; | |
use App\User; | |
use Behat\Behat\Hook\Scope\BeforeScenarioScope; |
This file contains 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
<?xml version="1.0"?> | |
<ruleset name="PHP_CodeSniffer"> | |
<description>Coding standard for a Laravel app.</description> | |
| |
<file>app</file> | |
<file>tests</file> | |
| |
| |
<exclude-pattern>*/migrations/*</exclude-pattern> | |
|
This file contains 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 ipaddress import ip_network | |
ip_ranges = [ | |
'192.168.1.0/24', |
This file contains 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
let g:polyglot_disabled = ['markdown'] | |
call plug#begin() | |
" Project | |
Plug 'ahmedkhalf/project.nvim' | |
" Search | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'junegunn/fzf.vim' | |
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} |
This file contains 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 Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration; | |
use PHPUnit\Framework\TestCase as BaseTestCase; | |
class SimpleTestCase extends BaseTestCase | |
{ | |
use MockeryPHPUnitIntegration; |
This file contains 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
//@flow | |
import React from 'react'; | |
import useFetch from './Hooks/useFetch'; | |
import marked from 'marked'; | |
import './App.css'; | |
type Data = { | |
posts: Array<{ | |
title: string, | |
slug: string, |
This file contains 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
vim.g.polyglot_disabled = 'markdown' | |
local Plug = vim.fn['plug#'] | |
vim.call('plug#begin') | |
--Project | |
Plug('ahmedkhalf/project.nvim') | |
--Search | |
Plug('junegunn/fzf', {['do'] = vim.fn['fzf#install']}) | |
Plug('junegunn/fzf.vim') |
This file contains 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
export OPENSSL_PREFIX=$(brew --prefix [email protected]) | |
export OPENSSL_CFLAGS="-I${OPENSSL_PREFIX}/include" | |
export OPENSSL_LIBS="-L${OPENSSL_PREFIX}/lib -lcrypto -lssl" | |
phpbrew --debug install -j 12 8.1 +default -- --with-openssl="shared,${OPENSSL_PREFIX}" --without-pcre-jit |
This file contains 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
let g:polyglot_disabled = ['markdown'] | |
call plug#begin() | |
" NERDTree | |
Plug 'preservim/nerdtree' | |
" Git integration | |
Plug 'tpope/vim-fugitive' | |
Plug 'airblade/vim-gitgutter' |
This file contains 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
{ | |
"description": "Ingest pipeline created by text structure finder", | |
"processors": [ | |
{ | |
"grok": { | |
"field": "message", | |
"patterns": [ | |
"\\[%{HTTPDATE:timestamp}\\] .*?%{GREEDYDATA:domain_name}:%{NUMBER:port} .*?%{IP:ipaddress}.*? .*? .*? .*?%{QUOTEDSTRING:request} %{INT:status_code} %{INT:size} %{QUOTEDSTRING:referrer} %{QUOTEDSTRING:user_agent}" | |
], | |
"ecs_compatibility": "v1" |
OlderNewer