- Criar o lançador normalmente
- Localizar o lançador criado
- Criar o script para controlar o lançador
- Apontar o lançador para executar o script
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 | |
# NOTE: Xfce panel position scheme ------------------------------------------- | |
# (6)--(11)---(9)--(11)--(2) | |
# | | | |
# (5) (1) | |
# | | | |
# (7) (0) (3) | |
# | | |
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 | |
# Copyright (C) 2014 Julien Bonjean <[email protected]> | |
# Copyright (C) 2014 Alexander Keller <[email protected]> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, |
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 | |
# ----------------------------------------------------------- | |
# Script : f2m.sh | |
# Description : Suckless file manager for CLI and GE | |
# Author : Blau Araujo <[email protected]> | |
# Version : 0.01 (dev) | |
# Date : Dec 07, 2019 | |
# License : GNU/GPL v3.0 | |
# ----------------------------------------------------------- |
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
# Apache | |
sudo apt install apache2 apache2-utils | |
sudo a2enmod rewrite | |
sudo systemctl restart apache2.service | |
# Pasta public_html do usuário padrão... | |
mkdir -p "$HOME/public_html" | |
sudo ln -s "$HOME/public_html" "/var/www/html/$USER" | |
# MariaDB |
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
[Desktop Entry] | |
Type=Application | |
Name= | |
Comment= | |
Icon= | |
Exec= | |
Categories= | |
Terminal=false | |
NoDisplay=false |
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
Para criar páginas e projetos do Xampp na sua própria pasta pessoal: | |
1 - Na sua pasta pessoal, crie uma pasta chamada "public_html": | |
mkdir ~/public_html | |
2 - Crie um link simbólico da sua pasta "~/public_html" na pasta "/opt/lampp/htdocs/seu_nome_de_usuario": | |
sudo ln -s ~/public_html /opt/lampp/htdocs/$USER |
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
# Basta incluir o código abaixo no mesmo arquivo onde você define os seus aliases (~/.bashrc ou ~/.bash_aliases, por exemplo) | |
# man pages | |
mp() { | |
[[ -n $1 ]] && man $1 && return | |
local page=$(man -k . | fzf --reverse -e -i --tiebreak=begin) | |
[[ -n $page ]] && man ${page%% *} | |
} | |
# Completar entradas do manual na função 'mp' | |
_autocomplete_mp() { |
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 | |
clear | |
echo "Testando os operadores de atribuição... | |
" | |
read -p "Digite um valor: " valor | |
read -p "Digite um operando: " operando |
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 | |
clear | |
echo "\ | |
Operadores Aritméticos Básicos: | |
** exponenciação | |
*, /, % multiplicação, divisão, resto de divisão | |
+, - adição, subtração |
NewerOlder