Today I Learned
Collection of things I've learned, that I'd otherwise quickly forget. (Again.)
- Access a Container Running in ECS
- Access RDS from Lambda
- Get Data from an S3 Object
- Increase Storage for Windows EC2
- Run Lambda Containers Locally
- Setup
awscli
- Troubleshoot ECS
- Enter a Running Container
- Execute a Command on a Running Container
- Include Environment Variables
- Resolve Unusual Timeout Error
RUN
vs.CMD
- Call npm From Another Directory
- Example - Cheerio
- Find Object by Property in an Array of Objects
- For loops
- Pretty Print Objects in the Console
- Variables: null, undefined
- Variables: var, let, const
awk
Notes- Bash Arguments - Equal Separated
- Bash Arguments - Space Separated
- Bash - Best Practices
- Change the Endian-ness of a File
- Create PDF from Images
- Create a Key Mapping in Vim
cronjob
Setup- Encryption with GNU PGP
- Grep
- Open vim at the Last Line
- Preview CSV
- rsync
- sed Replace
- Sort By Version Number
- SSH Config
- SSH Key Generation
- Break Big Data into Chunks
- Convert Column to
datetime
- Define a New Column
- Drop rows/cols with missing data
- Filter by
datetime
- Filter by regex
- Find Duplicates
- Pivot Table
- Replace
np.nan
withNone
- Spatial Interpolation
- Upsert
- Abstract Base Classes
- Argmax Without NumPy
- Debugging with
iceream
- Debugging with
pdb
- Default Value for User Input
- End of Month Calculation
- Generate MIDI Music
- Move File
- Multiprocessing
- Print an ASCII Table
- Profiling with
cProfile
- Progress Bar for Multiprocessing
- Show Current Python Version Running Jupyter
- List of Tools
- Show Package Dependencies Using pip
- Random Bitmap in PyGame
- Relatve Date
- Union of Multiple Sets
- Union of Two
dict
- Create Zipped Download in Flask
- Authorization Token Gotcha
- Blue-Green Deployment
- Content Type for XLSX
- Deploy Django to Heroku
- DNS Gotcha
- Get Your IP
- Gunicorn Gotcha
- NGINX - Use CORS with Mulitple Subdomains
- NPM Error - Cannot find module
../package.json
- Web Sockets
I shamelessly stole this idea from jbranchaud/til.
© 2021 Connor Johnson
This repository is licensed under the MIT license. See LICENSE
for
details.