quinta-feira, 14 de março de 2024

sábado, 9 de março de 2024

checar se um script em shell script está em execução

$ ps aux | grep meuscript.sh

 

Essential Packages LinuxMint

gimp

krita 

inkscape

imagemagick

handbrake

sox

feh

sxiv

i3

lxappearance

firefox

i3blocks

scrot

rofi

xbacklight 

pandoc

detox

vim

virtualbox

kitty

arandr

4k video downloader 

ffmpeg

vlc

mplayer

mpv

links

links2

audacity

gcc

git

htop

irssi

kdenlive 

obsstudio

nordvpn

tor

blender

zip

unzip

unrar

yad

dialog

fzf

xcalib

brightnessctl

pv

cava

quinta-feira, 7 de março de 2024

To-Do list 2.0

# To-Do List
export TODO="${HOME}/Documentos/todo.txt"

# Ensure the todo file exists
touch "$TODO"

# Function to add or list tasks
tla() {
    if [ $# -eq 0 ]; then
        # List tasks with line numbers
        nl -w 1 -s '. ' "$TODO"
    else
        # Add the task to the list
        echo "→  $*" >> "$TODO"
        echo "Task added."
    fi
}

# Function to remove tasks
tlr() {
    if [ $# -eq 0 ]; then
        echo "Select a task to delete (enter number) or press ENTER to delete all tasks:"
        nl -w 1 -s '. ' "$TODO"
        read -p "Number: " choice
        if [ -z "$choice" ]; then
            read -p "Are you sure you want to delete all tasks? [y/N] " confirm
            if [[ $confirm =~ ^[Yy]$ ]]; then
                > "$TODO"
                echo "All tasks deleted."
            fi
        else
            sed -i "${choice}d" "$TODO"
            echo "Task $choice deleted."
        fi
    else
        echo "Removing tasks matching: $*"
        sed -i "/$*/d" "$TODO"
        echo "Matching tasks removed."
    fi
}

# Function to search for a word in tasks
tls() {
    if [ $# -eq 0 ]; then
        echo "Please provide a word to search for."
        return 1
    fi
    echo "Searching for '$*' in tasks:"
    grep -i --color=always "$*" "$TODO"
}

segunda-feira, 4 de março de 2024

Krita Workspace / Espaço de trabalho

Sobre workspace

Os arquivos de workspace do Krita tem a extensão kws para acessar o diretório aonde são salvos abra o Krita

Settings > Manage resources > Open resource folder

ou em portugues

Configurações > Gerenciador de recursos > Abrir pasta de recursos

OBS: você pode salvar os arquivos kws e importa-los novamente caso deseje

sexta-feira, 1 de março de 2024

IA Criar imagens

https://leonardo.ai/

https://www.freepik.com/

https://huggingface.co/spaces/jbilcke-hf/ai-comic-factory

https://www.craiyon.com/

https://picsart.com/

https://www.bing.com/images/create?FORM=GENILP

https://hotpot.ai/

https://creator.nightcafe.studio/

https://starryai.com/ 

https://pixlr.com/br/

https://app.prodia.com/