This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="//dobbs.town/@Homoevolutis0">Mastodon</a>"><a rel="me" href="https://dobbs.town/@Homoevolutis0">Mastodon</a></a></p><p> </p><p><a rel="me" href="https://dobbs.town/@Homoevolutis0">Mastodon</a></p></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prefece: BookStack is seemingly a normal laravel app. | |
This means you need to check it out to a directory someplace, | |
install its deps, config the DB, and point a symlink apache app to the 'public' sub directory. | |
Create a new OSUser for this app to live in, it makes deployment a little easier. | |
Shell commands, | |
mkdir ~/src | |
cd ~/src |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function changeColorOfSuggestedForYou(parentLevels = 0) { | |
let spans = document.querySelectorAll('span[dir="auto"]'); | |
for (let span of spans) { | |
if (span.textContent.trim() === 'Suggested for you') { | |
span.style.color = 'red'; | |
let parent = span; | |
for (let i = 0; i < parentLevels; i++) { | |
parent = parent.parentElement; | |
if (parent && parent.tagName.toLowerCase() === 'div') { |
OlderNewer