feat: use jxl
parent
5dffcb5a0d
commit
5f268f8557
|
@ -81,9 +81,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-000.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-000.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-000.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-000.jxl"
|
||||
alt="pcsx2-000"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -115,9 +115,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-001.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-001.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-001.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-001.jxl"
|
||||
alt="pcsx2-001"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -214,9 +214,9 @@ patch=1,EE,2012009C,extended,00000000</pre
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-005.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-005.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-005.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-005.jxl"
|
||||
alt="pcsx2-005"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
|
|
@ -96,36 +96,36 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-009.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-009.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-009.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-009.jxl"
|
||||
alt="keeb-009"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-010.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-010.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-010.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-010.jxl"
|
||||
alt="keeb-010"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-011.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-011.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-011.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-011.jxl"
|
||||
alt="keeb-011"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-012.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-012.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-012.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-012.jxl"
|
||||
alt="keeb-012"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -135,9 +135,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-001.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-001.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-001.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-001.jxl"
|
||||
alt="keeb-001"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -146,9 +146,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-002.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-002.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-002.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-002.jxl"
|
||||
alt="keeb-002"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -157,9 +157,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-003.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-003.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-003.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-003.jxl"
|
||||
alt="keeb-003"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -168,9 +168,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-006.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-006.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-006.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-006.jxl"
|
||||
alt="keeb-006"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -200,9 +200,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-004.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-004.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-004.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-004.jxl"
|
||||
alt="keeb-004"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -382,9 +382,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-007.jpg"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-007.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-007.jpg"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-007.jxl"
|
||||
alt="keeb-007"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -450,9 +450,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-008.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-008.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-008.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-008.jxl"
|
||||
alt="keeb-008"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -490,9 +490,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-015.jpg"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-015.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-015.jpg"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-015.jxl"
|
||||
alt="keeb-015"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -530,18 +530,18 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-016.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-016.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-016.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-016.jxl"
|
||||
alt="keeb-016"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-017.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-017.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-017.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-017.jxl"
|
||||
alt="keeb-017"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -593,9 +593,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-019.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-019.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-019.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-019.jxl"
|
||||
alt="keeb-019"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -672,9 +672,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-013.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-013.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-013.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-013.jxl"
|
||||
alt="keeb-013"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -683,9 +683,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-014.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-014.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-014.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-014.jxl"
|
||||
alt="keeb-014"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -722,9 +722,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-018.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-018.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-018.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-018.jxl"
|
||||
alt="keeb-018"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -754,9 +754,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-020.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-020.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-020.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-020.jxl"
|
||||
alt="keeb-020"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -765,9 +765,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-022.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-022.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-022.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-022.jxl"
|
||||
alt="keeb-022"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
@ -797,9 +797,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-021.webp"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-021.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-021.webp"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-021.jxl"
|
||||
alt="keeb-021"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
|
|
@ -58,9 +58,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/nvim-000.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/nvim-000.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/nvim-000.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/nvim-000.jxl"
|
||||
alt="nvim-000"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
|
|
@ -92,11 +92,11 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://camo.githubusercontent.com/111ef656bf49621be488e4ec5e1f440aafc1264f2ccfa5c051b7c1f3a26fa7ae/68747470733a2f2f7a656c6c696a2e6465762f646f63756d656e746174696f6e2f696d672f6f766572766965772d7374617475732d7461622d322e706e67"
|
||||
href="https://camo.githubusercontent.com/7faccf647f8ba3d9f18f276f48c0dba50c2f5f8f36627515126a86fe17ff0437/68747470733a2f2f7a656c6c696a2e6465762f646f63756d656e746174696f6e2f696d672f6f766572766965772d7374617475732d7461622d322e6a786c"
|
||||
><img
|
||||
src="https://camo.githubusercontent.com/111ef656bf49621be488e4ec5e1f440aafc1264f2ccfa5c051b7c1f3a26fa7ae/68747470733a2f2f7a656c6c696a2e6465762f646f63756d656e746174696f6e2f696d672f6f766572766965772d7374617475732d7461622d322e706e67"
|
||||
src="https://camo.githubusercontent.com/7faccf647f8ba3d9f18f276f48c0dba50c2f5f8f36627515126a86fe17ff0437/68747470733a2f2f7a656c6c696a2e6465762f646f63756d656e746174696f6e2f696d672f6f766572766965772d7374617475732d7461622d322e6a786c"
|
||||
alt=""
|
||||
data-canonical-src="https://zellij.dev/documentation/img/overview-status-tab-2.png"
|
||||
data-canonical-src="https://zellij.dev/documentation/img/overview-status-tab-2.jxl"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
</p>
|
||||
|
@ -104,7 +104,6 @@
|
|||
<li><code>ALT-P</code>: switch panel</li>
|
||||
<li><code>ALT-N</code>: new panel vertically (right side)</li>
|
||||
<li><code>ALT-M</code>: new panel horizontally (down side)</li>
|
||||
<li><code>ALT-O</code>: new tab</li>
|
||||
<li><code>ALT-]</code>/<code>ALT-[</code>: next/previous tab</li>
|
||||
<li>Hold <code>SHIFT</code> and click on links, text, ...</li>
|
||||
</ul>
|
||||
|
|
|
@ -451,95 +451,34 @@ rsync -avzP src/ dst</pre>
|
|||
</div>
|
||||
<p>Rename:</p>
|
||||
<div class="highlight highlight-source-shell">
|
||||
<pre><span class="pl-c"><span class="pl-c">#</span> If want dry run, remove -x</span>
|
||||
f2 -r <span class="pl-s"><span class="pl-pds">"</span>{mtime.YYYY}{mtime.MM}{mtime.DD}.{mtime.H}{mtime.mm}{mtime.ss}{ext}<span class="pl-pds">"</span></span> -F -x</pre>
|
||||
<pre><span class="pl-c"><span class="pl-c">#</span> If dry run, remove --exec</span>
|
||||
f2 --replace <span class="pl-s"><span class="pl-pds">"</span>{mtime.YYYY}{mtime.MM}{mtime.DD}_{mtime.H}{mtime.mm}{mtime.ss}{ext}<span class="pl-pds">"</span></span> --fix-conflicts --exec
|
||||
|
||||
<span class="pl-c"><span class="pl-c">#</span> Include ImageSize (require exiftool)</span>
|
||||
f2 --replace <span class="pl-s"><span class="pl-pds">"</span>{mtime.YYYY}{mtime.MM}{mtime.DD}_{mtime.H}{mtime.mm}{mtime.ss}_{xt.ImageSize}{ext}<span class="pl-pds">"</span></span> --fix-conflicts --exec
|
||||
|
||||
<span class="pl-c"><span class="pl-c">#</span> Remove space in directory</span>
|
||||
f2 --find <span class="pl-s"><span class="pl-pds">"</span> <span class="pl-pds">"</span></span> --replace <span class="pl-s"><span class="pl-pds">"</span>_<span class="pl-pds">"</span></span> --string-mode --only-dir --exec</pre>
|
||||
</div>
|
||||
<div class="markdown-heading">
|
||||
<h2 class="heading-element">
|
||||
<a href="https://github.com/instaloader/instaloader">Instaloader</a>
|
||||
<a href="https://github.com/libvips/libvips">libvips</a>
|
||||
</h2>
|
||||
<a
|
||||
id="user-content-instaloader"
|
||||
id="user-content-libvips"
|
||||
class="anchor"
|
||||
aria-label="Permalink: Instaloader"
|
||||
href="#instaloader"
|
||||
><span aria-hidden="true" class="octicon octicon-link"></span
|
||||
></a>
|
||||
</div>
|
||||
<p><code>args.txt</code>:</p>
|
||||
<div class="highlight highlight-text-adblock">
|
||||
<pre>
|
||||
--no-video-thumbnails
|
||||
--no-captions
|
||||
--no-metadata-json
|
||||
--stories
|
||||
--fast-update
|
||||
--sanitize-paths
|
||||
--abort-on=302,400,429
|
||||
--no-iphone</pre
|
||||
>
|
||||
</div>
|
||||
<p><code>login.txt</code>:</p>
|
||||
<div class="highlight highlight-text-adblock">
|
||||
<pre>
|
||||
--login=your_insta_username
|
||||
--sessionfile=where/sessionfile/store</pre
|
||||
>
|
||||
</div>
|
||||
<p>Run:</p>
|
||||
<div class="highlight highlight-text-adblock">
|
||||
<pre>instaloader +login.txt +args.txt +targets.txt</pre>
|
||||
</div>
|
||||
<div class="markdown-heading">
|
||||
<h2 class="heading-element">
|
||||
<a href="https://github.com/fullstorydev/grpcurl">gRPCurl</a>
|
||||
</h2>
|
||||
<a
|
||||
id="user-content-grpcurl"
|
||||
class="anchor"
|
||||
aria-label="Permalink: gRPCurl"
|
||||
href="#grpcurl"
|
||||
aria-label="Permalink: libvips"
|
||||
href="#libvips"
|
||||
><span aria-hidden="true" class="octicon octicon-link"></span
|
||||
></a>
|
||||
</div>
|
||||
<p>Convert:</p>
|
||||
<div class="highlight highlight-source-shell">
|
||||
<pre>grpcurl -proto path/file.proto \
|
||||
-d <span class="pl-s"><span class="pl-pds">'</span>{"key": "value", "timestamp": "1997-04-01T00:00:00Z"}<span class="pl-pds">'</span></span> \
|
||||
internal-social.zalopay.vn:443 \
|
||||
pkg.Service/GetData</pre>
|
||||
</div>
|
||||
<div class="markdown-heading">
|
||||
<h2 class="heading-element">
|
||||
<a href="https://github.com/zed-industries/zed">Zed</a>
|
||||
</h2>
|
||||
<a
|
||||
id="user-content-zed"
|
||||
class="anchor"
|
||||
aria-label="Permalink: Zed"
|
||||
href="#zed"
|
||||
><span aria-hidden="true" class="octicon octicon-link"></span
|
||||
></a>
|
||||
</div>
|
||||
<p>Settings:</p>
|
||||
<div class="highlight highlight-source-json">
|
||||
<pre>{
|
||||
<span class="pl-ent">"telemetry"</span>: {
|
||||
<span class="pl-ent">"diagnostics"</span>: <span class="pl-c1">false</span>,
|
||||
<span class="pl-ent">"metrics"</span>: <span class="pl-c1">false</span>
|
||||
},
|
||||
<span class="pl-ent">"vim_mode"</span>: <span class="pl-c1">true</span>,
|
||||
<span class="pl-ent">"language_overrides"</span>: {
|
||||
<span class="pl-ent">"JSON"</span>: {
|
||||
<span class="pl-ent">"format_on_save"</span>: <span class="pl-s"><span class="pl-pds">"</span>off<span class="pl-pds">"</span></span>,
|
||||
<span class="pl-ent">"formatter"</span>: {
|
||||
<span class="pl-ent">"external"</span>: {
|
||||
<span class="pl-ent">"command"</span>: <span class="pl-s"><span class="pl-pds">"</span>prettier<span class="pl-pds">"</span></span>,
|
||||
<span class="pl-ent">"arguments"</span>: [<span class="pl-s"><span class="pl-pds">"</span>--stdin-filepath<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>{buffer_path}<span class="pl-pds">"</span></span>]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
<pre>vips jxlsave filename.jpg filename.jxl --keep=none
|
||||
|
||||
<span class="pl-c"><span class="pl-c">#</span> Batch convert (require fd)</span>
|
||||
fd <span class="pl-s"><span class="pl-pds">"</span>jpg|jpeg|png|webp<span class="pl-pds">"</span></span> --exec vips jxlsave {} {.}.jxl --keep=none
|
||||
fd <span class="pl-s"><span class="pl-pds">"</span>jpg|jpeg|png|webp<span class="pl-pds">"</span></span> --exec-batch rm</pre>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
|
|
@ -58,9 +58,9 @@
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer nofollow"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/vscode-000.png"
|
||||
href="https://raw.githubusercontent.com/haunt98/posts-images/main/vscode-000.jxl"
|
||||
><img
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/vscode-000.png"
|
||||
src="https://raw.githubusercontent.com/haunt98/posts-images/main/vscode-000.jxl"
|
||||
alt="vscode-000"
|
||||
style="max-width: 100%"
|
||||
/></a>
|
||||
|
|
|
@ -14,7 +14,7 @@ If below links die, I will try to scrape Internet to get a new link.
|
|||
I use [PCSX2](https://github.com/PCSX2/pcsx2). Currently it supports macOS on
|
||||
nightly builds, but it's good enough.
|
||||
|
||||
![pcsx2-000](https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-000.png)
|
||||
![pcsx2-000](https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-000.jxl)
|
||||
|
||||
Should download BIOS, I go with USA version:
|
||||
|
||||
|
@ -24,7 +24,7 @@ Should download BIOS, I go with USA version:
|
|||
|
||||
Should enable cheats:
|
||||
|
||||
![pcsx2-001](https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-001.png)
|
||||
![pcsx2-001](https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-001.jxl)
|
||||
|
||||
For cover art of games, please use
|
||||
[xlenore/ps2-covers](https://github.com/xlenore/ps2-covers).
|
||||
|
@ -72,7 +72,7 @@ patch=1,EE,2012009C,extended,00000000
|
|||
|
||||
Beautiful result!
|
||||
|
||||
![pcsx2-005](https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-005.png)
|
||||
![pcsx2-005](https://raw.githubusercontent.com/haunt98/posts-images/main/pcsx2-005.jxl)
|
||||
|
||||
### Mega Man X Collection
|
||||
|
||||
|
|
|
@ -16,20 +16,20 @@ Damn it's so loud :D
|
|||
|
||||
I bought it from my friend.
|
||||
|
||||
![keeb-009](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-009.png)
|
||||
![keeb-010](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-010.png)
|
||||
![keeb-011](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-011.png)
|
||||
![keeb-012](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-012.png)
|
||||
![keeb-009](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-009.jxl)
|
||||
![keeb-010](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-010.jxl)
|
||||
![keeb-011](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-011.jxl)
|
||||
![keeb-012](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-012.jxl)
|
||||
|
||||
Specs:
|
||||
|
||||
![keeb-001](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-001.webp)
|
||||
![keeb-001](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-001.jxl)
|
||||
|
||||
![keeb-002](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-002.webp)
|
||||
![keeb-002](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-002.jxl)
|
||||
|
||||
![keeb-003](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-003.webp)
|
||||
![keeb-003](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-003.jxl)
|
||||
|
||||
![keeb-006](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-006.webp)
|
||||
![keeb-006](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-006.jxl)
|
||||
|
||||
- USB-C
|
||||
- Plate: PC
|
||||
|
@ -45,7 +45,7 @@ My layout is based on:
|
|||
|
||||
- [HHKB layout](https://hhkb.io/layout/)
|
||||
|
||||
![keeb-004](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-004.png)
|
||||
![keeb-004](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-004.jxl)
|
||||
|
||||
My layout's **quirk/gotcha**:
|
||||
|
||||
|
@ -106,7 +106,7 @@ Things I don't like:
|
|||
Buy it from ShopeeVN. I choose this switch because I prefer linear (please be
|
||||
silent).
|
||||
|
||||
![keeb-007](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-007.jpg)
|
||||
![keeb-007](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-007.jxl)
|
||||
|
||||
Specs:
|
||||
|
||||
|
@ -132,7 +132,7 @@ Support links:
|
|||
I was given this switch by my friend. Currently using for alpha keys. Love the
|
||||
silent.
|
||||
|
||||
![keeb-008](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-008.webp)
|
||||
![keeb-008](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-008.jxl)
|
||||
|
||||
Specs:
|
||||
|
||||
|
@ -149,7 +149,7 @@ Support links:
|
|||
|
||||
### JWICK Yellow Linear Switch
|
||||
|
||||
![keeb-015](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-015.jpg)
|
||||
![keeb-015](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-015.jxl)
|
||||
|
||||
I was given this switch by my friend, full mod (lube + film).
|
||||
|
||||
|
@ -169,8 +169,8 @@ Support links:
|
|||
|
||||
### C3 Equalz Tangerine V2
|
||||
|
||||
![keeb-016](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-016.webp)
|
||||
![keeb-017](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-017.webp)
|
||||
![keeb-016](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-016.jxl)
|
||||
![keeb-017](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-017.jxl)
|
||||
|
||||
Buy it from ShopeeVN, friends told it's smooth. I buy the heavier aka 67g.
|
||||
|
||||
|
@ -190,7 +190,7 @@ Support links:
|
|||
|
||||
### CHERRY MX2A Black
|
||||
|
||||
![keeb-019](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-019.png)
|
||||
![keeb-019](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-019.jxl)
|
||||
|
||||
Buy it as I always love Cherry Black. But buy it too soon so I only got 3-pin
|
||||
version.
|
||||
|
@ -225,9 +225,9 @@ Be careful:
|
|||
|
||||
I buy vim kit first then base later.
|
||||
|
||||
![keeb-013](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-013.webp)
|
||||
![keeb-013](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-013.jxl)
|
||||
|
||||
![keeb-014](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-014.webp)
|
||||
![keeb-014](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-014.jxl)
|
||||
|
||||
Support links:
|
||||
|
||||
|
@ -238,7 +238,7 @@ Support links:
|
|||
|
||||
I only buy 40s kit.
|
||||
|
||||
![keeb-018](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-018.webp)
|
||||
![keeb-018](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-018.jxl)
|
||||
|
||||
Support links:
|
||||
|
||||
|
@ -248,9 +248,9 @@ Support links:
|
|||
|
||||
I bought Blue version with Base, Novel, Space kit from bidding.
|
||||
|
||||
![keeb-020](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-020.webp)
|
||||
![keeb-020](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-020.jxl)
|
||||
|
||||
![keeb-022](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-022.webp)
|
||||
![keeb-022](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-022.jxl)
|
||||
|
||||
Support links:
|
||||
|
||||
|
@ -260,7 +260,7 @@ Support links:
|
|||
|
||||
I only bought Base kit.
|
||||
|
||||
![keeb-021](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-021.webp)
|
||||
![keeb-021](https://raw.githubusercontent.com/haunt98/posts-images/main/keeb-021.jxl)
|
||||
|
||||
Support links:
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# My neovim workflow
|
||||
|
||||
![nvim-000](https://raw.githubusercontent.com/haunt98/posts-images/main/nvim-000.png)
|
||||
![nvim-000](https://raw.githubusercontent.com/haunt98/posts-images/main/nvim-000.jxl)
|
||||
|
||||
All configs are in [my dotfiles](https://github.com/haunt98/dotfiles).
|
||||
|
||||
|
|
|
@ -9,11 +9,10 @@ All configs are in [my dotfiles](https://github.com/haunt98/dotfiles).
|
|||
|
||||
## Use [zellij-org/zellij](https://github.com/zellij-org/zellij) as guide keybinding
|
||||
|
||||
![](https://zellij.dev/documentation/img/overview-status-tab-2.png)
|
||||
![](https://zellij.dev/documentation/img/overview-status-tab-2.jxl)
|
||||
|
||||
- `ALT-P`: switch panel
|
||||
- `ALT-N`: new panel vertically (right side)
|
||||
- `ALT-M`: new panel horizontally (down side)
|
||||
- `ALT-O`: new tab
|
||||
- `ALT-]`/`ALT-[`: next/previous tab
|
||||
- Hold `SHIFT` and click on links, text, ...
|
||||
|
|
|
@ -322,68 +322,24 @@ cat /dev/null > ~/.zsh_history
|
|||
Rename:
|
||||
|
||||
```sh
|
||||
# If want dry run, remove -x
|
||||
f2 -r "{mtime.YYYY}{mtime.MM}{mtime.DD}.{mtime.H}{mtime.mm}{mtime.ss}{ext}" -F -x
|
||||
# If dry run, remove --exec
|
||||
f2 --replace "{mtime.YYYY}{mtime.MM}{mtime.DD}_{mtime.H}{mtime.mm}{mtime.ss}{ext}" --fix-conflicts --exec
|
||||
|
||||
# Include ImageSize (require exiftool)
|
||||
f2 --replace "{mtime.YYYY}{mtime.MM}{mtime.DD}_{mtime.H}{mtime.mm}{mtime.ss}_{xt.ImageSize}{ext}" --fix-conflicts --exec
|
||||
|
||||
# Remove space in directory
|
||||
f2 --find " " --replace "_" --string-mode --only-dir --exec
|
||||
```
|
||||
|
||||
## [Instaloader](https://github.com/instaloader/instaloader)
|
||||
## [libvips](https://github.com/libvips/libvips)
|
||||
|
||||
`args.txt`:
|
||||
|
||||
```txt
|
||||
--no-video-thumbnails
|
||||
--no-captions
|
||||
--no-metadata-json
|
||||
--stories
|
||||
--fast-update
|
||||
--sanitize-paths
|
||||
--abort-on=302,400,429
|
||||
--no-iphone
|
||||
```
|
||||
|
||||
`login.txt`:
|
||||
|
||||
```txt
|
||||
--login=your_insta_username
|
||||
--sessionfile=where/sessionfile/store
|
||||
```
|
||||
|
||||
Run:
|
||||
|
||||
```txt
|
||||
instaloader +login.txt +args.txt +targets.txt
|
||||
```
|
||||
|
||||
## [gRPCurl](https://github.com/fullstorydev/grpcurl)
|
||||
Convert:
|
||||
|
||||
```sh
|
||||
grpcurl -proto path/file.proto \
|
||||
-d '{"key": "value", "timestamp": "1997-04-01T00:00:00Z"}' \
|
||||
internal-social.zalopay.vn:443 \
|
||||
pkg.Service/GetData
|
||||
```
|
||||
|
||||
## [Zed](https://github.com/zed-industries/zed)
|
||||
|
||||
Settings:
|
||||
|
||||
```json
|
||||
{
|
||||
"telemetry": {
|
||||
"diagnostics": false,
|
||||
"metrics": false
|
||||
},
|
||||
"vim_mode": true,
|
||||
"language_overrides": {
|
||||
"JSON": {
|
||||
"format_on_save": "off",
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "prettier",
|
||||
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
vips jxlsave filename.jpg filename.jxl --keep=none
|
||||
|
||||
# Batch convert (require fd)
|
||||
fd "jpg|jpeg|png|webp" --exec vips jxlsave {} {.}.jxl --keep=none
|
||||
fd "jpg|jpeg|png|webp" --exec-batch rm
|
||||
```
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# VSCode
|
||||
|
||||
![vscode-000](https://raw.githubusercontent.com/haunt98/posts-images/main/vscode-000.png)
|
||||
![vscode-000](https://raw.githubusercontent.com/haunt98/posts-images/main/vscode-000.jxl)
|
||||
|
||||
Favortite settings everytime I install VSCode.
|
||||
|
||||
|
|
Loading…
Reference in New Issue