mirror of
https://github.com/SqrtMinusOne/sqrtminusone.github.io.git
synced 2025-12-11 00:03:02 +03:00
deploy: 2478049992
This commit is contained in:
parent
f431ab8051
commit
9f2ab062df
6 changed files with 5 additions and 3 deletions
|
|
@ -4089,6 +4089,7 @@ Emacs is also particularly great at writing Lisp code, e.g. Clojure, Common Lisp
|
|||
</span></span><span style="display:flex;"><span> <span style="color:#008000">:params</span> <span style="color:#666">'</span>((<span style="color:#ba2121">"format"</span> <span style="color:#666">.</span> <span style="color:#ba2121">"%l:%20%C%20%t%20%w%20%p"</span>))
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#008000">:sync</span> <span style="color:#800">t</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#008000">:parser</span> (<span style="color:#008000">lambda</span> () (<span style="color:#19177c">url-unhex-string</span> (<span style="color:#00f">buffer-string</span>)))
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#008000">:timeout</span> <span style="color:#666">10</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#008000">:success</span> (<span style="color:#008000">cl-function</span>
|
||||
</span></span><span style="display:flex;"><span> (<span style="color:#008000">lambda</span> (<span style="color:#008000">&key</span> <span style="color:#19177c">data</span> <span style="color:#008000">&allow-other-keys</span>)
|
||||
</span></span><span style="display:flex;"><span> (<span style="color:#008000">setq</span> <span style="color:#19177c">my/weather-value</span> <span style="color:#19177c">data</span>)
|
||||
|
|
@ -4112,7 +4113,7 @@ Emacs is also particularly great at writing Lisp code, e.g. Clojure, Common Lisp
|
|||
</span></span><span style="display:flex;"><span> <span style="color:#ba2121">"How do you feel: "</span>
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#19177c">my/mood-list</span>)
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#ba2121">" "</span>)))
|
||||
</span></span></code></pre></div><p>And here’s a function that creates a drawer with such information. At the moment, it’s:</p>
|
||||
</span></span></code></pre></div><p>And here’s the function that creates a drawer with such information. At the moment, it’s:</p>
|
||||
<ul>
|
||||
<li>Emacs version</li>
|
||||
<li>Hostname</li>
|
||||
|
|
@ -5095,7 +5096,7 @@ Didn’t work out as I expected, so I’ve made <code>org-journal-tags</
|
|||
</span></span><span style="display:flex;"><span> <span style="color:#ba2121">"/home/pavel/Mail.org"</span>))
|
||||
</span></span></code></pre></div><p>To launch from CLI, run:</p>
|
||||
<div class="highlight"><pre tabindex="0" style=";-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>emacs -Q --batch -l run-tangle.el
|
||||
</span></span></code></pre></div><p>I have added this line to yadm’s <code>post_alt</code> hook, so tangle is run after <code>yadm alt</code></p>
|
||||
</span></span></code></pre></div><p>I have added this line to yadm’s <code>post_alt</code> hook, so to run tangle after <code>yadm alt</code></p>
|
||||
<h2 id="applications">Applications</h2>
|
||||
<h3 id="dired-1">Dired</h3>
|
||||
<p>Dired is the built-in Emacs file manager. It’s so good that it’s strange that, to my knowledge, no one tried to replicate it outside of Emacs.</p>
|
||||
|
|
|
|||
|
|
@ -606,7 +606,7 @@
|
|||
</span></span><span style="display:flex;"><span><span style="color:#408080;font-style:italic"># pkexec nmcli con modify "$CONN" ipv6.method ignore</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#408080;font-style:italic"># nmcli connection up "$CONN"</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#408080;font-style:italic"># fi</span>
|
||||
</span></span><span style="display:flex;"><span>pkexec openvpn --config ~/.vpn/mullvad_openvpn_linux_fi_hel/mullvad_fi_hel.conf
|
||||
</span></span><span style="display:flex;"><span>pkexec openvpn --config ~/.vpn/mullvad_openvpn_linux_se_all/mullvad_se_all.conf
|
||||
</span></span></code></pre></div><h4 id="377cab"><del>vpn-stop</del></h4>
|
||||
<p><del>Also a script to reverse the changes</del>
|
||||
Also not necessary now. Just <code>herd stop vpn</code> and <code>sudo pkill vpn</code>.</p>
|
||||
|
|
|
|||
|
|
@ -149,6 +149,7 @@
|
|||
</span></span><span style="display:flex;"><span>.emacs.d/private.org
|
||||
</span></span><span style="display:flex;"><span>.emacs.d/private.el
|
||||
</span></span><span style="display:flex;"><span>.emacs.d/.trello/sqrtminusone.el
|
||||
</span></span><span style="display:flex;"><span>./.vpn/*
|
||||
</span></span></code></pre></div>
|
||||
</div>
|
||||
<div class="table-of-contents">
|
||||
|
|
|
|||
BIN
stats/all.png
BIN
stats/all.png
Binary file not shown.
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
Loading…
Add table
Reference in a new issue