Skip to content

Instantly share code, notes, and snippets.

View lucasalvessouza's full-sized avatar
🎯
Focusing

Lucas Alves lucasalvessouza

🎯
Focusing
View GitHub Profile
@lucasalvessouza
lucasalvessouza / git_log_compile.sh
Created October 14, 2021 02:42
Projects git log compile
ROOT_PATH=$PWD
for repository in */; do
cd $ROOT_PATH/"$repository"
LOG_OUTPUT=$(git log --pretty=format:'%s' --since="1a.m" --author='Lucas Souza')
if [ ! -z "$LOG_OUTPUT" ]
then
echo "Project $repository"
echo "$LOG_OUTPUT \n"
fi
done
@lucasalvessouza
lucasalvessouza / install_postaman.sh
Created February 19, 2019 19:47
Install postman fedora
#!/bin/bash
wget https://dl.pstmn.io/download/latest/linux64 -O postman-linux-x64.tar.gz
sudo tar xvzf postman-linux-x64.tar.gz -C /opt
sudo ln -s /opt/Postman/Postman /usr/bin/postman
cat << EOF > ~/.local/share/applications/postman2.desktop
[Desktop Entry]
Name=Postman
GenericName=API Client
CREATE TABLE data_climate (
id int NOT NULL AUTO_INCREMENT,
data varchar(25) NOT NULL,
id_event varchar(20),
json_data varchar(500),
PRIMARY KEY (id)
);
ALTER TABLE floods ADD (temperature float null, humidity float null, precipitation float null, pressure float null);