Sign in

shellsharks

@shellsharks.shellsharks.social.ap.brid.gy
863 followers 3 following 124 posts

Infosec researcher | Indieweb enthusiast | Find me @ shellsharks.com #infosec #cybersecurity #tech #indieweb searchable Profile picture: A red shark […] 🌉 bridged from ⁂ shellsharks.social/@shellsharks, follow @ap.brid.gy to interact

PostsRepliesMedia
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 18/03/2026
Some vulnerability name suggestions perfect for the current times: - SlopBleed - Slopsploit - SlopShell - ETERNALSLOP - SLOPwn - SlopShock - Slopocalypse - SlopFlood - SLOPpySeconds - SlopStrike - SlopHell - SlopLeak - Sloppageddon - BadSlop - SlopHole - DeathSlop - Slop2Shell - Slop of Death - […]
shellsharks.social
Original post on shellsharks.social
010
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 13/03/2026
Has AI mad you sad today? Me too friend. Me too. So here’s my newest <strike>abomination</strike> creation on the blog, the “AI Wall of Sad” 🤖 😞 shellsharks.com/ai-wall-of-sad It features a haphazard collection of links related to AI that are sure to ruin your day! Feel free to send me […]
shellsharks.social
Original post on shellsharks.social
010
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 11/03/2026
Food: $800 Rent: $1500 Utilities: $200 Car: $400 Salary: 1 million AI tokens/year Someone who is good at the economy please help me budget this. My family is dying. tldr.nettime.org/@tante/11620973077…
tldr.nettime.org
tante (@tante@tldr.nettime.org)
"Silicon Valley is buzzing about this new idea: AI compute as compensation" Of course they are. "AI" people are Blockchain people and they'd love to force people into money that _they_ control https://www.businessinsider.com/ai-compute-compensation-software-engineers-greg-brockman-2026-3
001
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 14/01/2026
Been a few months, but a new edition of Scrolls is now out! #infosec #cybersecurity #fediverse #indieweb shellsharks.com/scrolls/scroll/2026… Everyone mentioned below is featured or contributed in some way to this latest scroll. Thanks as always!! @andyc @ros @Jayhoffmann […]
malici.ous.computer
Original post on malici.ous.computer
103
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 17/10/2025
Another edition of Scrolls is now out. Go take a look! 📜 👀 shellsharks.com/scrolls/scroll/2025… There's a lot of great links (as always), and I have everyone below to thank! Those mentioned below have made this week's writeup as fun and unique as ever. @bojidar_bg @jaz @xandra […]
malici.ous.computer
Original post on malici.ous.computer
003
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 07/10/2025
Not quite back on the normal Friday publishing cadence but I've got another issue of Scrolls out today! I think this officially catches me up on things I'd been saving over the past few weeks/months. Check it out for a ton of awesome #IndieWeb, #Fediverse and #Infosec / #cybersecurity stuff as […]
malici.ous.computer
Original post on malici.ous.computer
112
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 01/10/2025
It's been ages! But Scrolls is back once again. What's in it? A bunch of random stuff from bygone weeks. I hope you enjoy, and I hope to be back again soon with more good shtuff. shellsharks.com/scrolls/scroll/2025… Thanks to those mentioned below. Their blogs, their writing […]
malici.ous.computer
Original post on malici.ous.computer
102
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 27/06/2025
Heyo! Scrolls volume _nineteen_ is out! There's all the usual awesome #IndieWeb, #Fediverse and #Infosec / #Cybersecurity goodness inside. Check it out! shellsharks.com/scrolls/scroll/2025… The usual shoutout to everyone who's content and things-shared made it into this week's […]
malici.ous.computer
Original post on malici.ous.computer
103
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 25/06/2025
Hello! It's a Scrolls back-to-back day! Volume eighteen has just been published (as I promised yesterday). It features the best of my #IndieWeb, #Fediverse and #Cybersecurity / #infosec discoveries from LAST week 😁. Consider this the final "catch-up" issue, with a regularly scheduled issue set […]
malici.ous.computer
Original post on malici.ous.computer
002
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 24/06/2025
Hey everyone, Scrolls is back! Volume seventeen has just dropped. Where have I been? Why is it coming out in the middle of the week? Well go on and read and I try to explain 😄. shellsharks.com/scrolls/scroll/2025… As usual, it features some cool stuff from across the #IndieWeb […]
malici.ous.computer
Original post on malici.ous.computer
103
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 20/06/2025
But you see. YOU SEE??? The fine folks at "keep aware" Had the good sense to not call this "ChaLishing" or something similarly inane. They just gave it a lil name + phishing. THANK YOU!! 🙏 My guess is they read this from me: shellsharks.com/no-more-ishings […]
shellsharks.social
Original post on shellsharks.social
000
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 18/06/2025
I find it pretty gross that there's a li'l dropdown on the ISC^2 home page where they ask you to "Select Your Currency". This is the regular, pre-auth, top-level home page. Like... no account and they still just wanna know what type of money they can get […] [Original post on shellsharks.social]
000
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 16/05/2025
Yo! Y'all might as well call me Tomatosharks for now on cuz CHECK THIS OUT shellsharks.com/gardenlog#planted. Yeah that's right. Tomatoesssss! I'ma dedicate my first BLT in a few weeks to Fedi got it? Oh and they say Fedi's got not algo, but I swear the second I started posting about my […]
shellsharks.social
Original post on shellsharks.social
000
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 09/05/2025
Happy Friday everyone! Volume FIFTEEN of Scrolls has been published. Let me know what ya think! shellsharks.com/scrolls/scroll/2025… #indieweb #fediverse #infosec #cybersecurity Thanks to everyone mentioned below for their contributions to this week's edition. It's fun to see […]
malici.ous.computer
Original post on malici.ous.computer
000
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 05/05/2025
Fedi has been around for ~13 years and Mastodon has been around for about 9 of those. For anyone wondering how Fedi "wins", I think you need to ask instead, "what does it mean to win"? We've gotten this far w/o VC funding and continue to grow (even if it isn't at breakneck speeds). We win by […]
shellsharks.social
Original post on shellsharks.social
102
Reposted by shellsharks
Paco Hope @paco.infosec.exchange.ap.brid.gy · 02/05/2025
I have seen a lot of efforts to use an #LLM to create a #ThreatModel. I have some insights. Attempts at #AI #ThreatModeling tend to do 3 things wrong: 1. They assume that the user's input is both complete and correct. The LLM (in the implementations I've seen) never questions "are you sure?" […]
infosec.exchange
Original post on infosec.exchange
001
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 02/05/2025
Scrolls is back on schedule, with volume 14 having been published this morning! Check it out for all the usual awesome #IndieWeb, #Fediverse and #Infosec / #Cybersecurity goodies. shellsharks.com/scrolls/scroll/2025… As is my tradition, I'd like to thank everyone I've tagged below […]
malici.ous.computer
Original post on malici.ous.computer
101
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 28/04/2025
Late is better than never right? Here's the latest edition of Scrolls! (With the usual #indieweb, #fediverse and #infosec / #cybersecurity weekly-happenin's) shellsharks.com/scrolls/scroll/2025… Thanks to everyone below for their contributions to this weeks edition of Scrolls […]
malici.ous.computer
Original post on malici.ous.computer
013
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 18/04/2025
Volume twelve of Scrolls is live - it's a magical one! 🧙‍♂️ shellsharks.com/scrolls/scroll/2025… Everyone below contributed in some way either through content they created, or stuff they found and boosted 😃. Thank you thank you! 🙏 @disassociated @shankulkarny @hyde @askDNA […]
malici.ous.computer
Original post on malici.ous.computer
104
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 15/04/2025
I like this from @bradenslen - indieseek.xyz/2025/04/15/blogger-ho… This is one of the reasons I loathe Medium and Substack---they're all WAY too pushy with getting me to sign up, subscribe, pay---before I even have a chance to read a single thing from […]
shellsharks.social
Original post on shellsharks.social
000
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 11/04/2025
Scrolls volume eleven has been published! Get scrollin' for the usual #indieweb, #fediverse and #infosec / #cybersecurity goodness! shellsharks.com/scrolls/scroll/2025… Thanks as usual to everyone who helped me make this week's edition as fun and interesting as the rest of them […]
malici.ous.computer
Original post on malici.ous.computer
001
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 08/04/2025
Assortment of Nicole musings... - She just messaged me (again) from a new fun instance: @booth18@mstdn.☚😺ヨシ.st - A year from now she *better* say she's a "proud Polish girl from Toronto (**30** y/o)" - Girl, I'm in wayyyyy too many Discord servers as it is. - Why she tryin' to get me to add her […]
shellsharks.social
Original post on shellsharks.social
000
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 04/04/2025
The 10th edition of Scrolls is now live! shellsharks.com/scrolls/scroll/2025… Thanks as usual to everyone who continues to awesome it up each week across the #IndieWeb, #Fediverse and #Cybersecurity / #Infosec communities. WIthout you all, my feeds would be dark and this […]
malici.ous.computer
Original post on malici.ous.computer
103
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 28/03/2025
Happy #followfriday! Here's some cool #infosec / #cybersecurity accounts I've discovered this past week... - @hyperplane - @carrickdb - @0x40k - @malte - @ovelny As a bonus! Feel free to follow my other account @shellsharks@malici.ous.computer , where I tend to share the weekly notice about my […]
shellsharks.social
Original post on shellsharks.social
000
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 21/03/2025
Volume EIGHT of Scrolls is out, with all the usual #indieweb #fediverse and #infosec goodness. shellsharks.com/scrolls/scroll/2025… If you haven't already, you can subscribe to Scrolls via #RSS here --> shellsharks.com/feeds/scroll-feed.x… Thanks to all the fine folks […]
malici.ous.computer
Original post on malici.ous.computer
004
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 15/03/2025
Just gave myself a crash course in render-blocking css/js resources. Cloudflare having weird issues causing issues for unpkg which is where my (phosphor) icons are hosted. So my site would refuse to load if it couldn't load that dependency. Toss the 'defer' directive on the respective script […]
shellsharks.social
Original post on shellsharks.social
000
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 14/03/2025
Volume SEVEN of my #IndieWeb, #Fediverse and #Cybersecurity / #Infosec newsletter, "Scrolls" has landed! You can read and get scrollin' here shellsharks.com/scrolls/scroll/2025…. It features the usual awesomeness and also has a vastly improved logo, created by my good friend and […]
malici.ous.computer
Original post on malici.ous.computer
004
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 07/03/2025
Got a li'l art commission request. I'm interested in some banner art for my "Scrolls" newsletter (shellsharks.com/scrolls). Thus far, I've been using the Phosphor scroll icon as a stand-in but would love to have something a little more personalized. As fan of #pixelart I would love to […]
shellsharks.social
Original post on shellsharks.social
023
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 07/03/2025
I'm procrastinating right now. So, I wrote a post about procrastinating. shellsharks.com/i-am-procrastinating Now, I'm procrasti-tooting about my procrasti-blogging. Wanna procrastinate with me by reading the post? You can tell me what you thought about it so I can procrasti-read and […]
shellsharks.social
Original post on shellsharks.social
001
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 07/03/2025
Here's some great #infosec / #cybersecurity folks you should check out this #followfriday - @troed - @phillipprado - @kaoudis - @pinkflawd - @dan1t0 - @neiman - @sushidude - @fyr Have a great weekend!
101
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 06/03/2025
I've just published the "guiding principles" of my website. shellsharks.com/why - This post was inspired by James' Coffee Blog (jamesg.blog/2025/03/05/philosophy-o…) and Tracy Durnell (tracydurnell.com/2025/01/21/guiding…) - […]
shellsharks.social
Original post on shellsharks.social
011
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 06/03/2025
This one was kinda fun to think and write about. I've attempted to catalog the numerous quirks and peculiar writing mannerisms I have. shellsharks.com/writing-mannerisms Let me know what you think! If you've ever read anything on my site, has any of these things stood out in […]
shellsharks.social
Original post on shellsharks.social
001
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 05/03/2025
Blog Questions Challenge: Movies beep.town/@blog_challenge/114099263… #blogquestionschallenge #movies @blog_challenge @jcrabapple #indieweb
beep.town
Blog Questions Challenge Bot (@blog_challenge@beep.town)
Movies: What's a movie you can practically quote from start to finish? If you could live in any movie universe, which would you choose? What's the most ridiculous movie plot you've ever seen? What movie snack is an absolute must-have for you? #BlogQuestionsChallenge #Movies
000
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 03/03/2025
I've seen a surge of #IndieWeb manifestos and "love letters" to a variety of personal website-related things of late. These are awesome and I've done my best to collect them all and share them in my Scrolls newsletter. Those also inspired me to pen my own love letter of sorts - dedicated to […]
shellsharks.social
Original post on shellsharks.social
000
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 28/02/2025
It's out! Not as early as I had wanted (thanks cross-country travel), but _volume five_ of the "Scrolls" newsletter should now be available. shellsharks.com/scrolls/scroll/2025… #indieweb #cybersecurity #infosec #fediverse The usual shoutouts to everyone who contributed to this […]
malici.ous.computer
Original post on malici.ous.computer
103
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 23/02/2025
I spent last night writing about the things on my site that I am the most proud of shellsharks.com/devlog/build-then-s… The #IndieWeb allows us to express ourselves in many ways, through our writing, through our site aesthetics, etc... over the last 5 years+ I've built a place on […]
shellsharks.social
Original post on shellsharks.social
000
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 21/02/2025
Here's a question for fellow website-havers / #IndieWeb folks. What's something you would like to do with your site that you haven't done, not because you haven't had the time, but because you're just not sure how to do it? I've always wanted to add a mini changelog section to each of my posts […]
shellsharks.social
Original post on shellsharks.social
001
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 21/02/2025
The fourth edition of the "Scrolls" newsletter is live! shellsharks.com/scrolls/scroll/2025… Enjoy all the usual weekly #IndieWeb, #Fediverse & #Cybersecurity goodness! Also a reminder that you can subscribe directly to the newsletter via #RSS using this link […]
malici.ous.computer
Original post on malici.ous.computer
102
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 20/02/2025
Alright y'all, I'm very proud of this one. Call me Poseidon or Aquaman or somethin', because I now possess the power, to add sharks to my horizontal rules. Behold! shellsharks.com/devlog/shark-fin-hr
shellsharks.com
Shark Fin <hr>
<p>You may have noticed that I have a <em>bit</em> of a shark theme goin’ on across the site. It’s not <em>overwhelmingly</em> shark-<i>ey</i>, but there’s certainly a shark or two sprinkled abpout - and I think that’s just <strong>fun</strong>. To this end, I had another fun li’l idea. What if I could change the usual boring ‘ol <code class="language-plaintext highlighter-rouge">&lt;hr&gt;</code> tag (<a href="https://www.w3schools.com/tags/tag_hr.asp">horizontal rule</a>) and have a shark dorsal fin coming out of it? <em>Sounds cool right?</em> Right.</p><p>I had this <a href="https://shellsharks.com/ideas">idea</a> months or even years ago, I filed it away for another day, thinking it too hard for me to accomplish myself. It would have to be something that I’d need to learn a lot of arcane HTML/CSS to do or maybe I’d just need to hire someone to make it for me. Yesterday, for whatever reason, I decided to try and take it on. I’m going to walk through a bit of my <a href="https://shellsharks.com/devlog/shark-fin-hr#trial-and-error">trial and error</a>, and then get into how I finally <a href="https://shellsharks.com/devlog/shark-fin-hr#shark-fin-hr">pulled it off</a>.</p><h2 id="trial-and-error">Trial and Error</h2><p><em>Let me tell you</em>, getting this to work probably took me 4-5 hours of just sittin’ in my chair, hammering away. Though I can safely say I <em><a href="https://shellsharks.com/devlog/shark-fin-hr#future-improvements">mostly</a></em> figured out everything to get it to work, I also can say I figured out lots of ways it <em>doesn’t</em> work.</p><p>The way I thought this would work originally, and thus the way I approached it at first, was to use HTML’s <a href="https://www.w3schools.com/html/html5_canvas.asp">Canvas Graphics</a> to draw a shark fin <em>and</em> a line, and just use that instead of the normal <code class="language-plaintext highlighter-rouge">&lt;hr&gt;</code> tags. Of course I know nothing about drawing with <code class="language-plaintext highlighter-rouge">&lt;canvas&gt;</code>, and I absolutely wasn’t going to try and learn it well enough to do it myself, so naturally I googled for an answer. It wasn’t long into this search that I realized maybe drawing with straight CSS would be a better option. So, I searched for that instead. Google came up pretty dry once again, but there was one <em>potential</em> <a href="https://alvaromontoro.com/blog/68021/drawing-a-shark-with-css">splash of luck</a>.<sup id="fnref:1"><a class="footnote" href="https://shellsharks.com/devlog/shark-fin-hr#fn:1" rel="footnote" role="doc-noteref">1</a></sup> Alvaro had managed to draw a (<em>adorably cute</em>) shark entirely with HTML and CSS. <em>Cool!</em> But could I use it somehow? I <em>cmd+C &amp; cmd+V’ed</em> the code and tried ripping out stuff to get to just the fin. I figured if I could isolate the fin, I could tweak it a bit to be what I wanted. I was <em>wrong</em>. I gave up on that after like 10 min.</p><p><em>So now what?</em> I got a bit desperate, from there I tried…</p><ul><li>Searching for web tools that would convert drawings to CSS code</li><li>Searching for vector libraries</li><li>I even used ChatGPT to try and make it (here’s what it came up with - <em>sorry</em> I can’t get the <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox">viewBox</a> to behave)</li></ul><svg fill="none" height="100" viewbox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 150 C100 20, 180 80, 160 160 L50 160 Z" fill="#CA3342"></path> </svg><p>Fresh off of humiliating myself by thinking AI could be useful, I came across some <em>actually</em> useful info. Basically, I learned that I could customize <code class="language-plaintext highlighter-rouge">&lt;hr&gt;</code> tags with a character, <em>or image</em> using the <code class="language-plaintext highlighter-rouge">::after</code> <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::after">pseudo-element</a>.<sup id="fnref:2"><a class="footnote" href="https://shellsharks.com/devlog/shark-fin-hr#fn:2" rel="footnote" role="doc-noteref">2</a></sup> <em>Neat!</em>. This seemed like a more elegant solution. I could still use <code class="language-plaintext highlighter-rouge">&lt;hr&gt;</code> tags, just with a class specifier rather than importing some janky inline-svg + html + css abomination each time I wanted the effect. So, like any seasoned developer, I borrowed the code from the <a href="https://stackoverflow.com/questions/14202089/custom-hr-with-image-character-in-the-center">stack overflow</a> page and started tweaking from there. But then I ran into my next issue, I needed an image to import! And not just any image, I needed something I could move along the <code class="language-plaintext highlighter-rouge">&lt;hr&gt;</code> continuum, something I could size up and down, and something I could change the color of. First place I went to was <em><a href="https://en.wikipedia.org/wiki/SVG">.svg</a></em>.</p><p>I spent some time googling around for shark fin <em>.svgs</em> and came across a number of things that would work for me.</p><p><img src="https://shellsharks.com/assets/img/sharkfin.svg"/> <img src="https://shellsharks.com/assets/img/shark-fin-silhouette.svg"/> <img src="https://shellsharks.com/assets/img/shark-fin-notch.svg"/></p><p>The xml syntax within an SVG file is kinda strange, and it took me a while to grok, but eventually I figured out how to change the fill color, resize it to my liking and generate a mirror image so that the shark fin can point both left and right.</p><p><img src="https://shellsharks.com/assets/img/sharkfin-reverse.svg"/> <img src="https://shellsharks.com/assets/img/shark-fin-silhouette-reverse.svg"/> <img src="https://shellsharks.com/assets/img/shark-fin-notch-reverse.svg"/></p><p>So, let me give you the <a href="https://shellsharks.com/devlog/shark-fin-hr#shark-fin-hr">final result</a>…</p><h2 id="shark-fin-hr">Shark Fin &lt;hr&gt;</h2><p>Here’s how I finally put together my current v1.0 <b>Shark Fin &lt;hr&gt;</b></p><p>Within the SVG, you can resize by changing the ‘width’ property in the <code class="language-plaintext highlighter-rouge">&lt;svg&gt;</code> tag. You can change the fill color with the ‘fill’ property in the <code class="language-plaintext highlighter-rouge">&lt;path&gt;</code> tag. Finally, for mirroring the image across the Y-axis, you can add <code class="language-plaintext highlighter-rouge">transform="scale (-1, 1)" transform-origin="center"</code> to the <code class="language-plaintext highlighter-rouge">&lt;path&gt;</code> tag as well (as shown below). I also had to toy around with the <code class="language-plaintext highlighter-rouge">viewBox</code> to take out unneccessary white-space/padding.</p><div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;svg ... width="35px" viewBox="0 0 1000 1000" ...&gt; &lt;path fill="#CA3342" transform="scale (-1, 1)" transform-origin="center" ... /&gt; &lt;/svg&gt; </code></pre></div></div><p>My CSS for the ‘fin’ class…</p><div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>:root { --hrfin-position: 40%; --hrfin-content: url( '/assets/img/shark-fin-notch.svg' ); } hr.fin { margin-top: 40px; /* compensating for height of the fin */ margin-bottom: 40px; /* making the bottom margin the same as the top */ border-top: 1px solid var(--accent-color); /% the color that I want the hr tag to be */ border-bottom: 1px solid var(--accent-color); } hr.fin:after { content: var(--hrfin-content); /* Loading the SVG url from :root */ left: var(--hrfin-position); /* Setting the position of the fin along the rule */ position: relative; bottom:29px; /* Moves the fin closer to the line - it's 6px less than the svg width */ } </code></pre></div></div><p>So why am I setting the ‘left’ position and loading the svg from <code class="language-plaintext highlighter-rouge">:root</code> instead of directly? Well that’s because I wanted to randomize the fin’s position along the rule on page load. So I have some JavaScript that does this.</p><div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>const root = document.querySelector(":root"); //grabbing the root element var rand = Math.floor(Math.random() * 90) + 1; const fins = ["url( '/assets/img/shark-fin-notch.svg' )","url( '/assets/img/shark-fin-notch-reverse.svg' )"] var fins_rand = Math.round(Math.random()); console.log(fins[fins_rand]); root.style.setProperty("--hrfin-position", rand + "%"); root.style.setProperty("--hrfin-content", fins[fins_rand]); </code></pre></div></div><p>So what do I get in the end? <strong>This!</strong></p><hr class="fin"/><p>Try reloading the page a few times and see it change positions and directionality. <em>Niiiiice!</em></p><p>What’s cool too is that even if I shorten the width of the rule, the shark will stay along it.</p><hr class="fin" width="50%"/><h3 id="future-improvements">Future Improvements</h3><p>But things aren’t <em>exactly</em> how I’d like to see them. There are some improvements to be made in future iterations. A wish list of things I’d like to see it do in the future…</p><ol><li>Given the way I am loading the SVG, I can’t dynamically change the color of the fin, it is statically set in the SVG itself. I’m fine with the compromise for now but would like to address this later.</li><li>The fin position (X-axis), set by the CSS ‘left’ directive is the same for all fin-class <em>hrs</em> on the page. Notice how all of them on this page are at the same point on the line. It’d be cool to randomize the position for each instance of the rule on a single page.</li><li>I’m pretty happy with the shark fin SVG I’ve landed on (Thanks <a href="https://www.creativefabrica.com/product/shark-fin-silhouette-svg-shark-fin-svg/">Creative Fabrica</a>!), but could see myself getting something a bit more customized in the future.</li><li>If I wanted to get crazy, maybe I’d have the fins animate in some way, like an actual shark swimmin’ around the rules.</li><li>Another compromise was having to use JavaScript to randomize the svg file and position. Modern/supported versions of CSS don’t have any way to produce a <em>random</em> value. There are some <a href="https://css-tricks.com/random-numbers-css/">hacky ways</a> to achieve this, but I couldn’t figure them out. It’d be cool to have this not be .js-dependent in the future.</li></ol><div class="footnotes" role="doc-endnotes"><ol><li id="fn:1"><p><a href="https://alvaromontoro.com/blog/68021/drawing-a-shark-with-css">Drawing kawaii sharks and sea life with HTML and CSS</a> <a class="reversefootnote" href="https://shellsharks.com/devlog/shark-fin-hr#fnref:1" role="doc-backlink">↩</a></p></li><li id="fn:2"><p><a href="https://stackoverflow.com/questions/14202089/custom-hr-with-image-character-in-the-center">Custom &lt;hr&gt; with image/character in the center | Stack Overflow</a> <a class="reversefootnote" href="https://shellsharks.com/devlog/shark-fin-hr#fnref:2" role="doc-backlink">↩</a></p></li></ol></div>
001
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 19/02/2025
In the past, I've been a bit self-concious about how/what I posted on my site. I believe there's some part of my readership that comes to my site specifically for #infosec-related stuff. So anything NON-infosec that I post is something that they may see on my site, or in their RSS reader and […]
malici.ous.computer
Original post on malici.ous.computer
101
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 19/02/2025
Is there a #blogging challenge / #writing prompt bot / feed / account out there on Fedi somewhere? The entire #indieweb community could respond to the challenges and it could be fun. The couple of viral blogging challenges that have gone around lately have been fun.
000
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 14/02/2025
The third edition of the "Scrolls" newsletter is live! shellsharks.com/scrolls/scroll/2025… For those new to Scrolls, it's a _free_ weekly newsletter all about the #IndieWeb and the #Fediverse (with some #infosec / #cybersecurity stuff thrown in there for fun). You can subscribe […]
malici.ous.computer
Original post on malici.ous.computer
006
shellsharks @shellsharks.shellsharks.social.ap.brid.gy · 13/02/2025
What's new? My home page that's who! And naturally, I've decided to write about it shellsharks.com/whats-a-home-page. There I ask, "What's a home page?" and talk a bit about what I've done with my own site's home page and why. Fellow #indieweb folks and website owners, what do you want […]
shellsharks.social
Original post on shellsharks.social
001
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 12/02/2025
I've been playing with a new home page design for my site. See it here shellsharks.com/home. My classic/current home page can still be found here of course shellsharks.com. I'm still tinkering around with it but wanted to see what (if any) thoughts people had. There's definitely […]
malici.ous.computer
Original post on malici.ous.computer
101
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 10/02/2025
I've done a bit of a 180 on #Tapestry (and Unified Timeline apps in general). Just a few days ago I said they "weren't for me", and for all the reasons I said in that article I still agree. But I hadn't considered using it for aggregating and scrolling-through all the other things I _sometimes_ […]
malici.ous.computer
Original post on malici.ous.computer
001
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 07/02/2025
It's friday! #followfriday! Here's some cool #infosec / #cybersecurity accounts to check out... * @joern * @Gi7w0rm * @ntdll * @genkin * @daemon_nova (new instance!) For the lulz you might also want to follow @domi 😆 If you're jumped on the #Pixelfed train and want to follow me […]
malici.ous.computer
Original post on malici.ous.computer
002
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 07/02/2025
Surprise! I'm changing things up a bit. I had originally planned to publish my #Indieweb / #Fediverse / #cybersecurity newsletter, "Scrolls", on Sundays but have decided that Friday works better for me _actually_ getting it out on time. So, since it's Friday, here ya go! […]
malici.ous.computer
Original post on malici.ous.computer
206
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 07/02/2025
Very interesting... In April of 2024 I debuted my "Activity" feed shellsharks.com/activity, which serves as a cool unified timeline of all the different things goin' on on my site (e.g. changes, posts, notes, podcasts, social media stuff, etc...) I tooted excitedly about it then […]
malici.ous.computer
Original post on malici.ous.computer
001
Reposted by shellsharks
shellsharks @shellsharks.malici.ous.computer.ap.brid.gy · 06/02/2025
This one's for my #indieweb power-nerds and fellow #slashpage enthusiasts. Today I debut my "/Story" - the story of my website, told through my /slash pages. (Incredibly meta right?!). As one would hope, it can be reached at /story on my site (though it redirects to a section on my /slashes […]
malici.ous.computer
Original post on malici.ous.computer
001