PS1='\W \$ '
# System-wide .bashrc file for interactive bash(1) shells.
version: '3.2' | |
services: | |
zoo1: | |
image: zookeeper | |
restart: always | |
hostname: zoo1 | |
ports: | |
- 2181:2181 | |
environment: | |
ZOO_MY_ID: 1 |
These rules are adopted from the AngularJS commit conventions.
zip -r archive.zip . -x ".*" -x "__MACOSX" -q |
def hello(): | |
print('Hello, world!') | |
def bye(): | |
print('Good afternoon, good evening, and good night!') | |
if __name__ == '__main__': | |
hello() | |
else: | |
bye() |
# https://ipython.readthedocs.io/en/stable/interactive/magics.html | |
''' | |
%%capture [--no-stderr] [--no-stdout] [--no-display] [output] | |
https://ipython.readthedocs.io/en/stable/interactive/magics.html?highlight=capture#cellmagic-capture | |
''' | |
%%capture --no-stdout | |
%%capture --no-stderr |
Compress-Archive .\directory archive.zip | |
Expand-Archive .\archive.zip |
ls /etc/paths.d