<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1522255054273233838</id><updated>2026-10-04T12:11:41.100-07:00</updated><category term="ansible"/><category term="awx"/><category term="k3s"/><title type='text'>Red Cricket Technical Blog</title><subtitle type='html'>This is where I post snippets of information about Information Technology.  It is mostly for my own reference but I hope that others will find it useful and comments are welcome.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>274</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-3786427053643034799</id><published>2024-06-11T18:36:00.000-07:00</published><updated>2024-06-11T18:36:56.967-07:00</updated><title type='text'>Get remote openssl Certificate Information</title><content type='html'>&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;$ openssl s_client -showcerts -servername example.com&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;&amp;nbsp;-connect example.com&lt;/span&gt;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?q=http://assetsdev.nas.nasa.gov:443&amp;amp;source=gmail&amp;amp;ust=1718242370450000&amp;amp;usg=AOvVaw0BCvvEab7bfHooUsTpYU-G&quot; href=&quot;http://assetsdev.nas.nasa.gov:443/&quot; jslog=&quot;32272; 1:WyIjdGhyZWFkLWE6ci05MDg4MzA2MDA3Njg1NjExODc2Il0.; 4:WyIjbXNnLWE6ci0xNzcxNDk3MTY4Nzg1ODE3MjQiXQ..&quot; style=&quot;background-color: white; color: #1155cc; font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2;&quot; target=&quot;_blank&quot;&gt;:&lt;/a&gt;443&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;&amp;nbsp;&amp;lt;/dev/null | openssl x509 -noout -dates -in -&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;orphans: auto; text-align: left; widows: auto;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small; orphans: 2; widows: 2;&quot;&gt;...&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;orphans: auto; text-align: left; widows: auto;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small; orphans: 2; widows: 2;&quot;&gt;notBefore=Feb 22 18:00:59 2024 GMT&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;notAfter=Feb 21 18:00:59 2026 GMT&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/3786427053643034799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2024/06/get-remote-openssl-certificate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3786427053643034799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3786427053643034799'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2024/06/get-remote-openssl-certificate.html' title='Get remote openssl Certificate Information'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-2461198109215480517</id><published>2024-06-10T23:02:00.000-07:00</published><updated>2024-06-10T23:02:06.277-07:00</updated><title type='text'>Fix visual studio repeat key issue on mac vi </title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 11pt;&quot;&gt;red@mymac ~ % defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small; margin: 0px;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;u&gt;&lt;/u&gt;&lt;u&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/2461198109215480517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2024/06/fix-visual-studio-repeat-key-issue-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/2461198109215480517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/2461198109215480517'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2024/06/fix-visual-studio-repeat-key-issue-on.html' title='Fix visual studio repeat key issue on mac vi '/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-7664575058771732097</id><published>2023-12-04T18:29:00.000-08:00</published><updated>2023-12-04T18:29:11.366-08:00</updated><title type='text'>Running `go` From a Docker Container</title><content type='html'>&lt;p&gt;&amp;nbsp;I followed instructions I found here:&amp;nbsp;https://hub.docker.com/_/golang&lt;/p&gt;&lt;div&gt;% cat Dockerfile&lt;/div&gt;&lt;div&gt;&lt;br /&gt;FROM golang:1.21&lt;br /&gt;WORKDIR /usr/src/app&lt;br /&gt;# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change&lt;br /&gt;COPY go.mod go.sum ./&lt;br /&gt;RUN go mod download &amp;amp;&amp;amp; go mod verify&lt;br /&gt;COPY . .&lt;br /&gt;RUN go build -v -o /usr/local/bin/app ./...&lt;br /&gt;CMD [&quot;app&quot;]&lt;/div&gt;&lt;p&gt;You can use it like this ...&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div&gt;% cat hello.go&lt;/div&gt;&lt;div&gt;package main&lt;/div&gt;&lt;div&gt;import (&quot;fmt&quot;)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;func main() {&lt;/div&gt;&lt;div&gt;&amp;nbsp; fmt.Println(&quot;Hello World!&quot;)&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;% docker run --rm -v &quot;$PWD&quot;:/usr/src/myapp -w /usr/src/myapp golang:1.21 go build /usr/src/myapp/hello.go&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;% docker run --rm -v &quot;$PWD&quot;:/usr/src/myapp -w /usr/src/myapp golang:1.21 /usr/src/myapp/hello&lt;/div&gt;&lt;div&gt;Hello World!&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/7664575058771732097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2023/12/running-go-from-docker-container.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7664575058771732097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7664575058771732097'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2023/12/running-go-from-docker-container.html' title='Running `go` From a Docker Container'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-3137457759013117600</id><published>2023-08-12T22:39:00.000-07:00</published><updated>2023-08-12T22:39:09.904-07:00</updated><title type='text'>Ansible Unit Test Molecule Invert Failure into Success</title><content type='html'>&lt;p&gt;&amp;nbsp;This is the use case where you are expecting a task to fail during the unit test. &amp;nbsp;There are cases where you would want to test for this. &amp;nbsp;Use your imagination.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Anyways add this to the end of your molecule/*/converge.yml file:&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;---&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;- name: Converge&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; hosts: all&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; vars:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; ... omitted ...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; task_that_should_fail: &#39;Check if web server returns 200 on localhost&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; tasks:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; ... omitted ...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; - name: Role Should Fail In This Test&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; block:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - name: Include my_role&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ansible.builtin.include_role:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name: &quot;my_role&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ignore_errors: true&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - name: Passed is Fail&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fail:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msg: &quot;Role my_role unexpectedly successed!&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; rescue:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - name: Failed is Pass&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msg: &quot;Role my_role failed when it should have!&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; when:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - ansible_failed_task.name == task_that_should_fail&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - name: Passed is Fail&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fail:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msg: &quot;Role my_role unexpectedly succeed!&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; when:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - not ansible_failed_task.name == task_that_should_fail&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/3137457759013117600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2023/08/ansible-unit-test-molecule-invert.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3137457759013117600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3137457759013117600'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2023/08/ansible-unit-test-molecule-invert.html' title='Ansible Unit Test Molecule Invert Failure into Success'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-3739865144324596598</id><published>2023-08-02T22:52:00.000-07:00</published><updated>2023-08-02T22:52:14.781-07:00</updated><title type='text'>How to Add the Current Time to the Results of Your MySQL Select Statements</title><content type='html'>&lt;div&gt;&amp;nbsp;MariaDB [xx_config]&amp;gt; select *, NOW() from servers where id = &#39;Fakeuuid-kinda&#39;;&amp;nbsp;&lt;br /&gt;| ID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp;VERSION | &amp;nbsp;NOW() &amp;nbsp; &amp;nbsp;&lt;br /&gt;| Thing One | Thing Two &amp;nbsp;| 2023-08-03 02:57:44&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/3739865144324596598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2023/08/how-to-add-current-time-to-results-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3739865144324596598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3739865144324596598'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2023/08/how-to-add-current-time-to-results-of.html' title='How to Add the Current Time to the Results of Your MySQL Select Statements'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-3692601524296782576</id><published>2023-08-01T08:19:00.001-07:00</published><updated>2023-08-01T08:19:47.784-07:00</updated><title type='text'>What Data Directory is MariaDB 10.6 using?</title><content type='html'>&lt;p&gt;&amp;nbsp;Run this SQL query ...&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div&gt;root@xoubdmz1:~ # mysql&lt;/div&gt;&lt;div&gt;Welcome to the MariaDB monitor.&amp;nbsp; Commands end with ; or \g.&lt;/div&gt;&lt;div&gt;Your MariaDB connection id is 587&lt;/div&gt;&lt;div&gt;Server version: 10.6.14-MariaDB-1:10.6.14+maria~ubu2204-log mariadb.org binary distribution&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the current input statement.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;MariaDB [(none)]&amp;gt; &lt;b&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;show variables like &#39;datadir&#39;;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;+---------------+-----------------+&lt;/div&gt;&lt;div&gt;| Variable_name | Value&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/div&gt;&lt;div&gt;+---------------+-----------------+&lt;/div&gt;&lt;div&gt;| datadir&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| /var/lib/mysql/ |&lt;/div&gt;&lt;div&gt;+---------------+-----------------+&lt;/div&gt;&lt;div&gt;1 row in set (0.001 sec)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;MariaDB [(none)]&amp;gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/3692601524296782576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2023/08/what-data-directory-is-mariadb-106-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3692601524296782576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3692601524296782576'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2023/08/what-data-directory-is-mariadb-106-using.html' title='What Data Directory is MariaDB 10.6 using?'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-8139573339768501180</id><published>2023-07-10T10:20:00.003-07:00</published><updated>2023-07-10T10:25:54.540-07:00</updated><title type='text'>Draw Border on area of image map.</title><content type='html'>&lt;p&gt;This is more a hack work around.&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;style&amp;gt;&lt;br /&gt;.box {&lt;br /&gt;&amp;nbsp; &amp;nbsp; position:absolute;&lt;br /&gt;&amp;nbsp; &amp;nbsp; top:attr(top);&lt;br /&gt;&amp;nbsp; &amp;nbsp; left:attr(left);&lt;br /&gt;&amp;nbsp; &amp;nbsp; width:attr(width);&lt;br /&gt;&amp;nbsp; &amp;nbsp; height:attr(height);&lt;br /&gt;&amp;nbsp; &amp;nbsp; border:8px solid #ffffff;&lt;br /&gt;&amp;nbsp; &amp;nbsp; background-color:transparent&lt;br /&gt;}&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;h2&amp;gt;Image Maps&amp;lt;/h2&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;Click on the computer, the phone, or the cup of coffee to go to a new page and read more about the topic:&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;div class=&quot;box&quot; onclick=&quot;alert(&#39;dan oaks eats shit&#39;)&quot; style=&quot;top: 350px; left: 295px; width: 88px; height: 88px; cursor: pointer;&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;img src=&quot;workplace.jpg&quot; alt=&quot;Workplace&quot; usemap=&quot;#workmap&quot; width=&quot;400&quot; height=&quot;379&quot;&amp;gt;&lt;br /&gt;&amp;lt;map name=&quot;workmap&quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;area shape=&quot;rect&quot; coords=&quot;34,44,270,350&quot; alt=&quot;Computer&quot; href=&quot;computer.htm&quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;area shape=&quot;rect&quot; coords=&quot;290,172,333,250&quot; alt=&quot;Phone&quot; href=&quot;phone.htm&quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;area shape=&quot;circle&quot; coords=&quot;337,300,44&quot; alt=&quot;Cup of coffee&quot; href=&quot;coffee.htm&quot;&amp;gt;&lt;br /&gt;&amp;lt;/map&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;!--more--&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Place the above html here:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.w3schools.com/html/tryit.asp?filename=tryhtml_images_map2&quot;&gt;https://www.w3schools.com/html/tryit.asp?filename=tryhtml_images_map2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;You should see an image like so ...&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh4V9a7TdQUZo4zW-vLpVCU_koypkxHVXmd40wEM0wY_YeCuTAcBTG9zBFeCIPNrXIrvxw4IotRJIYu8L5PjsFW-2jWO5vuSzuwj-BpKERjamC_unYvh5ZmfnXJMZ6OR6GMQOKGKD8C_a3SEfBB8s2tH1xwYbFRI972lUloDbUV-CcCewoggo2XAzpXo70&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;1004&quot; data-original-width=&quot;930&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh4V9a7TdQUZo4zW-vLpVCU_koypkxHVXmd40wEM0wY_YeCuTAcBTG9zBFeCIPNrXIrvxw4IotRJIYu8L5PjsFW-2jWO5vuSzuwj-BpKERjamC_unYvh5ZmfnXJMZ6OR6GMQOKGKD8C_a3SEfBB8s2tH1xwYbFRI972lUloDbUV-CcCewoggo2XAzpXo70&quot; width=&quot;222&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;... note the white box around the &quot;Cup of Coffee&quot;. &amp;nbsp;Click on an you will see a very true and important message:&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgdTgl0pGlinMVXvd3hrR5_JFa_n5RbpBLGow4k5g2F0SpFnp7JEPpGvaO1bjCgdv1qVkbKHPVfCCz437Mx8ji_Pe9Qz_LRY84p63RGb6F1zvzXnpG8MHiKoQdgb1OwwPUxXtywK1Tzb7dI9XZEKrrSy2ONB-KaAaCxvciPWrz8222Qef8xPCubXYSYuk8&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;328&quot; data-original-width=&quot;960&quot; height=&quot;109&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgdTgl0pGlinMVXvd3hrR5_JFa_n5RbpBLGow4k5g2F0SpFnp7JEPpGvaO1bjCgdv1qVkbKHPVfCCz437Mx8ji_Pe9Qz_LRY84p63RGb6F1zvzXnpG8MHiKoQdgb1OwwPUxXtywK1Tzb7dI9XZEKrrSy2ONB-KaAaCxvciPWrz8222Qef8xPCubXYSYuk8&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/8139573339768501180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2023/07/draw-border-on-area-of-image-map.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/8139573339768501180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/8139573339768501180'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2023/07/draw-border-on-area-of-image-map.html' title='Draw Border on area of image map.'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEh4V9a7TdQUZo4zW-vLpVCU_koypkxHVXmd40wEM0wY_YeCuTAcBTG9zBFeCIPNrXIrvxw4IotRJIYu8L5PjsFW-2jWO5vuSzuwj-BpKERjamC_unYvh5ZmfnXJMZ6OR6GMQOKGKD8C_a3SEfBB8s2tH1xwYbFRI972lUloDbUV-CcCewoggo2XAzpXo70=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-807880338283551377</id><published>2023-06-16T21:44:00.002-07:00</published><updated>2023-06-16T21:46:08.582-07:00</updated><title type='text'>vi mk%y&#39;k</title><content type='html'>&lt;p&gt;Copy lines of text between &#39;{}&#39;s&amp;nbsp;&lt;/p&gt;&lt;p&gt;Give this text file contents:&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&amp;nbsp; 1&lt;br /&gt;&amp;nbsp; 2 ; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.10.6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; download.fedoraproject.org&lt;br /&gt;&amp;nbsp; 3 ;; global options: +cmd&lt;br /&gt;&amp;nbsp; 4 ;; Got answer:&lt;br /&gt;&amp;nbsp; 5 ;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 52209&lt;br /&gt;&amp;nbsp; 6 ;; flags: qr rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 0, ADDITIONAL: 1&lt;br /&gt;&amp;nbsp; 7&lt;br /&gt;&amp;nbsp; 8 ;; OPT PSEUDOSECTION:&lt;br /&gt;&amp;nbsp; 9 ; EDNS: version: 0, flags:; udp: 512&lt;br /&gt;&amp;nbsp;10 ;; QUESTION SECTION:&lt;br /&gt;&amp;nbsp;11 ;download.fedoraproject.org. &amp;nbsp; &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A&lt;br /&gt;&amp;nbsp;12 {&lt;br /&gt;&amp;nbsp;13 ;; ANSWER SECTION:&lt;br /&gt;&amp;nbsp;14 download.fedoraproject.org. 300 IN &amp;nbsp; &amp;nbsp; &amp;nbsp;CNAME &amp;nbsp; wildcard.fedoraproject.org.&lt;br /&gt;&amp;nbsp;15 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 38.145.60.20&lt;br /&gt;&amp;nbsp;16 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 152.19.134.142&lt;br /&gt;&amp;nbsp;17 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 67.219.144.68&lt;br /&gt;&amp;nbsp;18 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 8.43.85.67&lt;br /&gt;&amp;nbsp;19 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 38.145.60.21&lt;br /&gt;&amp;nbsp;20 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 152.19.134.198&lt;br /&gt;&amp;nbsp;21 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 8.43.85.73&lt;br /&gt;&amp;nbsp;22 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 140.211.169.196&lt;br /&gt;&amp;nbsp;23 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 34.221.3.152&lt;br /&gt;&amp;nbsp;24 }&lt;br /&gt;&amp;nbsp;25 (&lt;br /&gt;&amp;nbsp;26 ;; Query time: 95 msec&lt;br /&gt;&amp;nbsp;27 ;; SERVER: 2600:6c52:763f:e773:1691:82ff:fe86:3046#53(2600:6c52:763f:e773:1691:82ff:fe86:3046)&lt;br /&gt;&amp;nbsp;28 ;; WHEN: Fri Jun 16 21:31:33 PDT 2023&lt;br /&gt;&amp;nbsp;29 ;; MSG SIZE &amp;nbsp;rcvd: 222&lt;br /&gt;&amp;nbsp;30 )&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;Move the cursor to the &#39;{&#39; on line 12. (:12&amp;lt;return&amp;gt;) then type: &lt;u&gt;mk%y&#39;k&lt;/u&gt;&amp;nbsp;then move the cursor to line 7 and type: &lt;u&gt;p&lt;/u&gt;&amp;nbsp;and the file should look like this:&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; 1&lt;br /&gt;&amp;nbsp; 2 ; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.10.6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; download.fedoraproject.org&lt;br /&gt;&amp;nbsp; 3 ;; global options: +cmd&lt;br /&gt;&amp;nbsp; 4 ;; Got answer:&lt;br /&gt;&amp;nbsp; 5 ;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 52209&lt;br /&gt;&amp;nbsp; 6 ;; flags: qr rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 0, ADDITIONAL: 1&lt;br /&gt;&amp;nbsp; 7 {&lt;br /&gt;&amp;nbsp; 8 ;; ANSWER SECTION:&lt;br /&gt;&amp;nbsp; 9 download.fedoraproject.org. 300 IN &amp;nbsp; &amp;nbsp; &amp;nbsp;CNAME &amp;nbsp; wildcard.fedoraproject.org.&lt;br /&gt;&amp;nbsp;10 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 38.145.60.20&lt;br /&gt;&amp;nbsp;11 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 152.19.134.142&lt;br /&gt;&amp;nbsp;12 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 67.219.144.68&lt;br /&gt;&amp;nbsp;13 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 8.43.85.67&lt;br /&gt;&amp;nbsp;14 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 38.145.60.21&lt;br /&gt;&amp;nbsp;15 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 152.19.134.198&lt;br /&gt;&amp;nbsp;16 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 8.43.85.73&lt;br /&gt;&amp;nbsp;17 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 140.211.169.196&lt;br /&gt;&amp;nbsp;18 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 34.221.3.152&lt;br /&gt;&amp;nbsp;19 }&lt;br /&gt;&amp;nbsp;20&lt;br /&gt;&amp;nbsp;21 ;; OPT PSEUDOSECTION:&lt;br /&gt;&amp;nbsp;22 ; EDNS: version: 0, flags:; udp: 512&lt;br /&gt;&amp;nbsp;23 ;; QUESTION SECTION:&lt;br /&gt;&amp;nbsp;24 ;download.fedoraproject.org. &amp;nbsp; &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A&lt;br /&gt;&amp;nbsp;25 {&lt;br /&gt;&amp;nbsp;26 ;; ANSWER SECTION:&lt;br /&gt;&amp;nbsp;27 download.fedoraproject.org. 300 IN &amp;nbsp; &amp;nbsp; &amp;nbsp;CNAME &amp;nbsp; wildcard.fedoraproject.org.&lt;br /&gt;&amp;nbsp;28 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 38.145.60.20&lt;br /&gt;&amp;nbsp;29 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 152.19.134.142&lt;br /&gt;&amp;nbsp;30 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 67.219.144.68&lt;br /&gt;&amp;nbsp;31 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 8.43.85.67&lt;br /&gt;&amp;nbsp;32 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 38.145.60.21&lt;br /&gt;&amp;nbsp;33 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 152.19.134.198&lt;br /&gt;&amp;nbsp;34 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 8.43.85.73&lt;br /&gt;&amp;nbsp;35 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 140.211.169.196&lt;br /&gt;&amp;nbsp;36 wildcard.fedoraproject.org. 22 &amp;nbsp;IN &amp;nbsp; &amp;nbsp; &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; 34.221.3.152&lt;br /&gt;&amp;nbsp;37 }&lt;br /&gt;&amp;nbsp;38 (&lt;br /&gt;&amp;nbsp;39 ;; Query time: 95 msec&lt;br /&gt;&amp;nbsp;40 ;; SERVER: 2600:6c52:763f:e773:1691:82ff:fe86:3046#53(2600:6c52:763f:e773:1691:82ff:fe86:3046)&lt;br /&gt;...&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/807880338283551377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2023/06/vi-mk-yk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/807880338283551377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/807880338283551377'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2023/06/vi-mk-yk.html' title='vi mk%y&#39;k'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-8654445348544468158</id><published>2023-06-07T20:03:00.003-07:00</published><updated>2023-06-07T20:03:45.533-07:00</updated><title type='text'>Remove last column in bash</title><content type='html'>&lt;h2 style=&quot;text-align: left;&quot;&gt;awk -F&#39;.&#39; &#39;sub(FS $NF,x)&#39; file&lt;/h2&gt;&lt;div&gt;bash-3.2$ cat file&lt;br /&gt;MOR22A2.S4000011.h23v22.061.2023063111017.hdf&lt;br /&gt;MOR22A2.S4000011.h23v44.061.2023061111033.hdf&lt;br /&gt;AST006_S003.zip&lt;br /&gt;AST003_S066.zip&lt;br /&gt;bash-3.2$ awk -F&#39;.&#39; &#39;sub(FS $NF,x)&#39; file&lt;br /&gt;MOR22A2.S4000011.h23v22.061.2023063111017&lt;br /&gt;MOR22A2.S4000011.h23v44.061.2023061111033&lt;br /&gt;AST006_S003&lt;br /&gt;AST003_S066&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/8654445348544468158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2023/06/remove-last-column-in-bash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/8654445348544468158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/8654445348544468158'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2023/06/remove-last-column-in-bash.html' title='Remove last column in bash'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-733565718731921608</id><published>2023-05-03T10:24:00.004-07:00</published><updated>2023-05-04T19:52:06.964-07:00</updated><title type='text'>Ansible code to update AWX Ansible Inventory</title><content type='html'>&lt;h1 style=&quot;text-align: left;&quot;&gt;Ansible code to update AWX Ansible Inventory&lt;/h1&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Here is the playbook:&lt;/h3&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;---&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;- name: Update Inventory&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&amp;nbsp; hosts: localhost&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&amp;nbsp; gather_facts: False&lt;/span&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;
&lt;/span&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&amp;nbsp; roles:&lt;br /&gt;&lt;/span&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&amp;nbsp; &amp;nbsp; - role: roles/update_inventor&lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: rgba(32, 33, 36, 0.04); color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: rgba(32, 33, 36, 0.04); color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;localhost&lt;/span&gt; is used for &lt;span style=&quot;font-family: courier;&quot;&gt;hosts: because the AWX REST API endpoints are accessible from the Ansible master we are running on.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: white; caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: white; caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;Use that playbook in an AWX Job Template&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;The job template needs to prompt the user for &quot;&lt;b&gt;Inventory&lt;/b&gt;&lt;/span&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&quot; on launch.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; white-space: pre-wrap;&quot;&gt;Respond with the inventory the hosts you wish to update are in.  This will provide the value to the special AWX variable &lt;b&gt;tower_inventory_id&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;The job template needs to prompt the user for &quot;&lt;/span&gt;&lt;b style=&quot;caret-color: rgb(32, 33, 36); color: #202124; font-family: Roboto, sans-serif; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;Variables&lt;/b&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&quot; on launch.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: white; caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;Example:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;---&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); color: #202124; font-family: courier; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;update_ati_fqdns:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); color: #202124; font-family: courier; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;  - host1.example.com&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); color: #202124; font-family: courier; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;  - host2.example.com&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); font-family: courier; font-size: 14px; white-space: pre-wrap;&quot;&gt;ansible_connection: &#39;local&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: white; caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;You will need a survey for your Job Template&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); font-size: 14px; white-space: pre-wrap;&quot;&gt;Admin Username: &lt;span style=&quot;font-family: courier;&quot;&gt;admin_username&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); font-size: 14px; white-space: pre-wrap;&quot;&gt;Admin User Password: &lt;span style=&quot;font-family: courier;&quot;&gt;admin_password&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); font-size: 14px; white-space: pre-wrap;&quot;&gt;URL for AWX REST API GROUP endpoint: http://awx.example.com/api/v2/groups&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;update_ati_group&lt;/span&gt;: integer&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); font-size: 14px; white-space: pre-wrap;&quot;&gt;Action: pulldown &lt;span style=&quot;font-family: courier;&quot;&gt;[REMOVE_FROM_GROUP, ADD_TO_GROUP]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); font-size: 14px; white-space: pre-wrap;&quot;&gt;Here is the role:&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124;&quot;&gt;&lt;span style=&quot;background-color: white; caret-color: rgb(32, 33, 36); font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124; font-size: 14px; font-variant-ligatures: normal; white-space: pre-wrap;&quot;&gt;&lt;b&gt;defaults/main.yml&lt;/b&gt;
&lt;span style=&quot;font-family: courier;&quot;&gt;---
awx_base_url: &quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;https://awx.example.com&lt;/span&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;color: #202124; font-size: 14px; font-variant-ligatures: normal; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&quot;
&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 14px; font-variant-ligatures: normal; white-space: pre-wrap;&quot;&gt;&lt;b&gt;tasks/main.yml&lt;/b&gt;
&lt;span style=&quot;font-family: courier;&quot;&gt;---
- name:
&amp;nbsp; ansible.builtin.include_tasks: test_block_loop.yml
&amp;nbsp; loop: &quot;{{ update_ati_fqdns }}&quot;
&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 14px; font-variant-ligatures: normal; white-space: pre-wrap;&quot;&gt;tasks/test_block_loop.yml&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: courier; font-size: xx-small; font-variant-ligatures: normal; white-space: pre-wrap;&quot;&gt;---
- name: Get Host ID
&amp;nbsp; uri:
&amp;nbsp; &amp;nbsp; url: &quot;{{ awx_base_url }}/api/v2/inventories/{{ tower_inventory_id }}/hosts/?name={{ item }}&quot;
&amp;nbsp; &amp;nbsp; method: GET
&amp;nbsp; &amp;nbsp; user: &quot;{{ admin_username }}&quot;
&amp;nbsp; &amp;nbsp; password: &quot;{{ admin_password }}&quot;
&amp;nbsp; &amp;nbsp; force_basic_auth: yes
&amp;nbsp; &amp;nbsp; validate_certs: no
&amp;nbsp; &amp;nbsp; headers:
&amp;nbsp; &amp;nbsp; &amp;nbsp; Content-Type: &quot;application/json&quot;
&amp;nbsp; register: host_result
&amp;nbsp; failed_when: host_result.status != 200 or host_result.json.count != 1

