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
//project/android/app/build.gradle | |
defaultConfig { | |
minSdkVersion rootProject.ext.minSdkVersion | |
targetSdkVersion rootProject.ext.targetSdkVersion | |
versionCode 1 | |
versionName "1.0" | |
multiDexEnabled true // add this line ;) | |
} |
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
#!/usr/bin/env bash | |
# ----------------------------- VARIÁVEIS ----------------------------- # | |
PPA_LIBRATBAG="ppa:libratbag-piper/piper-libratbag-git" | |
PPA_GRAPHICS_DRIVERS="ppa:graphics-drivers/ppa" | |
PPA_ULAUNCHER="ppa:agornostal/ulauncher" | |
PPA_DOCKER="https://download.docker.com/linux/ubuntu" | |
URL_MICROSOFT_PROD="https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb" | |
URL_HYPER_TERMINAL="https://releases.hyper.is/download/deb" | |
URL_ULAUNCHER="https://github.com/Ulauncher/Ulauncher/releases/download/5.8.0/ulauncher_5.8.0_all.deb" |
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
{ | |
"security.workspace.trust.untrustedFiles": "open", | |
"workbench.editor.labelFormat": "short", | |
"workbench.iconTheme": "material-icon-theme", | |
"breadcrumbs.filePath": "on", | |
"breadcrumbs.enabled": true, | |
"files.eol": "\n", |
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
"use strict"; | |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', | |
// default font size in pixels for all tabs |
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
# 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="/home/angelo/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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
[user] | |
name = Angelo Evangelista | |
email = angeloevan.ane@gmail.com | |
[core] | |
editor = code | |
excludesfile = ~/gitignore | |
quotepath = false | |
[color] | |
status = auto | |
branch = auto |
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
Section "Module" | |
Load "dri3" | |
EndSection | |
Section "Device" | |
Identifier "Intel Graphics" |
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
sudo cp -vR /usr/share/pulseaudio/alsa-mixer/paths /usr/share/pulseaudio/alsa-mixer/paths_backup | |
sudo perl -pi -0 -e 's/(\[[A-Za-z ]*Mic Boost\][A-Za-z._=\s-]+volume *= *)merge/\1zero/g;' /usr/share/pulseaudio/alsa-mixer/paths/* | |
sudo diff -r -C 5 /usr/share/pulseaudio/alsa-mixer/paths_backup /usr/share/pulseaudio/alsa-mixer/paths |
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
#!/bin/bash | |
mkdir -p ./aula/SO/arquivos aula/SO/textos aula/SO/trabalhos | |
cd aula | |
for i in 1 2 3 4 5 6; | |
do | |
touch $i.txt; | |
done; |
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
const convertMinutes = (totalInMinutes, short = false) => { | |
let hours = Math.floor(totalInMinutes / 60).toFixed(0); | |
const minutes = totalInMinutes % 60; | |
const days = Number(Math.floor(hours / 24).toFixed(0)); | |
hours = hours % 24; | |
let result = ''; |
OlderNewer