Skip to content

r06922019/random_notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

random_notes

random sleep

gnu bash

$ sleep $(echo "${RANDOM}" | cut -b 1)s
brew install coreutils
alias date=gdate
alias cut=gcut
read -t 10 -p "ENTER to continue" || echo ""

time strings

bash

date "+%Y%m%d_%H%M%S"

python

time.strftime("%Y%m%d_%H%M%S") -> '20201116_113252'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published