Skip to content

Instantly share code, notes, and snippets.

View matbrgz's full-sized avatar
🏠
Working from home

Matheus Breguêz matbrgz

🏠
Working from home
View GitHub Profile

+++ title: Proposta Técnica e Comercial Software House description: Esse documento contem uma proposta matadora para garantir suas vendas. template_version: 0.1.0 template_author: Matheus Breguêz language: pt-BR

builder_schema: variables:

#!/usr/bin/env bash
# Author: MatheusRV
# Source: Author and Specific Documentation
# License: GNU GPLv3
# Instructions: Download, exec chmod +x' then run.
# Just run curl -O https://gist.githubusercontent.com/MatheusRV/e2e88118f29c62b6770463573de5baf3/raw/wslinstall.sh && sudo chmod +x wslinstall.sh && sudo ./wslinstall.sh
clear

Book Viewer

Weekend Project. I wanted to build a book viewer that was browsable, searchable and show details of each individual books.

A Pen by Joe on CodePen.

License.

#!/bin/bash -e
sudo apt install ssh
service ssh status
sudo service ssh start
sudo systemctl enable ssh
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic edge
You will need to run:
composer require laravel/socialite
Then follow the directions regarding socialite on: https://laravel.com/docs/
Please review the setup details for socialite including your provider details.
composer create-project laravel/laravel sacsis2018
composer require "grafite/builder"
php artisan vendor:publish --provider="Yab\CrudMaker\CrudMakerProvider"
php artisan vendor:publish --provider="Yab\FormMaker\FormMakerProvider"
php artisan grafite:starter
php artisan grafite:socialite
php artisan crudmaker:new Orador --ui=bootstrap --migration --schema="id:increments,name:string,company:string,cpf:integer,rg:integer,cellphone:integer,facebook:string,twitter:string,linkedin:string,avatar:string" --relationships="hasMany|App\Palestra|palestra,hasMany|App\Workshop|workshop"
php artisan crudmaker:new Participante --ui=bootstrap --migration --schema="id:increments,name:string,company:string,institution:string,entryYear:integer,cpf:integer,rg:integer,cellphone:integer,facebook:string,twitter:string,linkedin:string,avatar:string,organizer:string" --relationships="hasMany|App\Palestra|palestra,hasMany|App\Workshop|workshop"
@matbrgz
matbrgz / UnisexBathroom.py
Created April 27, 2018 02:18
Problema do Banheiro Unissex - 3 Cenários utilizando semáforos
from multiprocessing import Process, Queue
import threading
import random
import time
from time import sleep
import os
# constantes
MALE = 1
FEMALE = 0
Please review the setup details for notifications.
You will want to add things like:
These links:
<li><a href='{!! url('user/notifications') !!}'><span class='fa fa-envelope-o'></span> Notifications</a></li>
<li><a href='{!! url('admin/notifications') !!}'><span class='fa fa-envelope-o'></span> Notifications</a></li>
#!/bin/bash
# Author: MatheusRV
# Source:
# License:
# Instructions:
#Bash Config
#vi .bash_aliases.
#export PATH=~/.composer/vendor/bin:$PATH.
@matbrgz
matbrgz / wp.sh
Created March 17, 2018 22:35 — forked from bgallagh3r/wp.sh
Wordpress: Bash Install Script -- Downloads latest WP version, updates wp-config with user supplied DB name, username and password, creates and CHMOD's uploads dir, copies all the files into the root dir you run the script from, then deletes itself!
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "