Most operating systems can change the open-files limit for the current shell session using the ulimit -n command:
ulimit -n 200000
python3 -m venv /path/to/new/virtual/environment
NOTE:
venv
is now recommended for creating virtual environments.pyvenv
was the recommended tool for creating virtual environments for Python 3.3 and 3.4, and is deprecated in Python 3.6.ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
brew install cmake
ssh -L local_port:service_host:service_port \
-p ssh_server_port \
-l ssh_server_username \
-N \
ssh_server_host
/usr/libexec/java_home -V
command to get the list of installed JDKs.
For example:
Matching Java Virtual Machines (2):
9.0.4, x86_64: "Java SE 9.0.4" /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home
1.8.0_161, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home
To encrypt something using RSA algorithm you need modulus
and encryption (public) exponent
pair (n, e)
. That's your public key. To decrypt something using RSA algorithm you need modulus
and decryption (private) exponent
pair (n, d)
. That's your private key.
To encrypt something using RSA public key you treat your plaintext as a number and raise it to the power of e modulus n:
ciphertext = ( plaintext^e ) mod n
To decrypt something using RSA private key you treat your ciphertext as a number and raise it to the power of d modulus n:
plaintext = ( ciphertext^d ) mod n
I will maybe someday get around to dusting off my C and making these changes myself unless someone else does it first.
Imagine a long-running development branch periodically merges from master. The
git log --graph --all --topo-order
is not as simple as it could be, as of git version 1.7.10.4.
It doesn't seem like a big deal in this example, but when you're trying to follow the history trails in ASCII and you've got several different branches displayed at once, it gets difficult quickly.