Skip to content

Instantly share code, notes, and snippets.

View dbrax's full-sized avatar
💭
actively coding

Emmanuel Paul Mnzava dbrax

💭
actively coding
View GitHub Profile
@dbrax
dbrax / .php-cs-fixer.php
Created June 22, 2022 07:19 — forked from laravel-shift/.php-cs-fixer.php
PHP CS Fixer - Laravel Coding Style Ruleset
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',
@dbrax
dbrax / flutter_setup.md
Created July 25, 2021 14:55 — forked from bradtraversy/flutter_setup.md
Flutter dev setup & notes
@dbrax
dbrax / .zshrc
Last active May 19, 2021 07:03 — forked from kenziebottoms/.zshrc
oh-my-zsh shortcuts
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh
DEFAULT_USER="emmanuel"
ZSH_THEME="emmastyle"
@dbrax
dbrax / composer.json
Created April 10, 2021 10:57
ultimate laravel composer json
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel",
"epmnzava",
"tigosecure",
"tigo",
@dbrax
dbrax / run tests github action workflow
Created April 8, 2021 09:14
run tests github action workflow
name: run-tests
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
@dbrax
dbrax / gist:e582d03f243dc31dd7f483fa0411d39d
Created April 7, 2021 10:59
Forcing https on .htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
See more on https tricks here: https://hostnasi.com/index.php/knowledgebase/5/-SSL-Certificates-