<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.4">Jekyll</generator><link href="http://aske.ws/feed.xml" rel="self" type="application/atom+xml" /><link href="http://aske.ws/" rel="alternate" type="text/html" /><updated>2021-02-27T15:29:29-05:00</updated><id>http://aske.ws/feed.xml</id><title type="html">Askew’s Stuff</title><subtitle>I put my stuff here.  Some of it will be cool, some of it wont. If it helps you, you're welcome!</subtitle><entry><title type="html">Systemd Notes</title><link href="http://aske.ws/systemd-notes/" rel="alternate" type="text/html" title="Systemd Notes" /><published>2019-11-07T17:46:57-05:00</published><updated>2019-11-07T17:46:57-05:00</updated><id>http://aske.ws/systemd-notes</id><content type="html" xml:base="http://aske.ws/systemd-notes/">&lt;p&gt;How long did the last startup take?&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;systemd-analyze 
Startup finished &lt;span class=&quot;k&quot;&gt;in &lt;/span&gt;7.329s &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;firmware&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; + 5.115s &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;loader&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; + 1.682s &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;kernel&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; + 2.403s &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;userspace&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; 16.530s 
graphical.target reached after 1.833s &lt;span class=&quot;k&quot;&gt;in &lt;/span&gt;userspace
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;List services enabled at startup:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;systemctl list-unit-files | &lt;span class=&quot;nb&quot;&gt;grep &lt;/span&gt;enabled
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If you need to know which services take the longest to startup:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;systemd-analyze blame
           565ms systemd-timesyncd.service
           564ms lvm2-monitor.service
           561ms tlp.service
           510ms dev-nvme0n1p2.device
           457ms upower.service
           391ms systemd-logind.service
           260ms systemd-udevd.service
           192ms systemd-journald.service
           192ms ldconfig.service
           165ms ModemManager.service
           108ms udisks2.service
           ...
           ...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If you want to disable/enable a service:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl disable SERVICE_NAME
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;systemctl &lt;span class=&quot;nb&quot;&gt;enable &lt;/span&gt;SERVICE_NAME
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name></name></author><summary type="html">How long did the last startup take?</summary></entry><entry><title type="html">Color Man Pages in Terminal</title><link href="http://aske.ws/man-page-colors/" rel="alternate" type="text/html" title="Color Man Pages in Terminal" /><published>2019-06-26T15:46:57-04:00</published><updated>2019-06-26T15:46:57-04:00</updated><id>http://aske.ws/man-page-colors</id><content type="html" xml:base="http://aske.ws/man-page-colors/">&lt;p&gt;I found the following online somewhere while trying to get some color / better output when viewing man pages in the terminal.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;LESS_TERMCAP_mb&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\E&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[1;31m'&lt;/span&gt;     &lt;span class=&quot;c&quot;&gt;# begin bold&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;LESS_TERMCAP_md&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\E&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[1;36m'&lt;/span&gt;     &lt;span class=&quot;c&quot;&gt;# begin blink&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;LESS_TERMCAP_me&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\E&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[0m'&lt;/span&gt;        &lt;span class=&quot;c&quot;&gt;# reset bold/blink&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;LESS_TERMCAP_so&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\E&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[01;44;33m'&lt;/span&gt; &lt;span class=&quot;c&quot;&gt;# begin reverse video&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;LESS_TERMCAP_se&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\E&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[0m'&lt;/span&gt;        &lt;span class=&quot;c&quot;&gt;# reset reverse video&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;LESS_TERMCAP_us&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\E&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[1;32m'&lt;/span&gt;     &lt;span class=&quot;c&quot;&gt;# begin underline&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;LESS_TERMCAP_ue&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;$'&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\E&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;[0m'&lt;/span&gt;        &lt;span class=&quot;c&quot;&gt;# reset underline&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;GROFF_NO_SGR&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;1                  &lt;span class=&quot;c&quot;&gt;# for konsole and gnome-terminal&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I’ve saved it to &lt;code class=&quot;highlighter-rouge&quot;&gt;~/.bash_termcap&lt;/code&gt; and added the following to &lt;code class=&quot;highlighter-rouge&quot;&gt;~/.bashrc&lt;/code&gt; :&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; ~/.bash_termcap &lt;span class=&quot;o&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;then
        &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;source&lt;/span&gt; ~/.bash_termcap
