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
for file in part_*.sql; do | |
mysql -u root -p'yourpass' DBNAME < "$file" | |
if [ $? -ne 0 ]; then | |
echo "Erro ao importar o arquivo: $file" | |
break | |
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
<style> | |
.snowflake { | |
color: #fff; | |
font-size: 1em; | |
font-family: Arial; | |
text-shadow: 0 0 1px #000; | |
} | |
@-webkit-keyframes snowflakes-fall { | |
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
#!/bin/sh | |
# ================================== | |
# Creators: @rafesposo | @dudecussi | |
# Date: 2022-12-16 | |
# Description: This script will generate a package with the files that were modified in the last commit. | |
# How to use: Copy this file to the .git/hooks folder and give it execution permissions. | |
# ================================== | |
branchPath=$(git symbolic-ref -q HEAD) | |
branch=${branchPath##*/} | |
commitHash=$(git rev-parse --short HEAD) |