create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| % twemojis package is maintained at CTAN here: | |
| % - https://ctan.org/pkg/twemojis?lang=en | |
| % see exammple below: | |
| \documentclass{article} | |
| \usepackage{hyperref} | |
| \usepackage{twemojis} | |
| \begin{document} |
| % Creates a basic in-text todo note with a margin callout mark. | |
| % | |
| % Arguments: | |
| % (required) - todo text | |
| % (optional) - mark symbol, default: $\odot$, provide an empty value to skip. | |
| % | |
| % Examples: | |
| % \todoM{do the dishes before starting the next paragraph} | |
| % \todoM[$\star$]{mention this later, mark with a star} | |
| % \todoM[]{recall this, even without a margin mark} |
| ; import stuff for profiling | |
| ; (use-modules (ice-9 time)) | |
| ; use streams for efficiency soon | |
| ; (use-modules (ice-9 streams)) | |
| (use-modules (srfi srfi-1)) | |
| ;---------- | |
| ; parsing | |
| ;---------- |
| # some defaults: | |
| # git config --global pull.rebase false # setup the git pull strategy as merge | |
| git config --global pull.rebase true # setup the git pull strategy as rebase | |
| git config --global init.defaultBranch main # change the default git init branch name to `main` | |
| git config --global core.editor "vim" # make sure Vim is used as default editor | |
| # personal flavor aliases: | |
| git config --global alias.ck checkout | |
| git config --global alias.br branch | |
| git config --global alias.aa "add --all" |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| #!/bin/sh | |
| ################################################ | |
| # cleanup gone remote branches from local list # | |
| ################################################ | |
| git fetch -pP \ # fetch and prune gone remotes and remote tags | |
| && git branch -vv \ # display information about all branches | |
| | grep "\: gone\]" \ # find all the branches with "gone" remotes | |
| | awk '{print $1}' \ # get the branch names |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <unistd.h> | |
| const int NOISE_THRESHOLD = 7; | |
| const int NOISE_UPPER = 10; | |
| int main_move_counter = 0; | |
| int max_move_counter = 0; |
| import datetime | |
| import subprocess | |
| def send_message(message): | |
| subprocess.Popen(['notify-send', str(message)]) | |
| return | |
| def print_message(message): | |
| print(str(message)) | |
| return |
| from invoke import task | |
| def announce_action(action_message): | |
| """Prints the action message to the stdout | |
| Args: | |
| action_message (str): the message to be announced | |
| """ | |
| print("{}\n...\n".format(action_message)) |
| # Python | |
| # IDEs | |
| .vscode/ | |
| .idea/ | |
| .idea_modules/ | |
| *.tmlanguage.cache | |
| *.tmPreferences.cache | |
| *.stTheme.cache |