comparison src/learn.html.luan @ 67:b1982e401900

security
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 15 Sep 2024 08:09:27 -0600
parents 7c496678f32a
children
comparison
equal deleted inserted replaced
66:4b68d7e43726 67:b1982e401900
31 } 31 }
32 editor = { 32 editor = {
33 title = [[Text Editor and JSON]] 33 title = [[Text Editor and JSON]]
34 content = function() 34 content = function()
35 %> 35 %>
36 <p>A text editor is a basic tool for reactionary programmers. We use simple flexible tools. Modern scum use an <a href="https://en.wikipedia.org/wiki/Integrated_development_environment">IDE</a> which is big, <a href="http://mikraite.arkian.net/Changed-my-mind-about-IDE-s-tp2769.html">complicated</a>, and inflexible. We don't use such tools.</p> 36 <p>A text editor is a basic tool for reactionary programmers. We use simple flexible tools. Modern scum use an <a href="https://en.wikipedia.org/wiki/Integrated_development_environment">IDE</a> which is big, <a href="https://mikraite.arkian.net/Changed-my-mind-about-IDE-s-tp2769.html">complicated</a>, and inflexible. We don't use such tools.</p>
37 37
38 <p>I reviewed the available text editors and I think <a href="https://www.sublimetext.com/">Sublime Text</a> is the best one available. So please download it and learn how it works.</p> 38 <p>I reviewed the available text editors and I think <a href="https://www.sublimetext.com/">Sublime Text</a> is the best one available. So please download it and learn how it works.</p>
39 39
40 <p><a href="https://en.wikipedia.org/wiki/JSON">JSON</a> is the most popular text data format. I think JSON was the last good programming idea from modern culture, developed around 2001, before modern culture became fully depraved. Do your own research on JSON to understand it. It is fairly simple.</p> 40 <p><a href="https://en.wikipedia.org/wiki/JSON">JSON</a> is the most popular text data format. I think JSON was the last good programming idea from modern culture, developed around 2001, before modern culture became fully depraved. Do your own research on JSON to understand it. It is fairly simple.</p>
41 41
73 } 73 }
74 hg = { 74 hg = {
75 title = [[Mercurial - Source Control]] 75 title = [[Mercurial - Source Control]]
76 content = function() 76 content = function()
77 %> 77 %>
78 <p>Thankfully <a href="mercurial.html">Mercurial</a> is well documented. Read <a href="http://hgbook.red-bean.com/">Mercurial: The Definitive Guide</a> up to (and including) chapter 9.</p> 78 <p>Thankfully <a href="mercurial.html">Mercurial</a> is well documented. Read <a href="https://hgbook.red-bean.com/">Mercurial: The Definitive Guide</a> up to (and including) chapter 9.</p>
79 79
80 <p>To get started with Mercurial, download Mercurial from <a href="https://www.mercurial-scm.org/">their website</a> and install it. Then do:</p> 80 <p>To get started with Mercurial, download Mercurial from <a href="https://www.mercurial-scm.org/">their website</a> and install it. Then do:</p>
81 81
82 <code block> 82 <code block>
83 ~/learn $ hg version 83 ~/learn $ hg version
88 This is free software; see the source for copying conditions. There is NO 88 This is free software; see the source for copying conditions. There is NO
89 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 89 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
90 ~/learn $ 90 ~/learn $
91 </code> 91 </code>
92 92
93 <p>If this works, it is installed properly. Next <a href="http://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html#sec:tour-basic:username">set up your Mercurial configuration file</a> which is <code>~/.hgrc</code> on a Mac or <code>/c/Users/$(whoami)/mercurial.ini</code> on Windows <a href="https://www.msys2.org/">MSYS2</a>. My <a href="https://www.mercurial-scm.org/doc/hgrc.5.html">hgrc</a> file looks like this: 93 <p>If this works, it is installed properly. Next <a href="https://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html#sec:tour-basic:username">set up your Mercurial configuration file</a> which is <code>~/.hgrc</code> on a Mac or <code>/c/Users/$(whoami)/mercurial.ini</code> on Windows <a href="https://www.msys2.org/">MSYS2</a>. My <a href="https://www.mercurial-scm.org/doc/hgrc.5.html">hgrc</a> file looks like this:
94 94
95 <code block> 95 <code block>
96 [ui] 96 [ui]
97 username = Franklin Schmidt <fschmidt@gmail.com> 97 username = Franklin Schmidt <fschmidt@gmail.com>
98 98
192 <p>Using Chrome, on any page you can right-click in an empty area and from the menu select "View Page Source". This will show you the HTML for the webpage. If you try this on different websites, you will probably notice that my webpages are fairly short and well organized while the webpages of modern scum are unreadable. Another thing to try is to right-click anywhere in a page and select "Inspect". This should open the developer tools with the tab "Elements" selected. In this tab, you get the HTML organized as a tree that can be expanded to collapsed. The "Elements" tab of Chrome developer tools will be your core tool when you work with HTML and CSS. You should play with it and do your own research on it to learn how it works.</p> 192 <p>Using Chrome, on any page you can right-click in an empty area and from the menu select "View Page Source". This will show you the HTML for the webpage. If you try this on different websites, you will probably notice that my webpages are fairly short and well organized while the webpages of modern scum are unreadable. Another thing to try is to right-click anywhere in a page and select "Inspect". This should open the developer tools with the tab "Elements" selected. In this tab, you get the HTML organized as a tree that can be expanded to collapsed. The "Elements" tab of Chrome developer tools will be your core tool when you work with HTML and CSS. You should play with it and do your own research on it to learn how it works.</p>
193 193
194 <p>The next step is to download this website like this:</p> 194 <p>The next step is to download this website like this:</p>
195 195
196 <code block> 196 <code block>
197 ~/learn $ wget -r -k http://www.reactionary.software/ 197 ~/learn $ wget -r -k https://www.reactionary.software/
198 --2024-01-15 01:31:20-- http://www.reactionary.software/ 198 --2024-01-15 01:31:20-- https://www.reactionary.software/
199 ... 199 ...
200 ~/learn $ cd www.reactionary.software/ 200 ~/learn $ cd www.reactionary.software/
201 ~/learn/www.reactionary.software $ ls -F 201 ~/learn/www.reactionary.software $ ls -F
202 about.html hg_dev.html mercurial.html 202 about.html hg_dev.html mercurial.html
203 bash.html index.html needed.html 203 bash.html index.html needed.html