Last active
July 1, 2024 13:52
-
-
Save tapjdey/85792193b7114f6aa7c0539a421780a9 to your computer and use it in GitHub Desktop.
Utility Functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use pdftk to concatenate files | |
pdftk file1.pdf file2.pdf cat output mergedfile.pdf | |
# TAB -Space problem in Pythom: fix in Vim | |
The problem is usually with mixup in tabs and spaces – | |
1. Apply following command in Vim to highlight tabs, spaces and other whitespace differently. | |
:set listchars=tab:>-,trail:-,eol:$ list | |
2. Apply the following to set correct width | |
:set shiftwidth=4 tabstop=4 expandtab | |
3. running | |
:retab | |
to fix the problem,Vim automatically fixes all indentation space and tab mix ups. | |
# To run applications Mac won't let you run (downloaded from internet ...) | |
/Applications $ xattr -d com.apple.quarantine Understand.app | |
/Applications $ xattr -d com.apple.quarantine /Applications/Understand.app/Contents/MacOS/Understand |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment