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
#!/usr/bin/env bash | |
# | |
# Siddharth Dushantha 2020 | |
# | |
# https://github.com/sdushantha/bin | |
# | |
TEXT_FILE="/tmp/ocr.txt" | |
IMAGE_FILE="/tmp/ocr.png" |
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
Debugger entered--Lisp error: (args-out-of-range #<buffer buffer2> 155 215) | |
#<subr buffer-substring-no-properties>(215 155) | |
ad-Advice-buffer-substring-no-properties(#<subr buffer-substring-no-properties> 215 155) | |
apply(ad-Advice-buffer-substring-no-properties #<subr buffer-substring-no-properties> (215 155)) | |
buffer-substring-no-properties(215 155) | |
flyspell-lazy-check-pending() | |
apply(flyspell-lazy-check-pending nil) | |
timer-event-handler([t 0 3 0 t flyspell-lazy-check-pending nil idle 0]) |
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
diff --git a/example.html b/example.html | |
index 2dd0b5e..49ba097 100755 | |
--- a/example.html | |
+++ b/example.html | |
@@ -3,199 +3,73 @@ | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
<head> | |
+<!-- 2017-03-03 Fri 12:27 --> | |
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>ReadTheOrg style</title> | |
<meta name="generator" content="Org mode"> | |
<meta name="author" content="Fabrice Niessen"> | |
<link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/htmlize.css"/> | |
<link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/readtheorg.css"/> |
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
(helm-grep-default-command (if use-ack-p (concat ack-executable " -H --no-group --no-color " ack-ignored-pattern " %p %f") (if (and projectile-use-git-grep (eq (projectile-project-vcs) 'git)) "git --no-pager grep --no-color -n%c -e %p -- %f" "grep -a -r %e -n%cH -e %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
~ (master *) $ brew install --verbose rhyme | |
==> Installing rhyme from shaunplee/rhyme | |
==> Downloading https://downloads.sourceforge.net/project/rhyme/rhyme/0.9/rhyme-0.9.tar.gz?r=&ts=1464063085 | |
Already downloaded: /Library/Caches/Homebrew/rhyme-0.9.gz | |
==> Verifying rhyme-0.9.gz checksum | |
==> tar xf rhyme-0.9.tar | |
==> make -i BINPATH=/usr/local/bin RHYMEPATH=/usr/local/share/rhyme MANPATH=/usr/local/share/man/man1 | |
gcc -Wall -O -c longline.c | |
gcc -Wall -O -c dict.c | |
gcc -Wall -O -c parts.c |
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
Debugger entered--Lisp error: (void-variable swiper--window) | |
(internal--before-with-selected-window swiper--window) | |
(let ((save-selected-window--state (internal--before-with-selected-window swiper--window))) (save-current-buffer (unwind-protect (progn (select-window (car save-selected-window--state) (quote norecord)) (move-beginning-of-line nil) (if (re-search-forward (ivy--regex ivy-text) (line-end-position) t) (progn (match-string 0)))) (internal--after-with-selected-window save-selected-window--state)))) | |
(let ((from (let ((save-selected-window--state (internal--before-with-selected-window swiper--window))) (save-current-buffer (unwind-protect (progn (select-window ... ...) (move-beginning-of-line nil) (if ... ...)) (internal--after-with-selected-window save-selected-window--state)))))) (if (null from) (user-error "No match") (let ((rep (read-string (format "Replace [%s] with: " from)))) (let ((save-selected-window--state (internal--before-with-selected-window swiper--window))) (save-current-buffer (u |
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
Debugger entered--Lisp error: (wrong-type-argument stringp nil) | |
get-file-buffer(nil) | |
org-find-base-buffer-visiting(nil) | |
org-get-agenda-file-buffer(nil) | |
org-refile-get-targets(nil (#("foo" 0 3 (fontified t line-prefix "" wrap-prefix #("* " 0 2 (face org-indent)) face org-level-1)))) | |
org-refile-get-location("Refile subtree \"foo\" to" nil confirm nil) | |
org-refile(nil) | |
call-interactively(org-refile record nil) | |
command-execute(org-refile record) | |
helm-M-x(nil "org-refile") |
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
Debugger entered--Lisp error: (wrong-type-argument stringp nil) | |
get-file-buffer(nil) | |
org-find-base-buffer-visiting(nil) | |
org-get-agenda-file-buffer(nil) | |
org-refile-get-targets(nil (#("humility" 0 8 (fontified t line-prefix #("**" 0 2 (face org-hide)) wrap-prefix #("***** " 0 2 (face org-indent) 2 6 (face org-indent)) face org-level-3)))) | |
org-refile-get-location("Refile subtree \"humility\" to" nil nil nil) | |
org-refile() | |
(if (region-active-p) (call-interactively (quote jay-refile-region)) (org-refile)) | |
refile-region-or-subtree() | |
call-interactively(refile-region-or-subtree nil nil) |
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
Debugger entered--Lisp error: (file-error "Opening input file" "no such file or directory" "/var/folders/g1/pmt051xx6fj4b8mj85kxdst40000gn/T/http:/i.imgur.com/iyDaOkk.jpg") | |
insert-file-contents("/var/folders/g1/pmt051xx6fj4b8mj85kxdst40000gn/T/http:/i.imgur.com/iyDaOkk.jpg" nil nil nil nil) | |
mm-insert-file-contents("/var/folders/g1/pmt051xx6fj4b8mj85kxdst40000gn/T/http:/i.imgur.com/iyDaOkk.jpg" nil nil nil nil t) | |
mml-generate-mime-1((part (type . "image/jpg") (filename . "/var/folders/g1/pmt051xx6fj4b8mj85kxdst40000gn/T/http:/i.imgur.com/iyDaOkk.jpg") (disposition . "inline") (id . "<_var_folders_g1_pmt051xx6fj4b8mj85kxdst40000gn_T_http:_i.imgur.com_iyDaOkk.jpg>") (tag-location . 761) (contents . ""))) | |
mml-compute-boundary-1((part (type . "image/jpg") (filename . "/var/folders/g1/pmt051xx6fj4b8mj85kxdst40000gn/T/http:/i.imgur.com/iyDaOkk.jpg") (disposition . "inline") (id . "<_var_folders_g1_pmt051xx6fj4b8mj85kxdst40000gn_T_http:_i.imgur.com_iyDaOkk.jpg>") (tag-location . 761) (contents . ""))) | |
mapc( |
NewerOlder