Category:Hacking: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


(global-set-key (kbd "M-y") 'yank-primary-selection)
(global-set-key (kbd "M-y") 'yank-primary-selection)
</pre>
= One-Liners =
<pre>
$ dvdbackup -Fvp
</pre>
</pre>

Revision as of 03:08, 24 October 2023

This page is for all things hacking related. Rarely, if ever, infosec hacking (but who knows, maybe I'll catch that bug again). Mostly this is about the Tech Model Railroad Club definition of hacking.

Tag your page with [[Category:Hacking]] to have it included on this page.

Emacs

(defun yank-primary-selection ()
  (interactive)
  (insert (x-get-selection 'PRIMARY)))

(global-set-key (kbd "M-y") 'yank-primary-selection)

One-Liners

$ dvdbackup -Fvp