&lt;span class=&quot;k&quot;&gt;fi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name></name></author><summary type="html">I found the following online somewhere while trying to get some color / better output when viewing man pages in the terminal.</summary></entry><entry><title type="html">Google Calendar Syncing</title><link href="http://aske.ws/google-cal-sync/" rel="alternate" type="text/html" title="Google Calendar Syncing" /><published>2019-06-18T19:46:57-04:00</published><updated>2019-06-18T19:46:57-04:00</updated><id>http://aske.ws/google-cal-sync</id><content type="html" xml:base="http://aske.ws/google-cal-sync/">&lt;p&gt;I forget why I needed this, but I remember it helped me with some sort of mobile syncing issue. Saving it here for future me.  Maybe he’ll remember.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://calendar.google.com/calendar/syncselect&quot;&gt;https://calendar.google.com/calendar/syncselect&lt;/a&gt;&lt;/p&gt;</content><author><name></name></author><summary type="html">I forget why I needed this, but I remember it helped me with some sort of mobile syncing issue. Saving it here for future me. Maybe he’ll remember.</summary></entry><entry><title type="html">KMail and Akonadiserver CPU utilization</title><link href="http://aske.ws/kmail-akonadi-cpu/" rel="alternate" type="text/html" title="KMail and Akonadiserver CPU utilization" /><published>2019-06-18T18:46:57-04:00</published><updated>2019-06-18T18:46:57-04:00</updated><id>http://aske.ws/kmail-akonadi-cpu</id><content type="html" xml:base="http://aske.ws/kmail-akonadi-cpu/">&lt;p&gt;KMail was chewing CPU and this seemed to help. May also be useful after kmail/akonadi upgrades.&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; akonadictl fsck
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; akonadictl vacuum
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; akonadictl fsck
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; akonadictl restart
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Hope this helps.&lt;/p&gt;</content><author><name></name></author><summary type="html">KMail was chewing CPU and this seemed to help. May also be useful after kmail/akonadi upgrades.</summary></entry><entry><title type="html">Spotify, HiDPI and You</title><link href="http://aske.ws/spotify-hidpi-and-you/" rel="alternate" type="text/html" title="Spotify, HiDPI and You" /><published>2018-12-14T10:00:57-05:00</published><updated>2018-12-14T10:00:57-05:00</updated><id>http://aske.ws/spotify-hidpi-and-you</id><content type="html" xml:base="http://aske.ws/spotify-hidpi-and-you/">&lt;p&gt;If you have a &lt;a href=&quot;/xps9360/&quot;&gt;xps9360&lt;/a&gt; like I do, then your beautiful UHD screen is wonderful.  What’s not wonderful is how some applications don’t place nice.  If you have problems with Spotify being unreadble …. try this:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; spotify &lt;span class=&quot;nt&quot;&gt;--force-device-scale-factor&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;1.5
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://community.spotify.com/t5/Desktop-Linux-Windows-Web-Player/Linux-client-barely-usable-on-HiDPI-displays/td-p/1067272&quot;&gt;https://community.spotify.com/t5/Desktop-Linux-Windows-Web-Player/Linux-client-barely-usable-on-HiDPI-displays/td-p/1067272&lt;/a&gt;&lt;/p&gt;</content><author><name></name></author><summary type="html">If you have a xps9360 like I do, then your beautiful UHD screen is wonderful. What’s not wonderful is how some applications don’t place nice. If you have problems with Spotify being unreadble …. try this:</summary></entry><entry><title type="html">Using a Superdrive in Linux</title><link href="http://aske.ws/using-a-superdrive-with-linux/" rel="alternate" type="text/html" title="Using a Superdrive in Linux" /><published>2018-12-13T23:46:57-05:00</published><updated>2018-12-13T23:46:57-05:00</updated><id>http://aske.ws/using-a-superdrive-with-linux</id><content type="html" xml:base="http://aske.ws/using-a-superdrive-with-linux/">&lt;p&gt;You have to send a “magic packet” in order for the drive to work. Really Apple!!!???&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;ls&lt;/span&gt; /dev &lt;span class=&quot;c&quot;&gt;# list devices&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;# the drive should be listed as sr0 or sr1&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;# send the magic packet replace sr0 with your drive&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; sg_raw /dev/sr0 EA 00 00 00 00 00 01