- name: &quot;Set payload for add.&quot;
&amp;nbsp; set_fact:
&amp;nbsp; &amp;nbsp; body: &quot;{ \&quot;id\&quot; : {{ host_result.json.results[0].id | int }} }&quot;

- name: &quot;Set payload for disassociate/remove.&quot;
&amp;nbsp; set_fact:
&amp;nbsp; &amp;nbsp; body: &quot;{ \&quot;disassociate\&quot; : {{ host_result.json.results[0].id | int }}, \&quot;id\&quot; : {{ host_result.json.results[0].id | int }} }&quot;
&amp;nbsp; when: selected_action == &quot;REMOVE_FROM_GROUP&quot;

- name: Update Ansible Tower inventory
&amp;nbsp; uri:
&amp;nbsp; &amp;nbsp; url: &quot;{{ update_ati_groups_api }}/{{ update_ati_group }}/hosts/&quot;
&amp;nbsp; &amp;nbsp; user: &quot;{{ admin_username }}&quot;
&amp;nbsp; &amp;nbsp; password: &quot;{{ admin_password }}&quot;
&amp;nbsp; &amp;nbsp; method: &quot;POST&quot;
&amp;nbsp; &amp;nbsp; body: &quot;{{ body }}&quot;
&amp;nbsp; &amp;nbsp; force_basic_auth: yes
&amp;nbsp; &amp;nbsp; status_code: 204
&amp;nbsp; &amp;nbsp; body_format: json
&amp;nbsp; &amp;nbsp; validate_certs: no&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span face=&quot;Roboto, sans-serif&quot; style=&quot;background-color: rgba(32, 33, 36, 0.04); caret-color: rgb(32, 33, 36); color: #202124; font-size: 14px; orphans: 2; white-space: pre-wrap; widows: 2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/733565718731921608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2023/05/playbook-for-update-awx-ansible.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/733565718731921608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/733565718731921608'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2023/05/playbook-for-update-awx-ansible.html' title='Ansible code to update AWX Ansible Inventory'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-101369252506358620</id><published>2023-03-22T15:51:00.005-07:00</published><updated>2023-03-22T15:54:33.912-07:00</updated><title type='text'>Get process ids and command on Linux without `ps` command</title><content type='html'>&lt;div&gt;bash-4.4$ for exe in /proc/*/exe; do ls -l $exe; done&lt;/div&gt;&lt;div&gt;lrwxrwxrwx 1 runner root 0 Mar 22 22:47 /proc/1/exe -&amp;gt; /usr/local/bin/dumb-init&lt;/div&gt;&lt;div&gt;lrwxrwxrwx 1 runner root 0 Mar 22 22:47 /proc/1039/exe -&amp;gt; /usr/bin/vi&lt;/div&gt;&lt;div&gt;lrwxrwxrwx 1 runner root 0 Mar 16 03:15 /proc/143/exe -&amp;gt; /usr/bin/bash&lt;/div&gt;&lt;div&gt;lrwxrwxrwx 1 runner root 0 Mar 17 22:44 /proc/1685/exe -&amp;gt; /usr/bin/bash&lt;/div&gt;&lt;div&gt;lrwxrwxrwx 1 runner root 0 Mar 16 03:04 /proc/17/exe -&amp;gt; /usr/bin/receptor&lt;/div&gt;&lt;div&gt;lrwxrwxrwx 1 runner root 0 Mar 18 03:21 /proc/1788/exe -&amp;gt; /usr/bin/bash&lt;/div&gt;&lt;div&gt;lrwxrwxrwx 1 runner root 0 Mar 22 22:45 /proc/2137/exe -&amp;gt; /usr/bin/bash&lt;/div&gt;&lt;div&gt;lrwxrwxrwx 1 runner root 0 Mar 22 22:47 /proc/self/exe -&amp;gt; /usr/bin/coreutils&lt;/div&gt;&lt;div&gt;lrwxrwxrwx 1 runner root 0 Mar 22 22:47 /proc/thread-self/exe -&amp;gt; /usr/bin/coreutils&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/101369252506358620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2023/03/get-process-ids-and-command-on-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/101369252506358620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/101369252506358620'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2023/03/get-process-ids-and-command-on-linux.html' title='Get process ids and command on Linux without `ps` command'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-7768541534151237739</id><published>2022-12-23T09:44:00.002-08:00</published><updated>2022-12-23T09:44:58.414-08:00</updated><title type='text'>Trouble Shooting LDAP Authentication with Ansible AWX</title><content type='html'>&lt;p&gt;&amp;nbsp;If you are having trouble getting your AWX deployment to preform authentication with LDAP you might want to make sure that the container that runs the AWX web server can talk to the LDAP server over a encrypted connection. &amp;nbsp;To do this follow these steps:&lt;/p&gt;&lt;h4 style=&quot;caret-color: rgb(34, 34, 34); color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; margin: 0px; position: relative;&quot;&gt;1) List your AWX pods like so:&lt;/h4&gt;&lt;blockquote style=&quot;border: none; caret-color: rgb(34, 34, 34); color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;kubectl -n awx get pods&lt;/blockquote&gt;&lt;p style=&quot;caret-color: rgb(34, 34, 34); color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;&quot;&gt;You are looking for the pod that has the 4 containers.&amp;nbsp; In my case this is pod,&amp;nbsp;&lt;i&gt;awx-demo-8ded6678-gk322&lt;/i&gt;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;h4 style=&quot;caret-color: rgb(34, 34, 34); color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; margin: 0px; position: relative;&quot;&gt;2) &quot;exec&quot; onto the awx-demo-web container like so:&lt;/h4&gt;&lt;blockquote style=&quot;border: none; caret-color: rgb(34, 34, 34); color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;kubectl -n awx exec -it&amp;nbsp;&lt;i&gt;awx-demo-8ded6678-gk322&amp;nbsp;&lt;/i&gt;-c awx-demo-web -- /bin/bash&amp;nbsp;&lt;/blockquote&gt;&lt;h4 style=&quot;caret-color: rgb(34, 34, 34); color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; margin: 0px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4 style=&quot;caret-color: rgb(34, 34, 34); color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; margin: 0px; position: relative;&quot;&gt;3) Check the secure connection to the LDAP server&lt;/h4&gt;&lt;div&gt;From the bash prompt on the container execute:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;echo | openssl s_client -connect ldap.example.com:636&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;Check the output. &amp;nbsp;Are you getting output? You can check the dates on the certificate like so:&lt;/p&gt;&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;echo | openssl s_client -connect ldap.example.com:636 2&amp;gt; /dev/null | openssl x509 -noout -dates&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/7768541534151237739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2022/12/trouble-shooting-ldap-authentication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7768541534151237739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7768541534151237739'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2022/12/trouble-shooting-ldap-authentication.html' title='Trouble Shooting LDAP Authentication with Ansible AWX'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-3663430979970404573</id><published>2022-12-23T09:12:00.011-08:00</published><updated>2023-04-21T13:21:50.212-07:00</updated><title type='text'>So You Disabled built-in authentication system on AWX and you are locked out.</title><content type='html'>&lt;p&gt;So You Disabled built-in authentication system on AWX and you&#39;re locked out.&amp;nbsp; Do not panic I have done the same and here is how I fixed it.&amp;nbsp; Here is the screen I am talking about:&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaKLAqW4SnbpYo4cn-R0D9eXV3R5OMVypK98Qe3H-YYMRHz0ccJyHGduqr-NkSJdFOY0O5WFnq6jqWafsN5JUXnZQ6YWV_mCvBCkLBEV0fKPP_NBgmkQsmFHDQDjBNfMmx3hX_ZNvn5V9T1DB0Ql6l9qYbBA_svM3UPLN6tRqnkgxe4m_WGtw85BTJ/s1315/disable-auth-sys-01.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;424&quot; data-original-width=&quot;1315&quot; height=&quot;172&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaKLAqW4SnbpYo4cn-R0D9eXV3R5OMVypK98Qe3H-YYMRHz0ccJyHGduqr-NkSJdFOY0O5WFnq6jqWafsN5JUXnZQ6YWV_mCvBCkLBEV0fKPP_NBgmkQsmFHDQDjBNfMmx3hX_ZNvn5V9T1DB0Ql6l9qYbBA_svM3UPLN6tRqnkgxe4m_WGtw85BTJ/w391-h172/disable-auth-sys-01.png&quot; width=&quot;391&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;DO NOT CLICK THAT UNLESS YOU ARE SURE YOU CAN LOG BACK IN! As soon as you click that link you are logged out and will probably not be able to log in ... hence this blog post. :)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I had deployed AWX by installing&amp;nbsp;&lt;a href=&quot;https://github.com/ansible/awx-operator&quot; target=&quot;_blank&quot;&gt;awx-operator&lt;/a&gt;&amp;nbsp;&amp;amp; awx-demo&amp;nbsp;on to a&amp;nbsp;&lt;a href=&quot;https://k3s.io/&quot; target=&quot;_blank&quot;&gt;K3s&lt;/a&gt;&amp;nbsp;cluster.&amp;nbsp; Well, I clicked on the &quot;Disable ...&quot; link because I thought I needed to do that to get LDAP authentication to work.&amp;nbsp; I was wrong and I was locked out of the AWX UI!&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What happens when you click that link is that AWX updates a table, &lt;i&gt;config_settings&lt;/i&gt;, so that the rest of the AWX systems know that the builtin authentication is disabled.&amp;nbsp; So what you need to do is update that row in the database.&amp;nbsp; And here is how you do that.&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;1) List your AWX pods like so:&lt;/h4&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;kubectl -n awx get pods&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;You are looking for the pod that has the 4 containers.&amp;nbsp; In my case this is pod, &lt;i&gt;awx-demo-8ded6678-gk322&lt;/i&gt;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;2) &quot;exec&quot; onto the awx-demo-web container like so:&lt;/h4&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;kubectl -n awx exec -it &lt;i&gt;awx-demo-8ded6678-gk322 &lt;/i&gt;-c awx-demo-web -- /bin/bash&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;This will give you a &quot;&lt;b&gt;bash-5.1$ &lt;/b&gt;&quot; prompt. &amp;nbsp;Use this prompt to enter the commands below.&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;3) Dump the DB creds.&lt;/h4&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;cat /etc/tower/conf.d/credentials.py&lt;/div&gt;&lt;/blockquote&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;4) Logon to the database&lt;/h4&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;psql -h awx-demo-postgres-13&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;I got &lt;i&gt;awx-demo-postgres-13&lt;/i&gt; from step 3 above. Enter the password that was in the credentials.py file.&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;5) Update the conf_setting table&lt;/h4&gt;&lt;p&gt;From the psql prompt, &lt;b&gt;awx=#&lt;/b&gt;,&amp;nbsp; execute this SQL:&lt;/p&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;update conf_setting set value = false where key = &#39;DISABLE_LOCAL_AUTH&#39;&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;I forget if I needed to restart anything.&amp;nbsp; But you could try deleting the pod if you still can&#39;t login.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/3663430979970404573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2022/12/so-you-disabled-built-in-authentication.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3663430979970404573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3663430979970404573'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2022/12/so-you-disabled-built-in-authentication.html' title='So You Disabled built-in authentication system on AWX and you are locked out.'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaKLAqW4SnbpYo4cn-R0D9eXV3R5OMVypK98Qe3H-YYMRHz0ccJyHGduqr-NkSJdFOY0O5WFnq6jqWafsN5JUXnZQ6YWV_mCvBCkLBEV0fKPP_NBgmkQsmFHDQDjBNfMmx3hX_ZNvn5V9T1DB0Ql6l9qYbBA_svM3UPLN6tRqnkgxe4m_WGtw85BTJ/s72-w391-h172-c/disable-auth-sys-01.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-7915125852001657189</id><published>2022-12-22T12:50:00.008-08:00</published><updated>2022-12-23T13:21:04.019-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ansible"/><category scheme="http://www.blogger.com/atom/ns#" term="awx"/><category scheme="http://www.blogger.com/atom/ns#" term="k3s"/><title type='text'>Trouble shooting AWX LDAP Authentication Issue</title><content type='html'>&lt;p&gt;&amp;nbsp;I have a K3s cluster and I set up my AWX server by installing awx-operator. &amp;nbsp;I also have an OpenLDAP server. &amp;nbsp;My OpenLDAP server has a signed valid TLS Cert and works fine.&lt;/p&gt;&lt;p&gt;Next I log on to my AWX server as the &#39;admin&#39; user.&amp;nbsp;&lt;/p&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;i&gt;You get the password for this account by executing:&lt;/i&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;kubectl get secret awx-demo-admin-password -o jsonpath={.data.password} | base64 --decode&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;I navigate to &quot;&lt;b&gt;Settings &amp;gt; LDAP Default&quot;&lt;/b&gt;&amp;nbsp;and filled out the form. &amp;nbsp;Set:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&quot;&lt;b&gt;LDAP Server URI&quot; &lt;/b&gt;to my ldap server&amp;nbsp;&lt;u&gt;ldaps://ldap.example.com&lt;/u&gt;.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&quot;LDAP Bind DN&quot;&lt;/b&gt;&amp;nbsp;to &lt;u&gt;cn=Manager,dc=example,dc=com&lt;/u&gt;&lt;/li&gt;&lt;li&gt;&quot;&lt;b&gt;LDAP Bind Password&quot; &lt;/b&gt;to the correct password you would use with `ldapsearch`.&lt;/li&gt;&lt;li&gt;&quot;&lt;b&gt;LDAP Group Type&quot; &lt;/b&gt;to &lt;u&gt;PosixGroupType&lt;/u&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&quot;LDAP User Search&quot;&lt;/b&gt;&amp;nbsp;to &lt;u&gt;[&quot;ou=users,dc=example,dc=com&quot;,&quot;SCOPE_SUBTREE&quot;,&quot;(uid=%(user)s)&quot;]&lt;/u&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&quot;LDAP Group Search&quot;&lt;/b&gt;&amp;nbsp;to&amp;nbsp;&lt;u&gt;[&quot;OU=Groups,dc=example,dc=com&quot;,&quot;SCOPE_SUBTREE&quot;,&quot;(objectClass=posixGroup)&quot;]&lt;/u&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Everything else leave as default. &amp;nbsp;&lt;i&gt;Note: Of course I used my actual domain name and NOT example.com.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then I tried to log into the AWX UI with my LDAP user account but couldn&#39;t log in. &amp;nbsp;I spent days reading documentation and try things. &amp;nbsp;I even accidentally locked my admin account out by clicking on &quot;Disable the built-in authentication system&quot; Off link. &lt;b&gt;DO NOT DO THAT! &lt;/b&gt;I had to run an update to a table in the postgresql database to fix that.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is how I finally came to realize that I was entering the wrong password.&lt;/div&gt;&lt;div&gt;I would &quot;tail&quot; the log of the &quot;awx-demo-web&quot; container with this command:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;kubectl -n awx get pods&lt;/div&gt;&lt;div&gt;...&lt;/div&gt;&lt;div&gt;kubectl -n logs -f awx-demo-9aidd-gk6dy awx-demo-web&lt;/div&gt;&lt;div&gt;...&lt;/div&gt;&lt;div&gt;and you will see messages like:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;WARNING ... awx.api.generics Login failed for user red.cricket from 10.0.0.5&lt;/div&gt;&lt;div&gt;WARNING ... django.request Unauthorized: /api/login/&lt;/div&gt;&lt;div&gt;WARNING ... django.request Unauthorized: /api/login/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;But nothing that will tell you why the login failed. &amp;nbsp;To see why you need to change the logging level on the AWX server to DEBUG. And to do that you navigate to &quot;&lt;b&gt;Settings &amp;gt; Logging&quot;&lt;/b&gt;&amp;nbsp;and click the &lt;b&gt;Edit &lt;/b&gt;button, then change the &quot;&lt;b&gt;Logging Aggregator Level Threshold&quot;&lt;/b&gt;to &quot;&lt;b&gt;DEBUG&quot;&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then when you attempt to login with the wrong password you will see this output in the logs:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;DEBUG ... django_auth_ldap search_s(...) returned 1 objects: uid=red.cricket...&lt;/div&gt;&lt;div&gt;DEBUG ... django_auth_ldap Authentication failed for red.cricket: user DN/password rejected by LDAP server.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Once you have figured out what is wrong and how to correct it be sure change the logging level back to INFO.&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/7915125852001657189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2022/12/trouble-shooting-awx-ldap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7915125852001657189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7915125852001657189'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2022/12/trouble-shooting-awx-ldap.html' title='Trouble shooting AWX LDAP Authentication Issue'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-2733748371750933501</id><published>2022-02-19T20:28:00.003-08:00</published><updated>2022-02-19T20:28:49.483-08:00</updated><title type='text'>Check if remote port is open</title><content type='html'>&lt;p&gt;&amp;nbsp;ref.&amp;nbsp;&lt;/p&gt;&lt;p&gt;https://www.fosslinux.com/35730/5-ways-to-check-if-a-port-is-open-on-a-remote-linux-pc.htm&lt;/p&gt;&lt;pre style=&quot;background-color: #f1f1f1; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: none; box-sizing: border-box; color: #222222; font-family: monospace, monospace; font-size: 15px; font-variant-ligatures: normal; margin-left: auto; margin-right: auto; margin-top: 24px; orphans: 2; overflow: auto; padding: 4px 10px; text-decoration-thickness: initial; widows: 2;&quot;&gt;$ nc -zvw10 192.168.0.1 22&lt;/pre&gt;&lt;pre style=&quot;background-color: #f1f1f1; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: none; box-sizing: border-box; color: #222222; font-family: monospace, monospace; font-size: 15px; font-variant-ligatures: normal; margin-left: auto; margin-right: auto; margin-top: 24px; orphans: 2; overflow: auto; padding: 4px 10px; text-decoration-thickness: initial; widows: 2;&quot;&gt;$ nmap 192.168.0.2 -p 103&lt;/pre&gt;&lt;pre style=&quot;background-color: #f1f1f1; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: none; box-sizing: border-box; color: #222222; font-family: monospace, monospace; font-size: 15px; font-variant-ligatures: normal; margin-left: auto; margin-right: auto; margin-top: 24px; orphans: 2; overflow: auto; padding: 4px 10px; text-decoration-thickness: initial; widows: 2;&quot;&gt;$ telnet [IP or Hostname] [PortNumber]&lt;/pre&gt;&lt;pre style=&quot;background-color: #f1f1f1; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: none; box-sizing: border-box; color: #222222; font-family: monospace, monospace; font-size: 15px; font-variant-ligatures: normal; margin-left: auto; margin-right: auto; margin-top: 24px; orphans: 2; overflow: auto; padding: 4px 10px; text-decoration-thickness: initial; widows: 2;&quot;&gt;echo &amp;gt; /dev/tcp/[host]/[port] &amp;amp;&amp;amp; echo &quot;Port is open&quot;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f1f1f1; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: none; box-sizing: border-box; color: #222222; font-family: monospace, monospace; font-size: 15px; font-variant-ligatures: normal; margin-left: auto; margin-right: auto; margin-top: 24px; orphans: 2; overflow: auto; padding: 4px 10px; text-decoration-thickness: initial; widows: 2;&quot;&gt;echo &amp;gt; /dev/udp/[host]/[port] &amp;amp;&amp;amp; echo &quot;Port is open&quot;&lt;/pre&gt;&lt;pre style=&quot;background-color: #f1f1f1; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: none; box-sizing: border-box; color: #222222; font-family: monospace, monospace; font-size: 15px; font-variant-ligatures: normal; margin-left: auto; margin-right: auto; margin-top: 24px; orphans: 2; overflow: auto; padding: 4px 10px; text-decoration-thickness: initial; widows: 2;&quot;&gt;netstat -tuplen&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Roboto; font-size: 15px; font-variant-ligatures: normal; line-height: 1.5 !important; margin: 0px auto 26px; orphans: 2; overflow-wrap: break-word; text-decoration-thickness: initial; widows: 2;&quot;&gt;netstat -tuplen will output the whole list of the IP addresses. The entries that have “Listen” in the “State” column are the open ports.&lt;/p&gt;&lt;p&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/2733748371750933501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2022/02/check-if-remote-port-is-open.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/2733748371750933501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/2733748371750933501'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2022/02/check-if-remote-port-is-open.html' title='Check if remote port is open'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-3091996956488803452</id><published>2018-11-14T15:45:00.002-08:00</published><updated>2018-11-14T15:45:25.124-08:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Debugging django queries with logger. ref. &lt;a href=&quot;https://stackoverflow.com/questions/6574003/django-limiting-query-results&quot; target=&quot;_blank&quot;&gt;https://stackoverflow.com/questions/6574003/django-limiting-query-results&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;19&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; logging                                 
&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; l &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; logging&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;getLogger&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;django.db.backends&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;    
&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;21&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; l&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;setLevel&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;logging&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;DEBUG&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;                      
&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;22&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; l&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;addHandler&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;logging&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;StreamHandler&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;      
&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;23&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;User&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;objects&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;all&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;().&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;order_by&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;-id&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)[:&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;          
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0.000&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; SELECT &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;id&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;username&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;first_name&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;last_name&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;email&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;password&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;is_staff&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;is_active&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;is_superuser&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;last_login&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;date_joined&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; FROM &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; ORDER BY &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;id&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; DESC LIMIT &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Out&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;23&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&amp;lt;&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;User&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; hamdi&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;]&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/3091996956488803452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2018/11/debugging-django-queries-with-logger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3091996956488803452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3091996956488803452'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2018/11/debugging-django-queries-with-logger.html' title=''/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-4968346287181136196</id><published>2017-08-25T14:34:00.000-07:00</published><updated>2017-08-25T14:34:05.138-07:00</updated><title type='text'>how to debug yaml files (puppet hiera)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: #ebebec; font-family: Helvetica; font-size: 14px; text-size-adjust: auto;&quot;&gt;/opt/puppet/bin/ruby -e &quot;require &#39;yaml&#39;; YAML.load_file(&#39;./theyamlfile.yaml&#39;)&quot;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/4968346287181136196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2017/08/how-to-debug-yaml-files-puppet-hiera.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/4968346287181136196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/4968346287181136196'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2017/08/how-to-debug-yaml-files-puppet-hiera.html' title='how to debug yaml files (puppet hiera)'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-7977451380636655887</id><published>2017-07-13T23:43:00.001-07:00</published><updated>2017-07-13T23:43:07.975-07:00</updated><title type='text'>strace good options to use strace -s1024 -vfo /tmp/kgm2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 14px;&quot;&gt;strace -s1024 -vfo /tmp/redsstrace_output mysql -h whatever -p&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/7977451380636655887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2017/07/strace-good-options-to-use-strace-s1024.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7977451380636655887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7977451380636655887'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2017/07/strace-good-options-to-use-strace-s1024.html' title='strace good options to use strace -s1024 -vfo /tmp/kgm2'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-8650019897326369073</id><published>2016-05-23T23:36:00.003-07:00</published><updated>2016-05-23T23:36:51.580-07:00</updated><title type='text'>Doing video screen capture with AndroidStudio and lbgdx games</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I had to use these settings ...&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbh0ubj0xRMx2SKqf6JPGGMMmdSLTaql8iO2hj5XxykQZ9TL4wtIWmtfVvNAiLMk341da6EhBVXoO68o-lxxxDCB8AX9uz8PiuzpvUaBbzCqKrWp99ISDaNeb5tSIW4qHe8GNYIXkIAOo/s1600/ANDROID_STUDIO_SCREEN_CAPT.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbh0ubj0xRMx2SKqf6JPGGMMmdSLTaql8iO2hj5XxykQZ9TL4wtIWmtfVvNAiLMk341da6EhBVXoO68o-lxxxDCB8AX9uz8PiuzpvUaBbzCqKrWp99ISDaNeb5tSIW4qHe8GNYIXkIAOo/s320/ANDROID_STUDIO_SCREEN_CAPT.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;... to get my video game to operate correctly when doing screen capture.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/8650019897326369073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2016/05/doing-video-screen-capture-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/8650019897326369073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/8650019897326369073'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2016/05/doing-video-screen-capture-with.html' title='Doing video screen capture with AndroidStudio and lbgdx games'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbh0ubj0xRMx2SKqf6JPGGMMmdSLTaql8iO2hj5XxykQZ9TL4wtIWmtfVvNAiLMk341da6EhBVXoO68o-lxxxDCB8AX9uz8PiuzpvUaBbzCqKrWp99ISDaNeb5tSIW4qHe8GNYIXkIAOo/s72-c/ANDROID_STUDIO_SCREEN_CAPT.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-2623091980634610933</id><published>2016-04-15T12:01:00.001-07:00</published><updated>2016-04-15T12:01:14.278-07:00</updated><title type='text'>Setting root password for a Centos Cloud image</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
[red@vm-red ~]$ guestfish --rw -a ./CentOS-6-x86_64-GenericCloud-1508.qcow2&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Welcome to guestfish, the libguestfs filesystem interactive shell for&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
editing virtual machine filesystems.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Type: &#39;help&#39; for help on commands&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;man&#39; to read the manual&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;quit&#39; to quit the shell&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;gt;&amp;lt;fs&amp;gt; run&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp;100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;gt;&amp;lt;fs&amp;gt; list-filesystems&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
/dev/sda1: ext4&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;gt;&amp;lt;fs&amp;gt; mount /dev/sda1 /&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;gt;&amp;lt;fs&amp;gt; vi /etc/shadow&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;gt;&amp;lt;fs&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Note above not tested on Centos7&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/2623091980634610933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2016/04/setting-root-password-for-centos-cloud.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/2623091980634610933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/2623091980634610933'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2016/04/setting-root-password-for-centos-cloud.html' title='Setting root password for a Centos Cloud image'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-3614066341258062694</id><published>2016-04-12T11:26:00.003-07:00</published><updated>2016-04-12T11:27:29.697-07:00</updated><title type='text'>Listing Puppet Classes via REST API</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
As root on the puppet master execute this script:&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
[root@ost-puppet-el7-001 manifests]# cat list-classes.sh&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
#!/bin/sh&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
PEFQDN=`hostname -f`&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
curl -X GET -H &#39;Content-Type: application/json&#39; \&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
--cert /etc/puppetlabs/puppet/ssl/certs/${PEFQDN}.pem \&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
--key /etc/puppetlabs/puppet/ssl/private_keys/${PEFQDN}.pem \&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
--cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem \&lt;/div&gt;
https://${PEFQDN}:4433/classifier-api/v1/classes | python -m json.tool&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/3614066341258062694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2016/04/listing-puppet-classes-via-rest-api.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3614066341258062694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3614066341258062694'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2016/04/listing-puppet-classes-via-rest-api.html' title='Listing Puppet Classes via REST API'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-3032624955759468641</id><published>2016-02-01T12:04:00.000-08:00</published><updated>2016-02-01T12:04:48.098-08:00</updated><title type='text'>Purging a file from a git repo</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;Step 1) Clone the repo.&lt;br /&gt;&lt;br /&gt;Step 2) Remove the file from current repo.&lt;br /&gt;$ git rm Documentation/master/rc.slack&lt;br /&gt;$ git commit -m &#39;remove unneeded file&#39;&lt;br /&gt;$ git push origin uno_v0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 3) Purge the file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You need to run this command from the toplevel of the working tree.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$ git filter-branch -f --index-filter &#39;git rm --cached --ignore-unmatch Documentation/master/rc.slack&#39; --prune-empty --tag-name-filter cat -- --all&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: the output:&lt;br /&gt;WARNING: Ref &#39;refs/remotes/origin/uno_v0&#39; is unchanged
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That is why we needed to `git rm ...` and `git commit ...` and `git push ...` in Step 2.&lt;br /&gt;&lt;br /&gt;Step 4) push the changes to the remote&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$ git push -f --all origin&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This will remove the file from all branches in the remote. However, if other people have cloned this repo and have a local copy of it, they either need to throw away the old copy and re-clone or rebase all of their branches to the new history, otherwise they will bring back the file when they merge/do pull requests.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/3032624955759468641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2016/02/purging-file-from-git-repo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3032624955759468641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/3032624955759468641'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2016/02/purging-file-from-git-repo.html' title='Purging a file from a git repo'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-8958024833939770465</id><published>2015-09-25T10:47:00.002-07:00</published><updated>2015-09-25T10:47:50.084-07:00</updated><title type='text'>What version of a Perl CPAN module do I have installed?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
[red@dev1 ~]$ perl -MDateTime -e&quot;print DateTime-&amp;gt;VERSION&quot;; echo&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
0.4501&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/8958024833939770465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2015/09/what-version-of-perl-cpan-module-do-i.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/8958024833939770465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/8958024833939770465'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2015/09/what-version-of-perl-cpan-module-do-i.html' title='What version of a Perl CPAN module do I have installed?'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-108880032030206391</id><published>2015-09-17T13:02:00.002-07:00</published><updated>2016-05-24T21:37:06.351-07:00</updated><title type='text'>Flappy Trump!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
hey play flappy trump!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.amazon.com/Red-Cricket-Flappy-Trump-2016/dp/B01E3DBX96/&quot;&gt;http://www.amazon.com/Red-Cricket-Flappy-Trump-2016/dp/B01E3DBX96/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/108880032030206391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2015/09/flappy-trump.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/108880032030206391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/108880032030206391'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2015/09/flappy-trump.html' title='Flappy Trump!'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1522255054273233838.post-7073903297043169069</id><published>2015-08-26T07:47:00.002-07:00</published><updated>2015-08-26T07:47:35.756-07:00</updated><title type='text'>How to lock the screen on a mac</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
control-shift-power&lt;br /&gt;
or&lt;br /&gt;
upper left apple icon &amp;gt; sleep&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://redcricketblog.blogspot.com/feeds/7073903297043169069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://redcricketblog.blogspot.com/2015/08/how-to-lock-screen-on-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7073903297043169069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1522255054273233838/posts/default/7073903297043169069'/><link rel='alternate' type='text/html' href='http://redcricketblog.blogspot.com/2015/08/how-to-lock-screen-on-mac.html' title='How to lock the screen on a mac'/><author><name>Red Cricket</name><uri>http://www.blogger.com/profile/14975721193843409575</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Y0RhbP87aJXLbPQfZi_8KLjOvBCbK5jbyYGzzLwh8C-ccaw8nakT5S3STQ7eJ5mt_vxSdWpNTzviHdWtWTCZxX_U6OcKvVfhihngojkrPDO3XLeSZMz2vPVPiXpOa0/s1600/image272_sm.jpg'/></author><thr:total>0</thr:total></entry></feed>