tslight / etc

Config Conjuring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CONFIG CONJURING WITH UNICORN MAGIC

Hello? Hello? What’s all this shouting?

./img/local.jpg

We’ll have no trouble here.

The culmination of years of yak-shaving

Relying almost entirley on Emacs’ wonderful org-mode, to literately manage cross platform configuration files.

All in one handy dandy git repo. Fact.

Installation

Warning

Installing this stuff will overwrite any configuration files you currently have in place that are part of this repo, encluding your Emacs configuration.

Please inspect the blocks in the files you intend to tangle and back up any files that will be overwritten by tangling them.

If that doesn’t mean anything to you - please don’t do anything until you’ve read & understood all the documentation here and linked to!

Option 1

  1. Clone this repo & open this file in Emacs.
  2. BACKUP ANY CONFIGURATION FILES YOU WANT TO KEEP THAT ARE DEFINED IN THIS REPO.
  3. Execute the elisp source code block below using C-c C-c with your cursor in the block:
    (load-file
     (car (org-babel-tangle-file
           (concat default-directory "/emacs/site-lisp/my-tangles.org"))))
    (my/tangle-all)
        
  4. Wait for all the appropriate org files to tangle (this may take a while…)
  5. …Profit!

Option 2

  1. Clone this repo & cd into this directory.
  2. BACKUP ANY CONFIGURATION FILES YOU WANT TO KEEP THAT ARE DEFINED IN THIS REPO.
  3. Run ./install.el, in a terminal, from this directory.
  4. Wait for all the appropriate org files to tangle (this may take a while…)
  5. …Profit!

But I only came here for an Emacs config!

Please go here. Or execute the code block below in Emacs with C-c C-c:

(org-babel-load-file (concat default-directory "/emacs/site-lisp/my-tangles.org"))
(my/tangle-directory (concat default-directory "/emacs/"))

How does all this work?

I’m using Emacs’ amazing org-mode as a basic cross platform configuration management system.

The functions defined in this file, allow automated tangling of the files in this repository. However, only the files of the operating system you’re currently using and the files in the Emacs and agnostic directories will be tangled when using the my/tangle-all or my/auto-tangle functions.

Please see the Emacs configuration directory for more details on how this is implemented. Specifically the functions defined in this file.

The main functions were inspired by this guy’s blog:

Frederick Giasson’s Literate Programming Blog

For more information on tangling, please see the following entries in the org-mode manual:

Extracting Source Code

Introduction to Org Babel

Where can I see these mythical beasts?

Emacs

The main emacs configuration from which this strange odyssey of sexp worship & literate unicorn summoning springs is located here.

I took a look at those nerds, and although a lot of their statements are fun to read, I am not sure where the fun ends and the fanaticism begins with many of them… (save-excursion (recursive-save-all)) be with me…

– mangledmind

It is full of unicorn wonder and lispy joy.

./img/real_programmers.png

*BSD

Configuration files dedicated to the Church of BSD (OpenBSD and NetBSD), are located here and here, respectively.

“One day I was at a restaurant explaining process control to one of my disciples. I was mentioning how we have to kill the children (child processes) if they become unresponsive. Or we can even set an alarm for the children to kill themselves.

That the parent need to wait (wait3) and acknowledge that the child has died or else it will become a zombie. The look of horror the woman sitting across had was unforgettable.

I tried to explain it was a computer software thing but it was too late, she fled terrified, probably to call the police or something. I didn’t really want to stick around too long to find out.”

man ps

They are full of suicidal children and zombie parents…

./img/success.png

Linux

Those dedicated to the infernal penguin are here.

“I must say the linux community is a lot nicer than the unix community. a negative comment on unix would warrant death threats. With linux, it is like stirring up a nest of butterflies.”

– Ken Thompson author of C Language. 1999

Come and stir the butterflys…

./img/cautionary.png

Proprietary

Evil proprietary systems are also catered for…

Cupertino’s wickedness resides here, whilst Redmond’s ghastliness dwells in this unspeakable den of inquity.

“They say when you play a Microsoft CD backwards you can hear satanic messages…but that’s nothing, if you play it forward it will install Windows!”

Church of BSD

./img/mac_pc.png

StumpWM

A whole directory dedicated to hacks and glory!

Your hacking starts… NOW!

Stumpwm is a “everything-and-the-kitchen-sink WM” or “the emacs of WMs.”

StumpWM manages windows the way emacs manages buffers, or the way screen manages terminals. If you want a flexible, customizable, hackable desktop experience, look no further.

StumpWM GitHub

Agnostic

And finally, those poor agnostic souls, forever lost in OS purgatory, are to be found here.

Will I be able to cope?

Prepare yourself …

Yes, there are unicorns. Lots of unicorns

Will more strangers come Edward?

Calm yourself Tubbs. None shall come.

About

Config Conjuring

License:ISC License


Languages

Language:Emacs Lisp 100.0%