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
// | |
// This file is part of ZenProfits. | |
// Copyright (C) 2021, Luis Martínez. | |
// | |
// Please refer to AUTHORS.rst for a complete list of Copyright holders. | |
// | |
// ZenProfits 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 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
# This is a python script to send a multipart email message | |
# Replace these variables with its values: | |
# from_address = "" | |
# to_address = "" | |
# server_url = "" <--------------- You can use smtp.gmail.com | |
# server_port = "" | |
# password = "" | |
# | |
# You should write your message in the text variable and the html variable (for an html version of the message) |
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
# This script deletes a submodule from the repository | |
# Usage: bash remove-submodule.sh <submodule name> | |
submodule_name=$(echo "$1" | sed 's/\/$//'); shift | |
exit_err() { | |
[ $# -gt 0 ] && echo "fatal: $*" 1>&2 | |
exit 1 | |
} |
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
# This script uninstalls all pip installed packages in the global scope. Must be run as root. | |
for PYTHON in $( ls -1 /usr/local/lib/ ); do | |
if [ "$( echo ${PYTHON} | cut -c -6 )" == "python" ]; then | |
PYTHONVER="$( echo ${PYTHON} | cut -c 7,8,9 )" | |
PYTHONVERSHT="$( echo ${PYTHONVER} | cut -c 1 )" | |
if [ -x "/usr/local/bin/pip${PYTHONVER}" ] || [ -x "/usr/bin/pip${PYTHONVER}" ]; then | |
PIPBIN="pip${PYTHONVER}" |
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
# This is a script to release a new debian package using gitbuildpackage | |
# Replace <author name> and <author email> with the author data, <gnupg key> with your signing gpg key and <version> with the new version of the package, including the debian revision (ex. 2.0.1-1) | |
export DEBFULLNAME="<author name>" | |
export DEBEMAIL="<author email>" | |
git config --global user.name "<author name>" | |
git config --global user.email "<author email>" | |
git add --all . | |
git commit -a |
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
# This command will change the date of a specific commit | |
# Replace <commit-hash> with the actual commit hash | |
git filter-branch -f --env-filter \ | |
'if [ $GIT_COMMIT = <commit-hash> ] | |
then | |
export GIT_AUTHOR_DATE="May 19 16:18:03 2016 -0400" | |
export GIT_COMMITTER_DATE="May 19 16:18:03 2016 -0400" | |
fi' |
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
TypeScript 7 hrs 36 mins ██████████████▊░░░░░░ 70.5% | |
PHP 2 hrs 32 mins ████▉░░░░░░░░░░░░░░░░ 23.6% | |
Docker 12 mins ▍░░░░░░░░░░░░░░░░░░░░ 1.9% | |
Python 9 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.5% | |
INI 7 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.1% |
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
I've watched 205 movies and 898 episodes of 35 shows. | |
My favorite 3 genres are: | |
adventure ███▏░░░░░░░░░░░░░░░░░ 15.4% | |
action ██▊░░░░░░░░░░░░░░░░░░ 13.3% | |
drama ██▌░░░░░░░░░░░░░░░░░░ 12.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
The Smile █████████▉░░░░░░░ 38 plays | |
Radiohead ███▉░░░░░░░░░░░░░ 15 plays | |
Peel Dream Magazine ▊░░░░░░░░░░░░░░░░ 3 plays | |
Childish Gambino ▌░░░░░░░░░░░░░░░░ 2 plays | |
Thom Yorke ▌░░░░░░░░░░░░░░░░ 2 plays | |
Atoms for Peace ▎░░░░░░░░░░░░░░░░ 1 plays | |
Billie Eilish ▎░░░░░░░░░░░░░░░░ 1 plays | |
Britney Spears ▎░░░░░░░░░░░░░░░░ 1 plays | |
Chappell Roan ▎░░░░░░░░░░░░░░░░ 1 plays | |
DIIV ▎░░░░░░░░░░░░░░░░ 1 plays |
NewerOlder