Setting up python virtual environments on ubuntu venv
This post is quite good: https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-programming-environment-on-an-ubuntu-20-04-server
This post is quite good: https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-programming-environment-on-an-ubuntu-20-04-server
This is good… https://medium.com/faun/aws-lambda-serverless-framework-python-a-step-by-step-tutorial-part-3-sending-emails-from-ad4119abca3c
All those hard to read colors in WSL and really any Linux prompts where they have changed the colors – here’s how to turn them off vi ~/.bashrc change any alias’ed commands to color=never change color_prompt=yes to color_prompt=no hint: hit escape <~> to get to the vi command line then: %s/color_prompt=yes/color_prompt=no/g Vi or vim syntax …
default colors set in .bashrc for WSL are annoying to me – ubuntu Read More »
Vi or vim syntax highlighting can make it very hard to read on many terminals. Here is how to turn it off. How to disable vim syntax colors option Edit ~/.vimrc file by typing the command: vi ~/.vimrc Append the following option syntax off Save and close the file Test it by running vim command: …
You can expire passwords future or past (past immediately locks out new logins) but what if you and to re-enable the user – just resetting the password will not do it if you set a valid until that is in the past. In that case do this: ALTER USER <username> VALID UNTIL ‘Jan 31 2030’; …
AWS Redshift or PostgreSQL – alter user reset valid until Read More »
— newest dir/o:-d | more — oldest dir/o:d | more /o switch allows a sort order default is alphabetic /O List by files in sorted order. sortorder N By name (alphabetic) S By size (smallest first) E By extension (alphabetic) D By date/time (oldest first) G Group directories first – Prefix to reverse order /P …
Windows / DOS dir command to list newest files first Read More »
HTTP – Status Codes Code and Description 1 1xx: Informational It means the request has been received and the process is continuing. 2 2xx: Success It means the action was successfully received, understood, and accepted. 3 3xx: Redirection It means further action must be taken in order to complete the request. 4 4xx: Client Error …
So your Logitech mouse is scrolling like a “bat out of hell” (scrolling way too fast) and you can’t slow it down? Push the “momentum” scroll button and it will go back to a normal pace.
VPC networking components For each VPC – A Virtual Router is provided and used – you cannot drop this router and per AWS Documentation: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Networking.html You can use the following components to configure networking in your VPC. Topics Elastic network interfaces Route tables Managed prefix lists Internet gateways Egress-only internet gateways NAT DHCP options sets …
What are the components of a VPC – some are optional Read More »