<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>buty4649</author_name>
  <author_url>https://blog.hatena.ne.jp/buty4649/</author_url>
  <blog_title>ぶていのログでぶログ</blog_title>
  <blog_url>https://tech.buty4649.net/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>シェルスクリプト</anon>
  </categories>
  <description>仕事を開始するときに出勤記録をつける必要がある。 便利なことにCLIがあるので*1これを叩けば出勤記録をつけることができる。 $ syukkin しかしながら、これを忘れることがあるので自動化したい！というのが目的。 NetworkManager Dispatcher 結論からいうとNetworkManagerのDispatcherを使うことにした。 developer.gnome.org これを使うとネットワークに関連するイベントが発生したときに任意のスクリプトを実行することができる。 実行したいスクリプトは実行権限をつけて /etc/NetworkManager/dispatcher.d …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.buty4649.net%2Fentry%2F2019%2F07%2F31%2F205710&quot; title=&quot;NetworkManagerのDispatcherで出勤記録を自動化する - ぶていのログでぶログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-31 20:57:10</published>
  <title>NetworkManagerのDispatcherで出勤記録を自動化する</title>
  <type>rich</type>
  <url>https://tech.buty4649.net/entry/2019/07/31/205710</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
