Skip to content

Latest commit

 

History

History
83 lines (71 loc) · 2.7 KB

notes.org

File metadata and controls

83 lines (71 loc) · 2.7 KB

twitter

Find the most liked tweets from an account

https://webapps.stackexchange.com/questions/105958/find-the-most-liked-tweet-from-an-account

@theshawwn’s most favorited tweets

https://twitter.com/search?q=from%3Atheshawwn%20min_faves%3A60&src=typed_query&f=live

org mode

Org Mode Tutorial

https://orgmode.org/worg/org-tutorials/org4beginners.html

`~/.emacs` configuration for org mode

;------------------------------------------------------------
; org mode
; https://orgmode.org/worg/org-tutorials/org4beginners.html#org9825076
;------------------------------------------------------------

;; Enable transient mark mode
(transient-mark-mode 1)

;;;;Org mode configuration
;; Enable Org mode
(require 'org)
;; Make Org mode work with files ending in .org
;; (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
;; The above is the default in recent emacsen


;; https://www.reddit.com/r/emacs/comments/4golh1/how_to_auto_export_html_when_saving_in_orgmode/
(defun toggle-org-markdown-export-on-save ()
  (interactive)
  (if (memq 'org-md-export-to-markdown after-save-hook)
      (progn
        (remove-hook 'after-save-hook 'org-md-export-to-markdown t)
        (message "Disabled org markdown export on save for current buffer..."))
    (add-hook 'after-save-hook 'org-md-export-to-markdown nil t)
    (message "Enabled org markdown export on save for current buffer...")))


(add-hook 'org-mode-hook #'toggle-org-markdown-export-on-save)

;; https://emacs.stackexchange.com/questions/19945/command-to-insert-code-block
;; <s then TAB
(require 'org-tempo)

Auto-export on save

https://www.reddit.com/r/emacs/comments/4golh1/how_to_auto_export_html_when_saving_in_orgmode/

Insert a code block

https://emacs.stackexchange.com/questions/19945/command-to-insert-code-block

(require 'org-tempo)
;; then type <s followed by TAB

Insert Hyperlinks

https://orgmode.org/guide/Hyperlinks.html

[[example.com][Example]]

Getting Things Done (GTD) workflow

http://members.optusnet.com.au/~charles57/GTD/gtd_workflow.html

Export all headlines in ToC

Usually org-mode only exports up to 3 nestings deep. To export all headlines, no matter how deeply, add this to the top of the org file:

#+OPTIONS: H:10

See also

misc

deeply

Deeply nested ToC test

nested

Deeply nested ToC test

deeply

Deeply nested ToC test

nested

Deeply nested ToC test

deeply

Deeply nested ToC test