Today I Learned
A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies. These are things that don't really warrant a full blog post.
27 TILs and counting...
- Commit Part of File to Git
- Create a Github repo from the command line
- Log Info For Deleted File
- Prune Local Branches
- Show filename of files modified in a commit
- Stash Only Some of the Changed Files
- Enabling core files on Centos
- Finding Files By Date and Deleting Them
- Make clamscan or other high-cpu-load process play nice
- Removing old Kernels from Boot Partition
- Creating Footnotes in Markdown
- Formatting code in Pythonista Cafe
- Linking to a section in the same document
- Address for the internal SMTP server
- Fixing the "Another omverse is starting" error
- Turning on/off the Fan on enhanced3
- Create Helptags for new bundle
- Open File Under Cursor
- Reload vimrc File Without Restarting
- Show Special Characters
- Using regex matches in EX mode
After creating a new entry, run ./createReadme.py > README.md
to regenerate
the readme with the new data.
If you are using git, you can install this script as a pre-commit git hook so that it is autogenerated on each commit. Use the following command: cd .git/hooks/ && ln -s ../../createReadme.py pre-commit && cd -
I shamelessly stole this idea from jbranchaud/til who claims to have stolen it from others.
- jbranchaud/til who claims to have stolen
- Today I Learned by Hashrocket
- jwworth/til
- thoughtbot/til
© 2017-2018 Jim Anderson
This repository is licensed under the MIT license. See LICENSE
for
details.