fixing a bunch of broken stuff I think
This commit is contained in:
parent
0dbc3ead0e
commit
8bace887a2
1551 changed files with 299 additions and 57481 deletions
|
@ -1 +0,0 @@
|
|||
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/q7sz5b/xmonad_nord_oh_nord/"> <img src="https://preview.redd.it/q3flvniymct71.png?width=640&crop=smart&auto=webp&s=758a81e505ed82ccc29db947cf31b3b211f272aa" alt="[Xmonad] ~Nord oh nord~!" title="[Xmonad] ~Nord oh nord~!" /> </a> </td><td>   submitted by   <a href="https://www.reddit.com/user/That-Extension-9691"> /u/That-Extension-9691 </a> <br/> <span><a href="https://i.redd.it/q3flvniymct71.png">[link]</a></span>   <span><a href="https://www.reddit.com/r/unixporn/comments/q7sz5b/xmonad_nord_oh_nord/">[comments]</a></span> </td></tr></table>
|
|
@ -1 +0,0 @@
|
|||
<p>At TFC this week we are talking about Paul's second missionary journey. One of the most powerful parts of this story is how Paul meets the folks he is dealing with right where they are. Paul is escaping some… <a href='/story.php?story_fbid=134388612024280&id=115628967233578'>More</a> very angry people in Thesalonica, and as he is in Athens he notices just how many idols and false gods the people worship. He uses this knowledge to talk about some god they don't know, through this he grabs their attention and tells them about Jesus. Maybe you too have things that you idolize, I'd encourage you to read along with us tonight in Acts 17! Ask yourself, are there things that I need to get rid of in order to truly love Jesus?</p><a href='/story.php?story_fbid=134388612024280&id=115628967233578&m_entstream_source=timeline&__tn__=%2As%2As-R' aria-label='Open story' class='_5msj'></a><a href='/NorthernValleyTFC/photos/a.117554230374385/134388418690966/?type=3&source=48&__tn__=EH-R' class='_39pi'><img src='https://scontent.fict1-1.fna.fbcdn.net/v/t1.6435-9/cp0/e15/q65/s320x320/165826364_134388422024299_925814659811198750_n.jpg?_nc_cat=101&ccb=1-5&_nc_sid=8024bb&_nc_ohc=aM-hvnLNINAAX-u_e5A&_nc_ht=scontent.fict1-1.fna&oh=9c1917b026dc498252761a821fb8d7e8&oe=616783DD' /></a>
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>I'm trying to get a Google coral dual Edge TPU (PCIe) device running. The device is detected properly via lspci. But the /dev/apex device never loads. </p> <p>I'm trying to load the driver via the gasket-dkms package in Aur. </p> <p>Kernel is 5.13. </p> <p>Any guidance is appreciated.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/shtnarg"> /u/shtnarg </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r9rymp/unable_to_load_apex_driver_no_devapex_device/">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/r9rymp/unable_to_load_apex_driver_no_devapex_device/">[comments]</a></span>
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>... hi, how i can get such a taskmanager in doomemacs up and running 🤔</p> <p><a href="https://imgur.com/gallery/ymAvmUa">https://imgur.com/gallery/ymAvmUa</a></p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/TriumphOfDeath"> /u/TriumphOfDeath </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r4tcm0/task_manager/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/r4tcm0/task_manager/">[comments]</a></span>
|
|
@ -1,40 +0,0 @@
|
|||
<p>Using an RSS reader instead of visiting Youtube or other social media has many advantages, including that you have to deal with much less energy-sapping, will-eroding clickbait. Unfortunately feed entries can still have clickbaity titles that can DESTROY your patience! So I wrote a dumb-as-rocks declickbaiter for Elfeed. You WON’T BELIEVE the results!</p>
|
||||
<p>The Before (The After will SHOCK you!):
|
||||
<img alt="" src="https://karthinks.com/img/declickbait-before-extra.png" /></p>
|
||||
<p>The After:
|
||||
<img alt="" src="https://karthinks.com/img/declickbait-after-extra.png" /></p>
|
||||
<p>The Code:</p>
|
||||
<div class="highlight"><pre><code class="language-emacs-lisp">(<span style="color: #b8860b;">add-hook</span> <span style="color: #b8860b;">'elfeed-new-entry-hook</span> <span style="color: #00a000;">#'</span><span style="color: #b8860b;">elfeed-declickbait-entry</span>)
|
||||
|
||||
(<span style="color: #a2f;">defun</span> <span style="color: #b8860b;">elfeed-declickbait-entry</span> (<span style="color: #b8860b;">entry</span>)
|
||||
(<span style="color: #a2f;">let</span> ((<span style="color: #b8860b;">title</span> (<span style="color: #b8860b;">elfeed-entry-title</span> <span style="color: #b8860b;">entry</span>)))
|
||||
(<span style="color: #a2f;">setf</span> (<span style="color: #b8860b;">elfeed-meta</span> <span style="color: #b8860b;">entry</span> <span style="color: #a2f;">:title</span>)
|
||||
(<span style="color: #b8860b;">elfeed-title-transform</span> <span style="color: #b8860b;">title</span>))))
|
||||
|
||||
(<span style="color: #a2f;">defun</span> <span style="color: #b8860b;">elfeed-title-transform</span> (<span style="color: #b8860b;">title</span>)
|
||||
<span style="color: #b44;">"Declickbait string TITLE."</span>
|
||||
(<span style="color: #a2f;">let*</span> ((<span style="color: #b8860b;">trim</span> <span style="color: #b44;">"\\(?:\\(?:\\.\\.\\.\\|[!?]\\)+\\)"</span>)
|
||||
(<span style="color: #b8860b;">arr</span> (<span style="color: #b8860b;">split-string</span> <span style="color: #b8860b;">title</span> <span style="color: #800;">nil</span> <span style="color: #800;">t</span> <span style="color: #b8860b;">trim</span>))
|
||||
(<span style="color: #b8860b;">s-table</span> (<span style="color: #00a000;">copy-syntax-table</span>)))
|
||||
(<span style="color: #00a000;">modify-syntax-entry</span> <span style="color: #b44;">?\'</span> <span style="color: #b44;">"w"</span> <span style="color: #b8860b;">s-table</span>)
|
||||
(<span style="color: #a2f;">with-syntax-table</span> <span style="color: #b8860b;">s-table</span>
|
||||
(<span style="color: #00a000;">mapconcat</span> (<span style="color: #a2f;">lambda</span> (<span style="color: #b8860b;">word</span>)
|
||||
(<span style="color: #a2f;">cond</span>
|
||||
((<span style="color: #00a000;">member</span> <span style="color: #b8860b;">word</span> <span style="color: #666;">'</span>(<span style="color: #b44;">"AND"</span> <span style="color: #b44;">"OR"</span> <span style="color: #b44;">"IF"</span> <span style="color: #b44;">"ON"</span> <span style="color: #b44;">"IT"</span> <span style="color: #b44;">"TO"</span>
|
||||
<span style="color: #b44;">"A"</span> <span style="color: #b44;">"OF"</span> <span style="color: #b44;">"VS"</span> <span style="color: #b44;">"IN"</span> <span style="color: #b44;">"FOR"</span> <span style="color: #b44;">"WAS"</span>
|
||||
<span style="color: #b44;">"IS"</span> <span style="color: #b44;">"BE"</span>))
|
||||
(<span style="color: #00a000;">downcase</span> <span style="color: #b8860b;">word</span>))
|
||||
((<span style="color: #00a000;">member</span> <span style="color: #b8860b;">word</span> <span style="color: #666;">'</span>(<span style="color: #b44;">"WE"</span> <span style="color: #b44;">"DAY"</span> <span style="color: #b44;">"HOW"</span> <span style="color: #b44;">"WHY"</span> <span style="color: #b44;">"NOW"</span> <span style="color: #b44;">"OLD"</span>
|
||||
<span style="color: #b44;">"NEW"</span> <span style="color: #b44;">"MY"</span> <span style="color: #b44;">"TOO"</span> <span style="color: #b44;">"GOT"</span> <span style="color: #b44;">"GET"</span> <span style="color: #b44;">"THE"</span>
|
||||
<span style="color: #b44;">"ONE"</span> <span style="color: #b44;">"DO"</span> <span style="color: #b44;">"YOU"</span>))
|
||||
(<span style="color: #00a000;">capitalize</span> <span style="color: #b8860b;">word</span>))
|
||||
((<span style="color: #00a000;">></span> (<span style="color: #00a000;">length</span> <span style="color: #b8860b;">word</span>) <span style="color: #666;">3</span>) (<span style="color: #00a000;">capitalize</span> <span style="color: #b8860b;">word</span>))
|
||||
(<span style="color: #800;">t</span> <span style="color: #b8860b;">word</span>)))
|
||||
<span style="color: #b8860b;">arr</span> <span style="color: #b44;">" "</span>))))
|
||||
</code></pre></div><p><code>elfeed-title-transform</code> can be replaced with something much better, like a grammar aware title formatter (AI or otherwise), or with information extracted from the content or video description of the entry. But I’ll settle for this pareto solution for what was <a href="https://youtube.com/watch?v=tF4OdtSuXMg">half an hour of live coding</a> in the dark:</p>
|
||||
|
||||
<p>Okay, the above screenshots were chosen as a joke. Here’s a more representative version of the declickbait effect:</p>
|
||||
<p>Before:
|
||||
<img alt="" src="https://karthinks.com/img/declickbait-before.png" /></p>
|
||||
<p>After:
|
||||
<img alt="" src="https://karthinks.com/img/declickbait-after.png" /></p>
|
|
@ -1 +0,0 @@
|
|||
<a href="https://www.facebook.com/NorthernValleyTFC/"><img src="https://scontent.fict1-1.fna.fbcdn.net/v/t1.6435-1/cp0/p50x50/151177197_115670240562784_7305556504870656520_n.png?_nc_cat=105&ccb=1-5&_nc_sid=dbb9e7&_nc_ohc=xoFCcgZhpMsAX_xHxjk&_nc_ht=scontent.fict1-1.fna&oh=4ec63298f66f25af09c5755fa579e557&oe=616904E6" alt="" /></a><a href="https://www.facebook.com/NorthernValleyTFC/">NV TFC</a> updated their profile picture.<a href="https://www.facebook.com/NorthernValleyTFC/photos/a.115628997233575/115670237229451/"></a><i></i><a href="https://www.facebook.com/NorthernValleyTFC/photos/a.115628997233575/115670237229451/"><img src="https://scontent.fict1-1.fna.fbcdn.net/v/t1.6435-9/p370x247/151177197_115670240562784_7305556504870656520_n.png?_nc_cat=105&ccb=1-5&_nc_sid=85a577&_nc_ohc=xoFCcgZhpMsAX_xHxjk&_nc_ht=scontent.fict1-1.fna&oh=a0198e734da8deeff0daf1f9144cdade&oe=6169EC3F" alt="" /></a>
|
|
@ -1 +0,0 @@
|
|||
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/qza3ba/bspwm_not_showing_gui_apps_is_cheating/"> <img src="https://preview.redd.it/gx3ft1rvy1181.png?width=640&crop=smart&auto=webp&s=eac570f4a74ab6a0294f0791ad09d79a6537d918" alt="[BSPWM] Not showing GUI apps is cheating." title="[BSPWM] Not showing GUI apps is cheating." /> </a> </td><td>   submitted by   <a href="https://www.reddit.com/user/SudoDNFDashY"> /u/SudoDNFDashY </a> <br/> <span><a href="https://i.redd.it/gx3ft1rvy1181.png">[link]</a></span>   <span><a href="https://www.reddit.com/r/unixporn/comments/qza3ba/bspwm_not_showing_gui_apps_is_cheating/">[comments]</a></span> </td></tr></table>
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>System details:</p> <ul> <li>Operating System: Arch Linux</li> <li>KDE Plasma Version: 5.22.5</li> <li>KDE Frameworks Version: 5.87.0</li> <li>Qt Version: 5.15.2</li> <li>Kernel Version: 5.14.11-xanmod1-1 (64-bit)</li> <li>Graphics Platform: Wayland</li> <li>Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics</li> <li>Memory: 15.1 GiB of RAM</li> <li>Graphics Processor: AMD RENOIR</li> </ul> <p>How to reproduce the problem:</p> <ol> <li>Put the computer to sleep mode</li> <li>Wake it up</li> <li>Enter the password to the KDE prompt -> Unlocking failed</li> <li>Switch to another TTY -> type in my username -> Login locked for 10 minutes after 3 wrong attempts</li> </ol> <p>It's because KDE automatically enters a blank password when waking up or something? Also, this does not happen all the time, sometimes it works, sometimes it doesn't but not really frequently. Any ideas ?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/minhduc66532"> /u/minhduc66532 </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/q778vt/login_locked_for_10_minutes_after_3_wrong/">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/q778vt/login_locked_for_10_minutes_after_3_wrong/">[comments]</a></span>
|
Loading…
Add table
Add a link
Reference in a new issue