Today I Learned
A collection of useful, concise tips on small things I learn day to day.
- Ignore changes in file permissions (file mode)
- Merge two last commits
- Revert changes to file in a specific commit
- Show new files created after commit
- Undo
git stash pop
- Enable tooltips on JTree
- Fix jzy3d screenshots
- Fix menu bar hidden behind canvas problem
- Maximize JDialog
- Append text to file using sed
- Append the content of one file into another one
- Bounce keys customization
- Create an animated gif
- Create encrypted zip file
- Concatenate files placing an empty line between them
- Convert Excel into CSV
- Convert flac to mp3
- Convert SVG to PDF with Inkscape
- Count number of columns of a file
- Delete all but the most recent N files
- Dropbox asks for authentication
- Extract PDF pages as images
- Extract substring with
sed
- Find all files containing a string
- Find Debian/Ubuntu packages containing specific libraries
- Find the number of CPUs and cores
- Fix Alt + F4 switching to TTY
- Fix Ubuntu desktop Java launcher
- Insert a word in a specific position
- Install or update software with apt in unsupported releases
- ImageMagick convert png to pdf
- Iterate file names with spaces
- How to chroot from a LiveCD
- Join files
- Kept back packages in Ubuntu
- Make SSH private keys permanent
- Merge PDF files
- Multiline comments in bash
- Paste the clipboard contents into the command line
- Remove line breaks
- Remove the password from a PDF
- Replace tabs with spaces
- Reduce the size of a PDF file
- Resize a gif image
- Restore Kate menu
rsync
permission denied- Scripting: Read from file or standard input
- Print line ranges with
sed
- Fix MySQL server has gone away error
- Ignore foreign key checks
- Log all queries
- Save the last queries executed in a log
- See table sizes
- Show and kill processes
- Get distinct or unique column values in LibreOffice Calc
- Inspect MS Office documents for sharing
- Uniform image size in MS Word
- Unlock MS Word document