&lt;span class=&quot;c&quot;&gt;# custom udev rule send magic packet when drive is plugged in&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;cat&lt;/span&gt; /etc/udev/rules.d/99-local.rules

&lt;span class=&quot;nv&quot;&gt;ACTION&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;add&quot;&lt;/span&gt;, ATTRS&lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;idProduct&lt;span class=&quot;o&quot;&gt;}==&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;1500&quot;&lt;/span&gt;, ATTRS&lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;idVendor&lt;span class=&quot;o&quot;&gt;}==&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;05ac&quot;&lt;/span&gt;, &lt;span class=&quot;nv&quot;&gt;DRIVERS&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;usb&quot;&lt;/span&gt;, RUN+&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;/usr/bin/sg_raw /dev/&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$kernel&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; EA 00 00 00 00 00 01&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name></name></author><summary type="html">You have to send a “magic packet” in order for the drive to work. Really Apple!!!???</summary></entry><entry><title type="html">Linux Hardware Info</title><link href="http://aske.ws/linux-hardware-info/" rel="alternate" type="text/html" title="Linux Hardware Info" /><published>2018-11-15T23:00:00-05:00</published><updated>2018-11-15T23:00:00-05:00</updated><id>http://aske.ws/linux-hardware-info</id><content type="html" xml:base="http://aske.ws/linux-hardware-info/">&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; inxi &lt;span class=&quot;nt&quot;&gt;-Fxxxz&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Show info about memory hardware:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;lshw &lt;span class=&quot;nt&quot;&gt;-c&lt;/span&gt; memory     
  &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-firmware&lt;/span&gt;                
       description: BIOS
       vendor: Dell Inc.
       physical &lt;span class=&quot;nb&quot;&gt;id&lt;/span&gt;: 0
       version: 1.3.2
       &lt;span class=&quot;nb&quot;&gt;date&lt;/span&gt;: 01/18/2017
       size: 64KiB
       capacity: 15MiB
       capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppynec int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb smartbattery biosbootspecification netboot uefi
  &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-memory&lt;/span&gt;
       description: System Memory
       physical &lt;span class=&quot;nb&quot;&gt;id&lt;/span&gt;: 38
       slot: System board or motherboard
       size: 16GiB
     &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-bank&lt;/span&gt;:0
          description: Row of chips LPDDR3 Synchronous Unbuffered &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;Unregistered&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; 1867 MHz &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;0.5 ns&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;
          product: MT52L1G32D4PG-107
          vendor: Micron
          physical &lt;span class=&quot;nb&quot;&gt;id&lt;/span&gt;: 0
          serial: 00000000
          slot: System Board Memory
          size: 8GiB
          width: 64 bits
          clock: 1867MHz &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;0.5ns&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;
     &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-bank&lt;/span&gt;:1
          description: Row of chips LPDDR3 Synchronous Unbuffered &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;Unregistered&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; 1867 MHz &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;0.5 ns&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;
          product: MT52L1G32D4PG-107
          vendor: Micron
          physical &lt;span class=&quot;nb&quot;&gt;id&lt;/span&gt;: 1
          serial: 00000000
          slot: System Board Memory
          size: 8GiB
          width: 64 bits
          clock: 1867MHz &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;0.5ns&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-cache&lt;/span&gt;:0
       description: L1 cache
       physical &lt;span class=&quot;nb&quot;&gt;id&lt;/span&gt;: 3c
       slot: L1 Cache
       size: 128KiB
       capacity: 128KiB
       capabilities: synchronous internal write-back unified
       configuration: &lt;span class=&quot;nv&quot;&gt;level&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;1
  &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-cache&lt;/span&gt;:1
       description: L2 cache
       physical &lt;span class=&quot;nb&quot;&gt;id&lt;/span&gt;: 3d
       slot: L2 Cache
       size: 512KiB
       capacity: 512KiB
       capabilities: synchronous internal write-back unified
       configuration: &lt;span class=&quot;nv&quot;&gt;level&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;2
  &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-cache&lt;/span&gt;:2
       description: L3 cache
       physical &lt;span class=&quot;nb&quot;&gt;id&lt;/span&gt;: 3e
       slot: L3 Cache
       size: 4MiB
       capacity: 4MiB
       capabilities: synchronous internal write-back unified
       configuration: &lt;span class=&quot;nv&quot;&gt;level&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;3
  &lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;-memory&lt;/span&gt; UNCLAIMED
       description: Memory controller
       product: Sunrise Point-LP PMC
       vendor: Intel Corporation
       physical &lt;span class=&quot;nb&quot;&gt;id&lt;/span&gt;: 1f.2
       bus info: pci@0000:00:1f.2
       version: 21
       width: 32 bits
       clock: 33MHz &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;30.3ns&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;
       configuration: &lt;span class=&quot;nv&quot;&gt;latency&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;0
       resources: memory:dc32c000-dc32ffff
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name></name></author><summary type="html">=&amp;gt; inxi -Fxxxz</summary></entry><entry><title type="html">Linux System Monitoring</title><link href="http://aske.ws/linux-system-monitoring/" rel="alternate" type="text/html" title="Linux System Monitoring" /><published>2018-11-11T17:46:57-05:00</published><updated>2018-11-11T17:46:57-05:00</updated><id>http://aske.ws/linux-system-monitoring</id><content type="html" xml:base="http://aske.ws/linux-system-monitoring/">&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; watch &lt;span class=&quot;nb&quot;&gt;grep&lt;/span&gt; &lt;span class=&quot;se&quot;&gt;\&quot;&lt;/span&gt;cpu MHz&lt;span class=&quot;se&quot;&gt;\&quot;&lt;/span&gt; /proc/cpuinfo
&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; dmesg &lt;span class=&quot;nt&quot;&gt;-wx&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name></name></author><summary type="html">=&amp;gt; watch grep \&quot;cpu MHz\&quot; /proc/cpuinfo =&amp;gt; dmesg -wx</summary></entry><entry><title type="html">Jekyll Notes</title><link href="http://aske.ws/jekyll-notes/" rel="alternate" type="text/html" title="Jekyll Notes" /><published>2018-10-17T18:46:57-04:00</published><updated>2018-10-17T18:46:57-04:00</updated><id>http://aske.ws/jekyll-notes</id><content type="html" xml:base="http://aske.ws/jekyll-notes/">&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; bundle &lt;span class=&quot;nb&quot;&gt;exec &lt;/span&gt;jekyll build &lt;span class=&quot;c&quot;&gt;#bundle required to genererate rss feeds correctly&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; jekyll serve
&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;JEKYLL_ENV&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;production bundle &lt;span class=&quot;nb&quot;&gt;exec &lt;/span&gt;jekyll clean
&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;JEKYLL_ENV&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;production bundle &lt;span class=&quot;nb&quot;&gt;exec &lt;/span&gt;jekyll build
&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; s3_website push&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Modifiying the default theme can be useful.  If you want to know what the current theme is and where the gem is located:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;&lt;span class=&quot;nv&quot;&gt;THEME&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;cat &lt;/span&gt;_config.yml | &lt;span class=&quot;nb&quot;&gt;grep &lt;/span&gt;theme&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; bundle show &lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;THEME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;##*&lt;/span&gt;:&lt;span class=&quot;k&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;~/.aws/credentials&lt;/code&gt; file required&lt;/p&gt;

