Browse Source

Add RSS to the mix

master
Sameer Rahmani 4 weeks ago
parent
commit
6597d08a3a
  1. 17
      Cask
  2. 13
      Makefile
  3. 4
      build.el
  4. 1
      orgs/essays/my-new-programming-language.org
  5. 1
      orgs/essays/transaction-variants.org
  6. 2
      orgs/templates/blog.html

17
Cask

@ -1,17 +0,0 @@ @@ -1,17 +0,0 @@
(source gnu)
(source melpa)
(package-file "build.el")
(development
(depends-on "f")
(depends-on "ecukes")
(depends-on "ert-runner")
(depends-on "el-mock"))
(depends-on "mustache")
(depends-on "ht")
(depends-on "org")
(depends-on "ox-publish")
(depends-on "htmlize")
(depends-on "dracula-theme")

13
Makefile

@ -1,20 +1,15 @@ @@ -1,20 +1,15 @@
deps:
cask
clean:
rm -rf build
rm -rf ./orgs/index.org ./orgs/categories/ ./orgs/tags/
mkdir -p ./orgs/categories/ ./orgs/tags/
rm -rf `find . -iname "*~"`
dev-build:
./build.el
./build.el :d docs
build: clean
LXHOME_PROD=t ./build.el
./build.el docs
serve: build
npx http-server -p 3003 ./build
npx http-server -p 3003 ./build/site-build
deploy: clean build
rsync -vlcr --delete-after ./build/* core.lxsameer.com:/home/lxsameer/lxsameer.com/home/
rsync -vlcr --delete-after ./build/site-build/* lxsameer@core.lxsameer.com:/home/lxsameer/lxsameer.com/home/

4
build.el

@ -50,11 +50,13 @@ PARAMS: @@ -50,11 +50,13 @@ PARAMS:
(defproject lxsameer.com
project-root (nth 2 command-line-args-left)
docs-root "/orgs"
usage build/usage
prod-base-url "https://lxsameer.com"
docs-pages-dir "/essays"
docs-actions '(copy-necessary-files)
docs-ignore-category-check '("thoughts.org")
docs-title "lxsameer.com - The little nest of mine")
docs-title "lxsameer.com"
docs-desc "The little nest of mine")
(defun copy-necessary-files (build-dir base-url)

1
orgs/essays/my-new-programming-language.org

@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
#+CATEGORY: Engineering
#+DATE: 2019-11-25
#+TITLE: My new programming language
#+DESC: This is the story of my journey through the world of programming languages
As a software engineer, one of my joys in life is to learn new things. I can't describe the
pleasure of learning a new technology or stepping forward in the world of science. If you experienced

1
orgs/essays/transaction-variants.org

@ -4,6 +4,7 @@ @@ -4,6 +4,7 @@
#+CATEGORY: Engineering
#+DATE: 2019-04-26
#+TITLE: Transaction Variants
#+DESC: A quick overview of different transaction variants in a RDBM
In this post I want to talk about different variants of [[https://en.wikipedia.org/wiki/Database_transaction][database transactions]], I assume you already
know about database transactions. So, let's cut to the chase.

2
orgs/templates/blog.html

@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
<header>
<nav style="text-align: center;">
<a href="/">HOME</a> | <a href="/categories/">Categories</a> | <a href="/tags/">Tags</a> | <a href="/coh.html">Code of Honor</a> | <a href="/index.xml">RSS</a>
<a href="/">HOME</a> | <a href="/categories/">Categories</a> | <a href="/tags/">Tags</a> | <a href="/coh.html">Code of Honor</a> | <a href="/rss.xml">RSS</a>
</nav>
<hr/>
</header>

Loading…
Cancel
Save