<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.abuissa.net/index.php?action=history&amp;feed=atom&amp;title=Blog%3A_2023-08-21</id>
	<title>Blog: 2023-08-21 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.abuissa.net/index.php?action=history&amp;feed=atom&amp;title=Blog%3A_2023-08-21"/>
	<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=Blog:_2023-08-21&amp;action=history"/>
	<updated>2026-04-06T23:15:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.13</generator>
	<entry>
		<id>https://wiki.abuissa.net/index.php?title=Blog:_2023-08-21&amp;diff=696&amp;oldid=prev</id>
		<title>Razzi at 18:15, 21 August 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=Blog:_2023-08-21&amp;diff=696&amp;oldid=prev"/>
		<updated>2023-08-21T18:15:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:15, 21 August 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;which worked for me&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;which worked for me&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Interesting about clearing terminals and using xxd to view output of this type of command https://apple.stackexchange.com/a/318217/188310&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:wikidiff2:1.12:old-695:rev-696:1.13.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Razzi</name></author>
	</entry>
	<entry>
		<id>https://wiki.abuissa.net/index.php?title=Blog:_2023-08-21&amp;diff=695&amp;oldid=prev</id>
		<title>Razzi at 06:59, 21 August 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=Blog:_2023-08-21&amp;diff=695&amp;oldid=prev"/>
		<updated>2023-08-21T06:59:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:59, 21 August 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;weave $ vim app.json&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;weave $ vim app.json&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;weave $ curl &#039;http://localhost:5000/api/send-student-verification-email&#039; -X POST -H &#039;Accept: application/json&#039; -H &#039;content-type: application/json&#039; -H &#039;Origin: http://localhost:5000&#039; -H &#039;Connection: keep-alive&#039; -H &#039;Sec-Fetch-Dest: empty&#039; -H &#039;Sec-Fetch-Mode: cors&#039; -H &#039;Sec-Fetch-Site: same-origin&#039; -H &#039;Pragma: no-cache&#039; -H &#039;Cache-Control: no-cache&#039; --data-raw &#039;{&quot;email&quot;:&quot;rere@duke.edu&quot;,&quot;is_personal_device&quot;:true}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;weave $ curl &#039;http://localhost:5000/api/send-student-verification-email&#039; -X POST -H &#039;Accept: application/json&#039; -H &#039;content-type: application/json&#039; -H &#039;Origin: http://localhost:5000&#039; -H &#039;Connection: keep-alive&#039; -H &#039;Sec-Fetch-Dest: empty&#039; -H &#039;Sec-Fetch-Mode: cors&#039; -H &#039;Sec-Fetch-Site: same-origin&#039; -H &#039;Pragma: no-cache&#039; -H &#039;Cache-Control: no-cache&#039; --data-raw &#039;{&quot;email&quot;:&quot;rere@duke.edu&quot;,&quot;is_personal_device&quot;:true}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;Want to answer https://stackoverflow.com/questions/17791571/how-can-i-test-a-flask-application-which-uses-sqlalchemy&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;with https://github.com/pamelafox/flask-surveys-container-app/blob/main/src/backend/tests/conftest.py&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;which worked for me&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:wikidiff2:1.12:old-694:rev-695:1.13.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Razzi</name></author>
	</entry>
	<entry>
		<id>https://wiki.abuissa.net/index.php?title=Blog:_2023-08-21&amp;diff=694&amp;oldid=prev</id>
		<title>Razzi: Created page with &quot;&lt;pre&gt; fish $ docker run -it -p 5000:5000 \              -e BASIC_AUTH_USERNAME=local \              -e BASIC_AUTH_PASSWORD=local \              -e SECRET_KEY=localsecret \...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=Blog:_2023-08-21&amp;diff=694&amp;oldid=prev"/>
		<updated>2023-08-21T06:58:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; fish $ docker run -it -p 5000:5000 \              -e BASIC_AUTH_USERNAME=local \              -e BASIC_AUTH_PASSWORD=local \              -e SECRET_KEY=localsecret \...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
fish $ docker run -it -p 5000:5000 \&lt;br /&gt;
             -e BASIC_AUTH_USERNAME=local \&lt;br /&gt;
             -e BASIC_AUTH_PASSWORD=local \&lt;br /&gt;
             -e SECRET_KEY=localsecret \&lt;br /&gt;
             --network slirp4netns:allow_host_loopback=true \&lt;br /&gt;
             -e DATABASE_URL=postgresql://pgclient:pass@10.0.2.2:5432/weave \&lt;br /&gt;
            (last-image-built) poetry run gunicorn app -b 0.0.0.0:5000&lt;br /&gt;
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────&lt;br /&gt;
Counting objects: 100% (57/57), done.&lt;br /&gt;
Delta compression using up to 8 threads&lt;br /&gt;
Compressing objects: 100% (31/31), done.&lt;br /&gt;
Writing objects: 100% (33/33), 129.29 KiB | 8.08 MiB/s, done.&lt;br /&gt;
Total 33 (delta 28), reused 0 (delta 0), pack-reused 0&lt;br /&gt;
To github.com:razzius/weave&lt;br /&gt;
   f726dd1..c01fe19  main -&amp;gt; main&lt;br /&gt;
weave $ ls&lt;br /&gt;
CITATION.md  LICENSE   Procfile   Vagrantfile   app.json  build/       mypy.ini       package.json  public/         pytest.ini  scripts/  src/    yarn-error.log&lt;br /&gt;
Dockerfile   Makefile  README.md  __pycache__/  app.py    flow-typed/  node_modules/  poetry.lock   pyproject.toml  saml.py     server/   tests/  yarn.lock&lt;br /&gt;
weave $ vim app.json&lt;br /&gt;
weave $ curl &amp;#039;http://localhost:5000/api/send-student-verification-email&amp;#039; -X POST -H &amp;#039;Accept: application/json&amp;#039; -H &amp;#039;content-type: application/json&amp;#039; -H &amp;#039;Origin: http://localhost:5000&amp;#039; -H &amp;#039;Connection: keep-alive&amp;#039; -H &amp;#039;Sec-Fetch-Dest: empty&amp;#039; -H &amp;#039;Sec-Fetch-Mode: cors&amp;#039; -H &amp;#039;Sec-Fetch-Site: same-origin&amp;#039; -H &amp;#039;Pragma: no-cache&amp;#039; -H &amp;#039;Cache-Control: no-cache&amp;#039; --data-raw &amp;#039;{&amp;quot;email&amp;quot;:&amp;quot;rere@duke.edu&amp;quot;,&amp;quot;is_personal_device&amp;quot;:true}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Razzi</name></author>
	</entry>
</feed>