My adventures in tech land - TODO file
Table of Contents
- code
- CODE rename variables and rearrange de code elisp
- TODO Write a summary of the daily tasks admin
- FIX favicon support to RSS xml
- CODE foldable navigation for the main index CSS
- CODE capture directly to adventuresintechland.org elisp
- FIX check the links automatically shell
- CODE automated index creation for readings shell
- CODE Automate CSS index generation shell
- CODE add "padding" option to "number-to-string" c
- LEARN CSS variable css
- LEARN CSS flexbox css css
- LEARN CSS grid css
- LEARN CSS bootstrap css
- LEARN Google material design
- LEARN Joomla updates cms
- LEARN wordpress updates cms
- LEARN Drupal updates cms
- LEARN git git
- change of branch without committing: git stash | git stash push
- see what stashes are stored: git stash list
- apply stash: git stash apply stash@{n} <- n comes from the list
- remove the stash: git stash drop
- magit file checkout: magit-file-checkout X f
- CHECK git revert
- CHECK git merge
- DONE git checkout file
- DONE how to fix commit messages ? magit git
- CHECK tag insertion right and left of selection emacs
- CHECK FireFox/Safari/Chrome developer tools browser
- CHECK elfeed manual emacs
- CHECK isearch manual emacs
- CHECK "project" manager for all the files emacs
- CHECK add autocompletion for html/css emacs
- TODO manage daily entries
[9/9]
- DONE create the rss entry in file:./adventuresintechland.xml me
- DONE run file:./adventuresintechland.el to create the template emacs
- DONE edit the main file:./index.html for links and nb of day me
- DONE edit the previous day
- DONE fill the template and add day number me
- DONE stage the new folder and index.html, the RSS and old indexes git
- DONE update adventuresintechland.org
- DONE export adventuresintechland.org.html
- DONE commit the org file and push everything to origin git
- DONE items
- DONE automate trivial updating tasks elisp
- DONE clean up the code and make it all work again elisp
- DONE write-region bug ? elisp
- CANCELED automatically create daily links elisp shell
- CANCELED automatically generate "nth day" elisp
- DONE just got bitten by the date edge cases… elisp
- DONE create "edge-case" branch to work safely :) admin
- DONE reorganise the directory tree admin
- DONE fast access to org keywords org
- DONE reorganize basic css locations css
- DONE add favicon support html
- DONE append the XML to the RSS file elisp
- DONE RFC-822 valide dates for the rss feed elisp
- DONE the RSS date is not valid xml
- DONE add a "0" to single digit days in the page title elisp
- DONE add .emacs.d/init.el to git repository git emacs
- DONE link to exported org file is not correct elisp
- DONE add web-mode hook for html files elisp
- DONE github contributions don't appear github
- DONE the RSS feed does not work anymore xml
- DONE link this todo file to all the daily files elisp html
- DONE create daily folder structure and html template elisp
- DONE pushing to github from emacs emacs
- DONE change daily tasks admin
- DONE list the tasks required in publishing the pages admin
- DONE create a global todo file admin
- DONE gather all the todos written in older pages admin
- DONE customize org export because the HTML is ugly admin
code
CODE rename variables and rearrange de code elisp
TODO Write a summary of the daily tasks admin
FIX favicon support to RSS xml
https://snook.ca/archives/rss/add_logo_to_feed http://www.rssboard.org/rss-2-0-1 not working at the moment…
CODE foldable navigation for the main index CSS
CODE capture directly to adventuresintechland.org elisp
FIX check the links automatically shell
CODE automated index creation for readings shell
CODE Automate CSS index generation shell
The index.sh script exists but needs to be run automatically.
CODE add "padding" option to "number-to-string" c
LEARN CSS variable css
LEARN CSS flexbox css css
LEARN CSS grid css
LEARN CSS bootstrap css
LEARN Google material design
LEARN Joomla updates cms
LEARN wordpress updates cms
LEARN Drupal updates cms
PTGPTB -> drupal 8/9
LEARN git git
change of branch without committing: git stash | git stash push
see what stashes are stored: git stash list
apply stash: git stash apply stash@{n} <- n comes from the list
remove the stash: git stash drop
magit file checkout: magit-file-checkout X f
CHECK git revert
DONE git checkout file
- State "DONE" from "CHECK"
to cancel modifications on a file: checkout the repository contents magit-file-checkout X f
DONE how to fix commit messages ? magit git
git commit -v –amend
- State "DONE" from "CHECK"
I was thinking that had to do with the "amend" command, but maybe not… https://dev.to/jacobherrington/10-git-tricks-to-save-your-time-and-sanity-289h "This one comes in handy when you accidentally commit something with a typo or misleading commit message."
CHECK tag insertion right and left of selection emacs
And how to efficiently select
CHECK FireFox/Safari/Chrome developer tools browser
CHECK elfeed manual emacs
CHECK isearch manual emacs
CHECK "project" manager for all the files emacs
CHECK add autocompletion for html/css emacs
TODO manage daily entries [9/9]
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
DONE create the rss entry in file:./adventuresintechland.xml me
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
The RSS entry is the summary for the day. I should write it first
DONE run file:./adventuresintechland.el to create the template emacs
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
I just fix the links in that step.
DONE edit the main file:./index.html for links and nb of day me
- State "DONE" from "LEARN"
- State "DONE" from "LEARN"
- State "DONE" from "LEARN"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
Here again, just fix the links and modify the numbers
[last day] x 2
logbook + nb of documented days
DONE edit the previous day
- State "DONE" from "LEARN"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
Just fix the links and make them point at the correct "next day"
DONE fill the template and add day number me
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from
Use the RSS summary as a first paragraph
DONE stage the new folder and index.html, the RSS and old indexes git
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
DONE update adventuresintechland.org
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
DONE export adventuresintechland.org.html
- State "DONE" from "LEARN"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
DONE commit the org file and push everything to origin git
- State "DONE" from "LEARN"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
- State "DONE" from "TODO"
git checkout "gh-pages"
git status
git add *
git commit -m "commit message"
git push origin
git checkout "master"
git merge gh-pages
git push origin
git checkout "gh-pages"
DONE items
DONE automate trivial updating tasks elisp
- State "DONE" from "CODE"
DONE global index adventuresintechland.el: UpdateMainIndex
- State "DONE" from "TODO"
DONE previous day adventuresintechland.el: UpdatePreviousPage
- State "DONE" from "TODO"
DONE rss feed adventuresintechland.el: UpdateRSSFeed
- State "DONE" from "TODO"
DONE clean up the code and make it all work again elisp
- State "DONE" from "CODE"
DONE write-region bug ? elisp
it was ot a bug, the "visit" argument was set to "t" thus the buffer was asked to visit the file… https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00040.html
- State "DONE" from "CHECK"
(write-region "stuff" nil "/path/to/test.txt" nil t nil t) sometimes, such a one liner outputs itself to the target file. weird.
CANCELED automatically create daily links elisp shell
moved to a more global item.
- State "CANCELED" from "FIX"
should find the previous folder in the hierarchy, etc.
CANCELED automatically generate "nth day" elisp
I moved that to a more global CODE issue
- State "CANCELED" from "CODE"
nth day is present in the global index and in the daily file I'll need to put a marker somewhere that I can access through the el file
DONE just got bitten by the date edge cases… elisp
Done in the "edge cases" branch, merged into master. Wow, that was long. The code is cleaner now. I need to organize the functions and see how to rationalize that, but overal, it should work.
- State "DONE" from "FIX"
working on that in the edge-cases branch
DONE create "edge-case" branch to work safely :) admin
- State "DONE" from "TODO"
that's the whole point of having branches…
DONE reorganise the directory tree admin
- State "DONE" from "TODO"
the old files go to /cruft for later processing instead of working on "prototype" or "test" files I'll create branches
DONE fast access to org keywords org
- State "DONE" from "CHECK"
C-c C-t
DONE reorganize basic css locations css
- State "DONE" from "CHECK"
move the main css files to the root of the css directory
DONE add favicon support html
- State "DONE" from "CHECK"
https://en.wikipedia.org/wiki/Favicon And from there: http://faviconit.com/en It took me a while to remember "https://duckduckgo.com/?q=what+is+the+name+of+the+URL+icons+in+the+browser&t=osx&ia=about"…
DONE append the XML to the RSS file elisp
myInsert is used for that, need to pretify the thing and put it in the main code
- State "DONE" from "CHECK"
DONE RFC-822 valide dates for the rss feed elisp
- State "DONE" from "CHECK"
(format-time-string "%a, %d %b %Y %H:%m:%S UT" (current-time) t)
DONE the RSS date is not valid xml
- State "DONE" from "CHECK"
DONE add a "0" to single digit days in the page title elisp
I externalized the date creation function to check for days < 10 and I had to create a "0 padding" function because number-to-string does not take options to format the resulting string. The function is written in C so way above what I can do…
- State "DONE" from "CHECK"
DONE add .emacs.d/init.el to git repository git emacs
- State "DONE" from "CHECK"
DONE link to exported org file is not correct elisp
I'm trying to revert that instead of just fixing something that should not have been modified in the first place, but I'm finding the revert function not trivial to use (understand ?). The Magit manual expects the user to understand what a revert is I guess. I'll have to check the Pro Git book later.
- State "DONE" from "CHECK"
DONE add web-mode hook for html files elisp
The web-mode manual, or rather home page gives all sorts of relevant settings that I had just to copy to my .emacs.el file to fix this item. http://web-mode.org/
- State "DONE" from "CHECK"
DONE github contributions don't appear github
- State "DONE" from "CHECK"
registered email problem ? I checked that on 19/12/02, I'll see later of that works. Ok, I saw that my commit messages included an old email, but I had changed of mail not only on github but also on this machine. So I checked Pro Git and found the following command: git config –list –show-origin and sure enough, that old mail was listed at .git/config. It did not occur to me right away that this .git thing was representing the local repository so I had some head scratching moments here but here again, Pro Git had an instance of that string that made clear the parameter was local to the repository, so the fix was to use: git config –local user.email [my email] Et voilĂ , now I should be able to see my "contributions" to my own repository appear as green dots on my profile. Interesting to see how that little playful option (the green dots) helped me figure out a relatively important issue.
DONE the RSS feed does not work anymore xml
- State "DONE" from "CHECK"
DONE link this todo file to all the daily files elisp html
- State "DONE" from "TODO"
Just added a link into the elisp template.
DONE create daily folder structure and html template elisp
- State "DONE" from "CHECK"
DONE pushing to github from emacs emacs
- State "DONE" from "TODO"
Using magit is not that hard.
DONE change daily tasks admin
to reduce the nb of possible errors
- State "DONE" from "TODO"
DONE list the tasks required in publishing the pages admin
- State "DONE" from "TODO"
DONE create a global todo file admin
- State "DONE" from "TODO"
DONE gather all the todos written in older pages admin
- State "DONE" from "TODO"
DONE customize org export because the HTML is ugly admin
- State "DONE" from "TODO"
What I don't like is how the headings are HTML headers. The ToC alone would be sufficient for what I need. I did some css and it looks much better. With lots of room for improvement.