- connect kobo to your device
- open a file browser
- navigate to the hidden folder
.kobo/Kobo
- open the file
Kobo eReader.conf
- navigate to the section
[FeatureSettings]
- add the line
ExportHighlights=true
and save - disconnect the device
- now you can long press on a book and export the note file into a .txt file which will be saved alongside your books. to get it connect your ereader.
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
;; | |
;; superword-mode is a minor mode that allows emacs | |
;; to treat a word separated by '_' as a single one | |
;; This might be useful for example when moving betwwen | |
;; words using 'Alt + F' or 'Alt + B' in python-mode | |
;; | |
(add-hook 'python-mode-hook | |
'(lambda () | |
;; Enable superword mode, useful for “snake_case”. |
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
;; Replace the default helm grep command with ag. | |
;; Requires "The Silver Searcher" (ag) to be installed. | |
;; On macOS use: 'brew install the_silver_searcher' | |
(when (executable-find "ag") | |
;; For helm to recognize correctly the matches we need to enable | |
;; line numbers and columns in its output, something the | |
;; --vimgrep option does. | |
(setq helm-grep-default-command "ag --vimgrep --nogroup --nocolor -z %p %f" | |
helm-grep-default-recurse-command "ag --vimgrep --nogroup --nocolor -z %p %f")) |
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
(defun drestivo/org-download-method (link) | |
"This is an helper function for org-download. | |
It creates an \"./image\" folder within the same directory of the org file. | |
Images are separated inside that image folder by additional folders one per | |
org file. | |
More info can be found here: https://github.com/abo-abo/org-download/issues/40. | |
See the commit message for an example: | |
https://github.com/abo-abo/org-download/commit/137c3d2aa083283a3fc853f9ecbbc03039bf397b" | |
(let ((filename | |
(file-name-nondirectory |
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
``` | |
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula | |
git log --oneline [email protected] | |
7fbfe5b80 imagemagick@6: update 6.9.9-15 bottle. | |
e350b9b9b imagemagick@6 6.9.9-15 | |
1b98748c9 imagemagick@6: update 6.9.9-14 bottle. | |
3075a3186 imagemagick@6: update 6.9.9-14 bottle. | |
c52c493a1 imagemagick@6 6.9.9-14 | |
a03627c39 imagemagick@6: update 6.9.9-12 bottle. |
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
(defun galactic-emacs-eshell-prompt () | |
"Customize eshell prompt. | |
This function requires `all-the-icons' package to be installed | |
(https://github.com/domtronn/all-the-icons.el)." | |
(if (display-graphic-p) | |
(setq galactic-emacs-header-bg "#282C34") | |
;; The background used when Emacs runs in a terminal | |
(setq galactic-emacs-header-bg "black")) | |
;; In order to set the eshell prompt correctly we need to |
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
;; Unset var1 | |
(setq var1 nil) | |
;; Create a mutex and an associated conditional variable | |
(setq mut1 (make-mutex "mut1")) | |
(setq cond-var1 (make-condition-variable mut1 "cond-var1")) | |
;; Read and set functions used by r1 and s1 threads | |
(defun read-global-var1 () | |
(with-mutex mut1 |
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
;; Expand "unpushed to upstream or recent" magit section | |
(push (cons [unpushed status] 'show) magit-section-initial-visibility-alist) |
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
(defun helm-search-doc-ag () | |
"Search for a keyword in the Documents folder using ag" | |
(interactive) | |
(helm-do-ag "~/Documents")) | |
(global-set-key (kbd "<f5>") 'helm-search-doc-ag) |
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
;;;; **deep binding** | |
;;; look up | |
(cdr (assq 'the-symbol *the-stack*)) | |
;;; funcall | |
; wind... | |
(loop for arg in args |
OlderNewer