Skip to content

Instantly share code, notes, and snippets.

View rafamancan's full-sized avatar
💀
𝔪𝔢𝔪𝔢𝔫𝔱𝔬 𝔪𝔬𝔯𝔦

Rafael Mançan rafamancan

💀
𝔪𝔢𝔪𝔢𝔫𝔱𝔬 𝔪𝔬𝔯𝔦
View GitHub Profile
@rafamancan
rafamancan / config
Last active November 6, 2019 02:05 — forked from mswell/config
Terminator nightowl theme
[global_config]
handle_size = 0
window_state = maximise
tab_position = hidden
title_hide_sizetext = True
title_transmit_fg_color = "#bd93f9"
title_transmit_bg_color = "#282a36"
title_receive_fg_color = "#8be9fd"
title_receive_bg_color = "#282a36"
title_inactive_fg_color = "#f8f8f2"
@rafamancan
rafamancan / config-termina-linux.txt
Last active October 25, 2019 02:32
Config my terminal on linux ubuntu
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sudo apt-get install dconf-cli
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zplugin/master/doc/install.sh)"
->
~/.zshrc ->
export ZSH="/home/rmancan/.oh-my-zsh"
{
"workbench.colorTheme": "Material Theme Darker High Contrast",
"editor.fontSize": 16,
"editor.lineHeight": 24,
"editor.fontFamily": "Hack",
"editor.rulers": [80, 120],
"editor.formatOnSave": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
{
@rafamancan
rafamancan / Lamp
Last active August 17, 2019 15:09
sudo apt update
sudo apt upgrade -y
sudo apt install -y apache2
sudo apt install -y php php-cli php-common php-gd php-mbstring php-intl php-xml php-zip php-pear libapache2-mod-php
echo “<?php phpinfo(); ?>” | sudo tee /var/www/html/test.php | sudo service apache2 restart
sudo apt install -y mysql-server mysql-client php-mysql
sudo mysql
CREATE USER 'seu_usuario'@'localhost' IDENTIFIED BY 'sua_senha';
GRANT ALL PRIVILEGES ON *.* TO 'seu_usuario'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
{
// Editor
"editor.fontSize": 18,
"editor.fontFamily": "Menlo",
"editor.fontWeight": "normal",
"editor.lineHeight": 20,
"editor.lineNumbers": "on",
"editor.rulers": [120],
"editor.wordWrap": "off",
"editor.tabSize": 4,
.select2-container .select2-selection--single{
height: auto !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
margin-top: 3px !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
padding-top: 3px;
}
.select2-container--default .select2-selection--single {
Optimize SSD in Ubuntu
https://www.leaseweb.com/labs/2013/07/5-crucial-optimizations-for-ssd-usage-in-ubuntu-linux/