Skip to content

Instantly share code, notes, and snippets.

View matheus-souza's full-sized avatar
🚀
In search of knowledge

Matheus Henrique de Souza matheus-souza

🚀
In search of knowledge
View GitHub Profile
{
"workbench.colorTheme": "Dracula",
// Configura tamanho e família da fonte
"editor.fontSize": 16,
// "editor.lineHeight": 24,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"explorer.compactFolders": false,
{
"ignored_packages":
[
"Vintage",
],
"theme": "Material-Theme-Palenight.sublime-theme",
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Palenight.tmTheme",
"draw_white_space": "all",
"font_face": "Fira Code",
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"BracketHighlighter",
"Color Highlight",
#!/bin/bash
### Variáveis
PROGRAMAS_APT=(
git
git-flow
google-chrome-stable
deepin-terminal
deepin-screen-recorder
gnome-tweak-tool
@matheus-souza
matheus-souza / Vagrantfile
Created September 18, 2018 18:58 — forked from psyao/Vagrantfile
Vagrant config file and provisioning script
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Box to build off of.
config.vm.box = "precise32"
alias sup='/home/matheush/solis/atualiza-solisge-todos.sh'
alias dk='docker kill $(docker ps -q)'
alias dps='docker ps'
alias kap='sudo /etc/init.d/postgresql stop && sudo /etc/init.d/apache2 stop'
alias sap='sudo /etc/init.d/postgresql start && sudo /etc/init.d/apache2 start'
alias direport='docker-compose --file /home/matheush/docker/dockerfiles/ireport/docker-compose.yml up -d'
# person aliases
alias soup='sudo apt update && sudo apt upgrade -y && sudo snap refresh && sudo apt autoremove -y && sudo apt autoclean -y && sudo apt clean -y'
alias solisgeup='sudo /var/www/solisge/atualizar.sh'
@matheus-souza
matheus-souza / run.sh
Created November 21, 2017 21:14
Run with Laradock in Laravel project
cd ./laradock
docker-compose up -d nginx postgres
docker-compose exec --user=laradock workspace bash
@matheus-souza
matheus-souza / aviso.sh
Created October 7, 2017 17:03
Script criar um alias que gera uma notivicação ao terminar um processo
#!/bin/bash
# Script criar um alias que gera uma notivicação ao terminar um processo
# desenvolvido por Matheus Henrique de Souza
# Mail: mh.matheussouza@gmail.com
# Data de criação: 07-10-2017
echo "alias aviso='notify-send --icon=utilities-terminal \"Aviso\" \"O processo que estava monitorando chegou ao fim\"'" >> ~/.bashrc
<?xml version="1.0" encoding="UTF-8"?><!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
Other names may be trademarks of their respective owners.
The contents of this file are subject to the terms of either the GNU General Public
License Version 2 only ("GPL") or the Common Development and Distribution
@matheus-souza
matheus-souza / restore_dump_gz.sh
Created August 29, 2017 16:17
Restoring database .gz file
gunzip -c dbdump.sql.gz | psql -Upostgres database