random-rumblings.html 3.2 KB

1234567891011121314151617181920
  1. <!DOCTYPE html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /><meta name="keywords" content="GNU, Emacs, Libre Software, Hurd, Guile, Guix" /><meta name="description" content="GNUcode.me is a website focusing on libre software projects, especially the GNU project." /><link type="application/atom+xml" rel="alternate" title="GNUcode.me -- Feed" href="/feed.xml" /><a rel="me" href="https://fosstodon.org/@thegnuguy"></a><link type="text/css" href="css/footer.min.css" rel="stylesheet"></link><link type="text/css" href="css/header.min.css" rel="stylesheet"></link><link type="text/css" href="css/main.min.css" rel="stylesheet"></link><title>Random Rumblings — GNUcode.me</title></head><body><header><nav><ul><li><a href="index.html">GNUcode.me</a></li><li><a href="services.html">Services</a></li><li><a href="about.html">About</a></li><li><a href="business-ideas.html">Business-ideas</a></li></ul></nav></header><h1>Random Rumblings</h1><main><section class="basic-section-padding"><article><h3>by Joshua Branson — April 13, 2018</h3><div><p>Please note that this blog posts refers to a time when this site used
  2. Wordpress. It is now using <a href="https://dthompson.us/projects/haunt.html">Haunt</a>.</p><p>So today I had a full day of just doing whatever I wanted.  Here's a recap of
  3. the cool things that I was able to do:</p><ul><li>I got one of my websites to use let's encrypt:  www.gnusites.com.  As an
  4. interesting sidenote, https://www.gnucode.me now points t www.gnusites.com. 
  5. That's not intentional.  I'll have to fix that another day.</li><li>I fixed a really annoying error with gnus, which is an email client for
  6. emacs.  Basically it was trying to access a server that didn't exist.  (nntp
  7. &quot;news&quot;).  Every time I started gnus, it would try to access this fake server
  8. and fail.  A simple (setq gnus-select-method '(nnnil &quot;&quot;)) solved the
  9. problem.</li><li>I made this site serve images from a CDN (allegedly).  I'll have to verify
  10. that it actually is.</li><li>get org babel sh code working on remote machines!  This actually works!  I
  11. wish I was writing this post in org-mode so I could properly show it off. 
  12. Basically I have a file on my local machine.  And in Emacs I have a file that
  13. looks like this:</li></ul><pre><code>#+BEGIN_SRC sh :results output :exports
  14. both :dir /ssh:joshua@richardrahl:/home/joshua ls
  15. #+END_SRC
  16. #+RESULTS:
  17. : dead.letter grep</code></pre><p>Emacs is using tramp to ssh onto my remote machine, and show the contents.  Nifty eh?</p><p>This basically amounted to me modifying /etc/hosts/ to make richardrahl point to
  18. my linode.  I also used ssh-copy-id to copy my gpg key to that linode.  It's
  19. pretty spectacular!</p></div></article></section></main><footer><p>© 2020 Joshua Branson. The text on this site is free culture under the Creative Commons Attribution Share-Alike 4.0 International license.</p><p>This website is build with Haunt, a static site generator written in Guile Scheme. Source code is <a href="https://notabug.org/jbranso/gnucode.me">available.</a></p><p>The color theme of this website is based off of the famous <a href="#3f3f3f" target="_blank">zenburn</a> theme.</p></footer></body>