&lt;p&gt;https://github.com/dhaskew/blog&lt;/p&gt;

&lt;p&gt;I use the &lt;a href=&quot;https://github.com/laurilehmijoki/s3_website&quot;&gt;S3 Website&lt;/a&gt; tool to automate the uploading of the site to s3.&lt;/p&gt;

&lt;p&gt;Check out the &lt;a href=&quot;https://jekyllrb.com/docs/home&quot;&gt;Jekyll docs&lt;/a&gt; for more info on how to get the most out of Jekyll. File all bugs/feature requests at &lt;a href=&quot;https://github.com/jekyll/jekyll&quot;&gt;Jekyll’s GitHub repo&lt;/a&gt;. If you have questions, you can ask them on &lt;a href=&quot;https://talk.jekyllrb.com/&quot;&gt;Jekyll Talk&lt;/a&gt;.&lt;/p&gt;</content><author><name></name></author><summary type="html">=&amp;gt; bundle exec jekyll build #bundle required to genererate rss feeds correctly =&amp;gt; jekyll serve =&amp;gt; JEKYLL_ENV=production bundle exec jekyll clean =&amp;gt; JEKYLL_ENV=production bundle exec jekyll build =&amp;gt; s3_website push</summary></entry><entry><title type="html">Welcome to Jekyll!</title><link href="http://aske.ws/welcome-to-jekyll/" rel="alternate" type="text/html" title="Welcome to Jekyll!" /><published>2018-10-17T18:46:57-04:00</published><updated>2018-10-17T18:46:57-04:00</updated><id>http://aske.ws/welcome-to-jekyll</id><content type="html" xml:base="http://aske.ws/welcome-to-jekyll/">&lt;p&gt;You’ll find this post in your &lt;code class=&quot;highlighter-rouge&quot;&gt;_posts&lt;/code&gt; directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run &lt;code class=&quot;highlighter-rouge&quot;&gt;jekyll serve&lt;/code&gt;, which launches a web server and auto-regenerates your site when a file is updated.&lt;/p&gt;

