Screenshot_%Y-%m-%d_%T
2018-08-02, Хрень
2018-07-22, Хрень
# Install requirements apt-get install -y build-essential checkinstall libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev zlib1g-dev openssl libffi-dev python3-dev python3-setuptools wget # Prepare to build mkdir /tmp/Python37 cd /tmp/Python37 # Pull down Python 3.7, build, and install wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz tar xvf Python-3.7.0.tar.xz cd /tmp/Python37/Python-3.7.0 ./configure make altinstall
2018-07-22, Хрень
sudo bash -c "echo '[SeatDefaults] allow-guest=false greeter-hide-users=true' > /etc/lightdm/lightdm.conf.d/noguest.conf"
find $PWD -maxdepth 1 -type d
2018-06-07, Хрень
${variable%pattern}
Trim the shortest match from the end
${variable##pattern}
Trim the longest match from the beginning
${variable%%pattern}
Trim the longest match from the end
${variable#pattern}
Trim the shortest match from the beginning
2018-02-19, Хрень
exemplar placeholder, bitch
2018-02-17, Хрень
arecord | aplay
review_date:moment().format("YYYY-MM-DD HH:mm:ss")
https://momentjs.com/docs/#/parsing/string-format/
echo date("Y-m-d H:i:s.").gettimeofday()["usec"];
2017-10-29, Хрень
One reason NOT to learn awk is that it doesn't have non-greedy matches in regular expressions.
I have an awk code that now I must rewrite only because I suddenly debugged that there is no such thing as non-greedy matches in awk/gawk thus it can't properly execute some regexes.
