From beac46e9db0a6d726bf1312729b6692fba95fa9a Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 19 Apr 2017 15:39:19 +0300 Subject: [PATCH] Add notes for 2017-04-19 --- content/post/2017-04.md | 13 +++++++++++++ public/2017-04/index.html | 20 +++++++++++++++++--- public/sitemap.xml | 10 +++++----- 3 files changed, 35 insertions(+), 8 deletions(-) diff --git a/content/post/2017-04.md b/content/post/2017-04.md index 52099a350..32f7c6230 100644 --- a/content/post/2017-04.md +++ b/content/post/2017-04.md @@ -238,3 +238,16 @@ $ ansible linode02 -u aorth -b --become-user=postgres -K -m postgresql_user -a ' ``` - Need to look into [running this via systemd](https://github.com/puma/puma/blob/master/docs/systemd.md) +- This is interesting for creating runnable commands from `bundle`: + +``` +$ bundle binstubs puma --path ./sbin +``` + +## 2017-04-19 + +- Usman sent another link to their OAI interface, where the country names are now capitalized: https://data.cifor.org/dspace/oai/cgiar?verb=GetRecord&metadataPrefix=dim&identifier=oai:data.cifor.org:11463/947 +- Looking at the same item in XMLUI, the countries are not capitalized: https://data.cifor.org/dspace/xmlui/handle/11463/947?show=full +- So it seems he did it in the crosswalk! +- Keep working on Ansible stuff for deploying the CKM REST API +- We can use systemd's `Environment` stuff to pass the database parameters to Rails diff --git a/public/2017-04/index.html b/public/2017-04/index.html index d2aebe3cc..52c39b8c3 100644 --- a/public/2017-04/index.html +++ b/public/2017-04/index.html @@ -30,7 +30,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th - + @@ -79,9 +79,9 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th "@type": "BlogPosting", "headline": "April, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-04/", - "wordCount": "1634", + "wordCount": "1712", "datePublished": "2017-04-02T17:08:52+02:00", - "dateModified": "2017-04-17T15:01:57+03:00", + "dateModified": "2017-04-18T16:58:55+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -434,6 +434,20 @@ $ rails -s + +
$ bundle binstubs puma --path ./sbin
+
+ +

2017-04-19

+ + diff --git a/public/sitemap.xml b/public/sitemap.xml index 64852d4e2..0ac6176c4 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,7 +3,7 @@ https://alanorth.github.io/cgspace-notes/2017-04/ - 2017-04-17T15:01:57+03:00 + 2017-04-18T16:58:55+03:00 @@ -93,7 +93,7 @@ https://alanorth.github.io/cgspace-notes/ - 2017-04-17T15:01:57+03:00 + 2017-04-18T16:58:55+03:00 0 @@ -104,19 +104,19 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-04-17T15:01:57+03:00 + 2017-04-18T16:58:55+03:00 0 https://alanorth.github.io/cgspace-notes/post/ - 2017-04-17T15:01:57+03:00 + 2017-04-18T16:58:55+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2017-04-17T15:01:57+03:00 + 2017-04-18T16:58:55+03:00 0