Albert

Posts categorized in ‘emacs’ (6)

How to create an anki deck using org-mode

Install anki Login Install the add-on on anki (https://ankiweb.net/shared/info/2055492159) Ctrl + Shift + A Click: Get Add-ons Paste the code: 2055492159 Restart Anki On org-mode M-x anki-editor-mode Go to the org-mode file that has the deck you want to create M-x anki-editor-push-notes Publish See also: https://rgoswami.me/posts/anki-decks-orgmode/

New blog in org-mode and Hugo

Okay this is like my fifth attempt to blog and so far, unsuccessfully. My first couple of blogs were on blogspot around 2005 or so, later I switched to dokuwiki, which is awesome but it didn’t integrated well on my workflow. So I tried some extensions to try to write directly in markdown but it didn’t work well for me. Then I moved to Hyde, which a Python static website generator.

How to use magit

confidence
certain/highly likely/likely/possible/unlikely/highly unlikely/remote/impossible
importance
9/10

Merge and conflict resolution

  1. Merge with SPC g m and select the patch branch you want to merge
  2. Use SPC g r to call smerge transient state and use n and o accordingly if you want to keep the …

Configuring pacsrv and powerpill on Arch Linux

On this post I will show how to configure and use Pacserve and Powerpill on Arch Linux. On a network of several Arch Linux boxes, it is possible to configure a Master server which will hold a copy of all the installed packages within that host and keep it up to date frequently. The other hosts on the network can be configured as Slaves and they will download the packages from the Master whenever possible instead of the Internet directly.

Software patents

Recently I’ve been to a talk given by Richard Stallman about how software patents are useless for the software industry. Since software is applied mathematics and, it generally needs to combine several ideas to make a new one, by doing that you could easily infringe a software patent by using one (or more) of the patented ideas. He commented that patents are like walking in a mine field, but worst because a mine ones it blows up it doesn’t blows again, patents keeps blowing on and on.