&lt;p&gt;To add new posts, simply add a file in the &lt;code class=&quot;highlighter-rouge&quot;&gt;_posts&lt;/code&gt; directory that follows the convention &lt;code class=&quot;highlighter-rouge&quot;&gt;YYYY-MM-DD-name-of-post.ext&lt;/code&gt; and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.&lt;/p&gt;

&lt;p&gt;Jekyll also offers powerful support for code snippets:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-ruby&quot; data-lang=&quot;ruby&quot;&gt;&lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;print_hi&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
  &lt;span class=&quot;nb&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Hi, &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;#{&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;print_hi&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'Tom'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;#=&amp;gt; prints 'Hi, Tom' to STDOUT.&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Check out the &lt;a href=&quot;https://jekyllrb.com/docs/home&quot;&gt;Jekyll docs&lt;/a&gt; for more info on how to get the most out of Jekyll. File all bugs/feature requests at &lt;a href=&quot;https://github.com/jekyll/jekyll&quot;&gt;Jekyll’s GitHub repo&lt;/a&gt;. If you have questions, you can ask them on &lt;a href=&quot;https://talk.jekyllrb.com/&quot;&gt;Jekyll Talk&lt;/a&gt;.&lt;/p&gt;</content><author><name></name></author><summary type="html">You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.</summary></entry></feed>