Today I Learned
My Today I Learned snippets. Inspired by simonw/til. (Also thanks to @simonw for sharing his github actions tips for the autogenerating table of contents)
33 TILs so far.BigQuery
- Window function with a filter - 2021-05-20
MLtools
- Config for videos in label studio - 2021-03-28
conda
- Creating an environment with 'default' packages - 2020-09-02
- Reclaiming disk space from (ana)conda - 2020-10-25
github
github-actions
- Workflow security settings - 2020-08-15
- Check out branch in github action - 2020-08-31
golang
- Import functions from a file in a different folder - 2020-09-28
linux
- Pretty print a directory structure for markdown - 2020-08-07
- Show hidden files in Ubuntu file manager - 2020-08-09
- Installing Ubuntu as dual boot OS - 2020-08-26
- Reinstating topbar icons - 2020-09-02
- Find all files containing query text in terminal - 2020-09-16
- How to say yes to terminal prompts - 2020-09-28
- Fixing Ubuntu's Livepatch error - 2020-09-30
- Don't refetch file in wget if a copy already exists locally - 2020-10-12
- Getting info on how much disk space you have - 2020-10-13
- How to set up a new hard drive - 2020-11-02
- Finding files you have modified since a date - 2020-12-10
- Recording a screen video on Ubuntu - 2021-03-23
postgres
- The ON COMMIT command - 2020-08-13
- Finding the running postgres version without connecting - 2020-08-19
python
- Reading a text file into a string variable - 2020-10-13
- Writing a bash script in python - 2020-10-13
- Merge pandas dataframe by closest value - 2020-10-19
- Convert pandas multindex groupby to flattened columns - 2020-10-19
- How to fill np.nan values in numpy arrays with values - 2020-11-07
- Example heuristic classifier in sklearn - 2021-01-26
- combining Matplotlib legends from two axis - 2021-03-23
- Removing code cells from jupyter export - 2021-04-13
- Adding formatting to print outputs - 2021-04-20
tensorflow
- Installing tensorflow v2.x - 2020-11-16
- Save and load a tf.keras model using .h5 - 2021-05-03