Task list. Original gist came from Amit Agarwal
- Pick the flowers
- Call John 9303032332
- Cancel cable subscription
- Book the flight tickets
If you have write permission to the content, you should be able to click and change the markdown.
| std::string get_module_path(void* address) | |
| { | |
| char path[FILENAME_MAX]; | |
| HMODULE hm = NULL; | |
| if (!GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | | |
| GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, | |
| (LPCSTR)address, | |
| &hm)) | |
| { |
Task list. Original gist came from Amit Agarwal
If you have write permission to the content, you should be able to click and change the markdown.
| ; configure the f8 function key for spell checking | |
| (global-set-key [f8] 'ispell-word) | |
| (global-set-key [(shift f8)] 'ispell-buffer) | |
| ; enable flyspell mode for text-mode | |
| (add-hook 'text-mode-hook | |
| (lambda () | |
| (flyspell-mode t) | |
| (auto-fill-mode) | |
| )) |
| # install the bootstrap3-jinja theme | |
| nikola install_theme bootstrap3-jinja | |
| # use the readable swatch | |
| nikola bootswatch_theme -s readable |
| $ git config --global core.excludesfile ~/.gitignore |
| import os | |
| import sys | |
| import win32file | |
| import win32con | |
| def islink(p): | |
| # return os.path.islink(p) | |
| fattr = win32file.GetFileAttributes(p) | |
| isWinJunction = fattr & win32con.FILE_ATTRIBUTE_REPARSE_POINT | |
| if isWinJunction > 0: |