Commit 41c71f67 authored by JoJo's avatar JoJo 💬

Update to use org-publish project

parent e582113e
#+TITLE: STM32F103C8T aka Blue Pill
#+TITLE: My notes on the STM32F103C8T, aka. Blue Pill
#+INCLUDE: "../page.org"
[[../img/STM32_Blue_Pill_perspective.jpg][file:../img/STM32_Blue_Pill_perspective.jpg]]
[[../img/STM32_Blue_Pill_perspective.jpg][file:./img/STM32_Blue_Pill_perspective.jpg]]
So I got me some of these off of ebay or aliexpress a while
ago. Mostly I wanted them because they're about as cheap and small as
......@@ -44,7 +42,7 @@ programmable and running on par with an Arduino using STM32Duino. By
flashing the STM32duino bootloader, we'll be able to upload Arduino
sketches via USB in the Arduino IDE.
In all steps of the process, [[http://wiki.stm32duino.com/][the STM32duino wiki]] has been a great
In all steps of the process, [[https://web.archive.org/web/20190520153010/http://wiki.stm32duino.com/index.php?title=Main_Page][the STM32duino wiki]] has been a great
help!
** Step 1: Install ~stlink~
......
#+TITLE: Welcome to the Jo‑Zone!
#+AUTHOR: Han JoJo, The Jo-ster, Dr. J, The Living Yo-Yo
#+EMAIL: [email protected]
#+LANGUAGE: en
#+OPTIONS: h:4 tex:t f:t
#+OPTIONS: prop:("VERSION")
#+HTML_DOCTYPE: html5
#+OPTIONS: toc:nil
#+HTML_HEAD: <link href="/css/style.css" rel="stylesheet" type="text/css" />
#+HTML_HEAD: <link href="/css/index.css" rel="stylesheet" type="text/css" />
#+HTML_POSTAMBLE: <p class="author">Author: %a (%e)</p><p class="date">Created: %T</p><p class="creator">%c</p>
# #+HTML: <div class="outline-2" id="meta">
# | *Author* | {{{author}}} ({{{email}}}) |
# | *Date* | {{{time(%Y-%m-%d %H:%M:%S)}}} |
# #+HTML: </div>
#+HTML: <main>
#+HTML_AFTER_CONTENTS: </main><div id="right-padding"></div>
* A zone for the Jo
I'm JoJo, and this is my personal site and wiki.
Welcome to my personal website! I may publish stuff here at some
point. Who knows what. Guides and tutorials maybe?
I may publish stuff here at some point. Who knows what. Guides and
tutorials maybe?
* Projects
- [[https://carth.jo.zone][The Carth programming language]]
I'm a CS student at [[./pages/chalmers.org][chalmers]] in Sweden, and I have two
[[./pages/cats.org][cats]]. I semi-frequently push code to [[https://gitlab.com/JoJoZ][GitLab, where I'm "JoJoZ"]] and
[[https://github.com/bryal/][GitHub, where I'm "bryal"]]. I have a [[https://www.linkedin.com/in/bryal][LinkedIn profile as well]].
* Pages
- [[file:bluepill.org][My notes on the STM32F103C8T, aka. Blue Pill]]
- * tumbleweeds *
This pages on this site are statically generated from [[https://orgmode.org][org-mode]]. I
use a customized version of the HTML backend for the Org export
engine. [[https://github.com/bryal/.emacs.d/blob/master/lisp/custom-org-html.el][Here's the source]]. You can view the org source for any page
by simply changing the extension in the url to ~.org~.
* About me
I'm a CS student at Chalmers in Sweden, and I semi-frequently push
code to [[https://gitlab.com/JoJoZ][GitLab, where I'm "JoJoZ"]] and [[https://github.com/bryal/][GitHub, where I'm "bryal"]]. I
like cats. Thank you for listening.
#+AUTHOR: Han JoJo, The Jo-ster, Dr. J, The Living Yo-Yo
#+EMAIL: [email protected]
#+LANGUAGE: en
#+OPTIONS: h:4 tex:t f:t
#+OPTIONS: prop:t
#+HTML_DOCTYPE: html5
#+HTML_HEAD: <link href="/css/style.css" rel="stylesheet" type="text/css" />
#+HTML_POSTAMBLE: <p class="author">Author: %a (%e)</p><p class="date">Created: %T</p><p class="creator">%c</p>
# #+HTML: <div class="outline-2" id="meta">
# | *Author* | {{{author}}} ({{{email}}}) |
# | *Date* | {{{time(%Y-%m-%d %H:%M:%S)}}} |
# #+HTML: </div>
#+HTML: <main><nav id="sitenav">Go to: <a href="/index.html">home</a>, <a href="https://gitlab.com/jojoz/jo-zone">repo</a></nav>
#+HTML_AFTER_CONTENTS: </main><div id="right-padding"></div>
#+TITLE: My cats
#+INCLUDE: "../page.org"
* 🐱🐱
I have two cats. They are very pretty.
#+CAPTION: So pretty!
#+NAME: fig:together-on-bed
[[../img/highres/together-on-bed.jpg][file:../img/together-on-bed.jpg]]
This is how much I love my cats:
$$\begin{aligned}
l(c) &= \sum_{n=0,1,...} n \\
\text{where} & \\
\ \ l &= \text{ how much I love something}, \\
c &= \text{ my cats}
\end{aligned}$$
* Caesar
He is very pretty.
#+CAPTION: Handsome!
#+NAME: fig:handsome-caesar
[[../img/highres/handsome-caesar.jpg][file:../img/handsome-caesar.jpg]]
#+CAPTION: Where are you looking?
#+NAME: fig:attentive-caesar
[[../img/highres/attentive-caesar.jpg][file:../img/attentive-caesar.jpg]]
* Octavia
She is very pretty also.
#+CAPTION: What a cute face!
#+NAME: fig:octavia-cute-face
[[../img/highres/octavia-cute-face.jpg][file:../img/octavia-cute-face.jpg]]
#+CAPTION: So comfy!
#+NAME: fig:octavia-so-comfy
[[../img/highres/octavia-so-comfy.jpg][file:../img/octavia-so-comfy.jpg]]
#+TITLE: Chalmers
#+INCLUDE: "../page.org"
* Cool place
Studied [[https://dtek.se][Data / Computer Science and Engineering]] here for my
bachelors, and am currently doing my masters here as well, [[https://www.chalmers.se/en/education/programmes/masters-info/Pages/Computer-Science-algorithms-languages-and-logic.aspx][Algorithms, languages and
logic]].
#+TITLE: Literature
#+INCLUDE: "../page.org"
* NEXT Atlas Shrugged :SciFi:AnCap:
:PROPERTIES:
:author: Ayn Rand
:END:
Fiction, objectivism
* NEXT The Conquest of Bread :AnCom:
:PROPERTIES:
:author: Peter Kropotkin
:END:
Anarcho-communism
* NEXT Socialism: Utopian and Scientific :Communism:
:PROPERTIES:
:author: Friedrich Engels
:END:
Marxism
* NEXT Imperialism, the Highest Stage of Capitalism :Communism:
:PROPERTIES:
:author: Vladimir Lenin
:END:
Developments of economic theories formulated in *Das Kapital*.
* NEXT The State and Revolution :Communism:
:PROPERTIES:
:author: Vladimir Lenin
:END:
The role of the State in society
* NEXT Wage Labour and Capital :Communism:
:PROPERTIES:
:author: Karl Marx
:END:
Precursor to *Das Kapital*.
* NEXT The Communist Manifesto :Communism:
:PROPERTIES:
:author: Karl Marx
:END:
Class struggle
* NEXT The Future of Capitalism :Capitalism:
:PROPERTIES:
:author: Paul Collier
:END:
"Failures of capitalism and pragmatic and realistic vision for how we can repair it."
* NEXT Manifesto for a Democratic Civilization :LibSoc:
:PROPERTIES:
:author: Abdullah Öcalan
:END:
"This manifesto is the definitive work of Abdullah Ocalan, crucial
for understanding the Kurdish revolution. Here Ocalan outlines a
democratic alternative for the Middle East.
A criticism that limits itself to capitalism is too superficial,
Ocalan argues, and turns his eyes to the underlying structures of
civilization. Rethinking the methods of understanding culture,
politics, and society, he provides the tools for what he calls a
sociology of freedom."
* NEXT Intellectuals and Society :Neoliberalism:
:PROPERTIES:
:author: Thomas Sowell
:END:
* NEXT Free to Choose :Economics:
:PROPERTIES:
:author: Milton Friedman, Rose Friedman
:END:
Advocation of free market principles
* NEXT The General Theory of Employment, Interest and Money :Capitalism:
:PROPERTIES:
:author: John Maynard Keynes
:END:
* NEXT Capitalism, Socialism and Democracy :Economics:
:PROPERTIES:
:author: Joseph Schumpeter
:END:
* NEXT The Road to Serfdom :Libertarianism:
:PROPERTIES:
:author: Friedrich Hayek
:END:
* NEXT Anarchy, State, and Utopia :Libertarianism:
:PROPERTIES:
:author: Robert Nozick
:END:
* NEXT The Law :Libertarianism:
:PROPERTIES:
:author: Frédéric Bastiat
:END:
* NEXT Tio tusen miljarder: Skuldkalaset och den förträngda baksmällan :economics:finance:
:PROPERTIES:
:author: Tino Sanandaji
:END:
* NEXT Kapitalet i tjugoförsta århundradet :economics:
:PROPERTIES:
:author: Thomas Piketty
:END:
* NEXT Tradingguiden :finance:
:PROPERTIES:
:author: Jonas Bernhardsson
:END:
* NEXT One Up On Wall Street :finance:
:PROPERTIES:
:author: Peter Lynch
:END:
* NEXT The Little Book That Still Beats the Market :finance:
:PROPERTIES:
:author: Joel Greenblatt, Andrew Tobias
:END:
* NEXT To Mock a Mockingbird :math:
:PROPERTIES:
:author: Raymond Smullyan
:END:
"It contains many nontrivial recreational puzzles of the sort for which Smullyan is well known. It is also a gentle and humorous introduction to combinatory logic and the associated metamathematics, built on an elaborate ornithological metaphor."
(defun jozone-org-publish-to-html (plist filename pub-dir)
(let ((org-html-htmlize-output-type 'css))
(jojo-org-publish-to-html plist filename pub-dir)))
(let* ((dir (file-name-directory load-file-name))
(root "/")
(projects `(("jozone"
:base-directory ,dir
:base-extension "org"
:publishing-directory ,dir
:publishing-function jozone-org-publish-to-html
:author "JoJo"
:email "[email protected]"
:language "en"
:headline-levels 4
:with-footnotes t
:with-latex t
:with-tables t
:with-toc 2
:with-todo-keywords nil
:exclude-tags ("noexport")
:html-head ,(format "<link href=\"%s\" rel=\"stylesheet\" type=\"text/css\" />" (concat root "css/style.css"))
:html-home/up-format
,(concat "<a href=\"%s\">Home</a>"
"<a href=\"https://github.com/JoJoZ/\">GitLab</a>"
"<a href=\"https://github.com/bryal/\">GitHub</a>"
"<a href=\"https://gitlab.com/JoJoZ/jo-zone/\">Source</a>")
:html-postamble "<p class=\"author\">Author: %a (%e)</p><p class=\"date\">Last updated: %T</p><p class=\"creator\">%c</p>"
:html-link-home ,root
))))
(setq org-publish-project-alist
(append projects org-publish-project-alist)))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment