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
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 |
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 | |
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 |
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
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) | |
); |
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
ALTER TABLE floods ADD (temperature float null, humidity float null, precipitation float null, pressure float null); |