This file contains hidden or 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 | |
| git stash list | |
| echo "Enter stash number to rename" | |
| read stash_number | |
| echo "Enter new name" | |
| read new_name | |
| stash_name="stash@{${stash_number}}" | |
| echo "$stash_name" |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """Example of thread pool | |
| https://docs.python.org/3/library/concurrent.futures.html | |
| https://docs.python.org/3/library/multiprocessing.html | |
| """ | |
| import concurrent.futures as confu | |
| import multiprocessing.pool as mpp | |
| import time |