Help
RSS
API
Feed
Maltego
Contact
Domain > suriya.cc
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2022-05-03
65.8.164.8
(
ClassC
)
2022-06-03
99.84.238.207
(
ClassC
)
2025-12-06
172.67.179.45
(
ClassC
)
Port 443
HTTP/1.1 200 OKDate: Sat, 06 Dec 2025 01:06:50 GMTContent-Type: text/html; charsetutf-8Transfer-Encoding: chunkedConnection: keep-aliveNel: {report_to:cf-nel,success_fraction:0.0,max_age:604800}Server: cloudflareLast-Modified: Tue, 18 Nov 2025 15:28:36 GMTAccess-Control-Allow-Origin: *expires: Sat, 06 Dec 2025 01:16:50 GMTCache-Control: max-age600Report-To: {group:cf-nel,max_age:604800,endpoints:{url:https://a.nel.cloudflare.com/report/v4?sxte6r1Be34OfitRpc6kz957nVCdaTxmQMwNrol9A8uUhhrLj9FrEU%2FkbUwCe7jacDXY3fgTsdWo9HM%2Bo56TXBO9GV%2FAaAZr%2B3g%3D%3D}}x-proxy-cache: MISSX-GitHub-Request-Id: 6FB0:1A67C6:22E0F8:23C97F:693381AASpeculation-Rules: /cdn-cgi/speculationAge: 0Via: 1.1 varnishX-Served-By: cache-bfi-krnt7300057-BFIX-Cache: MISSX-Cache-Hits: 0X-Timer: S1764983211.808185,VS0,VE82Vary: Accept-EncodingX-Fastly-Request-ID: 8b0b6ef8e33b05c3543714b7c7e086eade406e54cf-cache-status: DYNAMICCF-RAY: 9a97e20b7a5e58d9-PDXalt-svc: h3:443; ma86400 !doctype html>html langen-us>head>meta namegenerator contentHugo 0.147.5>meta charsetutf-8>meta nameviewport contentwidthdevice-width,initial-scale1>title>Suriya/title>meta propertyog:description contentand his ramblings in the void>meta nameauthor contentSuriya Ganesh>meta propertyog:title contentSuriya Ganesh>meta propertyog:type contentwebsite>meta propertyog:url contenthttps://www.suriya.cc>meta propertyog:image content/assets/images/s.png>link relstylesheet hrefhttps://suriya.cc/style.3c796c7132585cd47cfbb6ee7be30b86f70197cd06a36e2bcb5f6d4f6d3a21c6.css integritysha256-PHlscTJYXNR8+7bue+MLhvcBl80Go24ry19tT206IcY crossoriginanonymous>link relicon typeimage/x-icon href/assets/images/s.png>link relalternate typeapplication/rss+xml hrefhttps://suriya.cc/index.xml titleSuriyas site>script async srchttps://www.googletagmanager.com/gtag/js?idG-MTGWDYTZYR>/script>script>window.dataLayerwindow.dataLayer||;function gtag(){dataLayer.push(arguments)}gtag(js,new Date),gtag(config,G-MTGWDYTZYR)/script>/head>script>if(localStorage.getItem(darkMode)enabled){document.documentElement.classList.add(dark-mode),document.documentElement.style.backgroundColor#121212,document.documentElement.style.color#e0e0e0;const edocument.createElement(style);e.textContent` #sidebar, .sidebar, div#sidebar, div.sidebar { background-color: #121212 !important; color: #e0e0e0 !important; transition: none !important; } #sidebar *, .sidebar * { background-color: #121212 !important; color: #e0e0e0 !important; } `,document.head.appendChild(e)}/script>style>.theme-toggle{position:fixed;top:15px;right:15px;z-index:9999;background:0 0;border:none;cursor:pointer;padding:5px;border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:.7;transition:all .3s ease}#lightIcon{display:none}#darkIcon{display:block}html.dark-mode #lightIcon{display:block}html.dark-mode #darkIcon{display:none}html.dark-mode,html.dark-mode body{background-color:#121212 !important;color:#e0e0e0 !important}html.dark-mode .sidebar,html.dark-mode #sidebar{background-color:#121212 !important;color:#e0e0e0 !important}html.dark-mode .content-area,html.dark-mode nav,html.dark-mode .navbar,html.dark-mode header{background-color:#121212 !important;color:#e0e0e0 !important}html.dark-mode .sidebar,html.dark-mode #sidebar,.dark-mode .sidebar,.dark-mode #sidebar{background-color:#121212 !important;color:#e0e0e0 !important;transition:none !important}#sidebarstyle*display:none,#sidebar:not(.open),.sidebarstyle*display:none,.sidebar:not(.open){background-color:inherit}html.dark-mode #sidebarstyle*display:none,html.dark-mode #sidebar:not(.open),html.dark-mode .sidebarstyle*display:none,html.dark-mode .sidebar:not(.open){background-color:#121212 !important}/style>nav classnavbar>a hrefjavascript:history.back()></a>a href/>Home/a>a href/tech>Tech/a>a href/now>Now/a>a hrefjavascript:history.forward()>>/a>/nav>div idprogress-bar>/div>body classsuriya-blog onloadapplyInitialDarkMode()>div classmenu-toggle-container>button classmenu-toggle idmenu-toggle onclicktoggleSidebar() aria-labelToggle menu>svg width24 height24 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround>line x13 y112 x221 y212/>line x13 y16 x221 y26/>line x13 y118 x221 y218/>/svg>/button>/div>button onclicktoggleDarkMode() iddarkModeBtn titleToggle dark mode classtheme-toggle aria-labelToggle dark mode>svg idlightIcon classtheme-icon width20 height20 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround>circle cx12 cy12 r5/>line x112 y11 x212 y23/>line x112 y121 x212 y223/>line x14.22 y14.22 x25.64 y25.64/>line x118.36 y118.36 x219.78 y219.78/>line x11 y112 x23 y212/>line x121 y112 x223 y212/>line x14.22 y119.78 x25.64 y218.36/>line x118.36 y15.64 x219.78 y24.22/>/svg>svg iddarkIcon classtheme-icon width20 height20 viewBox0 0 24 24 fillnone strokecurrentColor stroke-width2 stroke-linecapround stroke-linejoinround>path dM21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z/>/svg>/button>div classsidebar idsidebar>aside classsidebar-content>nav>ul classsidebar-nav>li classsidebar-nav-item>a href# classsidebar-nav-link data-href/travel/>Travelling/a>ul classsidebar-nav-submenu>li>a href/travel/madurai/>Madurai/a>/li>li>a href/travel/pittsburgh/>Pittsburgh/a>/li>li>a href/travel/atlanta/>Atlanta/a>/li>li>a href/travel/bangalore/>Bangalore aka Bengaluru/a>/li>/ul>/li>li classsidebar-nav-item>a href# classsidebar-nav-link data-href/poems/>Poems/a>ul classsidebar-nav-submenu>li>a href/poems/dont-gentle/>Do Not Go Gentle into That Good Night/a>/li>li>a href/poems/if/>If/a>/li>li>a href/poems/still-i-rise/>Still I Rise/a>/li>li>a href/poems/puthiya/>புதிய ஆத்திசூடி/a>/li>li>a href/poems/indrilai/>பூத்தது மானுடம்/a>/li>li>a href/poems/thedi/>வரங் கேட்டல் - பாரதி/a>/li>/ul>/li>li classsidebar-nav-item>a href# classsidebar-nav-link data-href/general/>General/a>ul classsidebar-nav-submenu>li>a href/general/cold_email/>Successful Cold Emailing/a>/li>li>a href/general/gpt-code/>Software Engineering agents work. But only if you do/a>/li>li>a href/general/never-complete/>Sweating the details/a>/li>li>a href/general/ai-media-editor/>AI media Editor/a>/li>li>a href/general/awesome-newsletters/>Newsletters and blogs that are interesting/a>/li>li>a href/general/awesome-incubators/>Awesome incubators/collectives for startups/a>/li>li>a href/general/product-ideas/>Product Ideas/a>/li>/ul>/li>li classsidebar-nav-item>a href# classsidebar-nav-link data-href/essays/>Essays/a>ul classsidebar-nav-submenu>li>a href/essays/gowsik/>Life has no answers, but inifinite questions/a>/li>li>a href/essays/07_shiptalk/>Shiptalk/a>/li>li>a href/essays/product/>Product Building and fundamentals/a>/li>li>a href/essays/why-i-build/>Why I Build./a>/li>li>a href/essays/effective_writing/>Writing/a>/li>li>a href/essays/organizational/>Organizational Wisdom/a>/li>li>a href/essays/leaky_abstractions/>Leaky Abstractions, or How we Understand the world/a>/li>li>a href/essays/inertia/>inertia/a>/li>li>a href/essays/speaksharp/>Postmortem from building an AI speech coach/a>/li>li>a href/essays/solution_v_feelings/>Solutions vs Feelings/a>/li>li>a href/essays/hack/>Tell us about the time you most successfully hacked some (non-computer) system to your advantage/a>/li>li>a href/essays/coffee/>Coffee/a>/li>li>a href/essays/01_exceptional/>Why Accelerate?/a>/li>li>a href/essays/03_right_around_the_corner/>Right around the corner, A story of million possibilities/a>/li>li>a href/essays/04_startup_work/>working at a startup/a>/li>li>a href/essays/06_the_future_and_the_story/>The future and The story/a>/li>li>a href/essays/05_surplus_capacity/>Surplus intellectual capacity/a>/li>li>a href/essays/arm/>ARM/a>/li>li>a href/essays/02_missing_innovation/>The Missing innovation/a>/li>/ul>/li>li classsidebar-nav-item>a href# classsidebar-nav-link data-href/books/>Books/a>ul classsidebar-nav-submenu>li>a href/books/how_big_things_get_done/>How Big Things get done/a>/li>li>a href/books/machines_of_loving_grace/>Machines of Loving Grace/a>/li>li>a href/books/why_I_taught_my_kid/>How and Why I Taught My Toddler to Read/a>/li>li>a href/books/poor_charlie/>Poor Charlies almanack (2005)/a>/li>li>a href/books/metamorphosis/>the metamorphosis - Franz Kafka/a>/li>li>a href/books/HeLa/>The Immortal Life of Henrietta Lacks/a>/li>li>a href/books/source_code/>Source Code/a>/li>li>a href/books/almond/>Almond/a>/li>li>a href/books/the_practice/>The Practice/a>/li>li>a href/books/dune/>Dune/a>/li>li>a href/books/dune_messiah/>Dune - The Messiah/a>/li>li>a href/books/allegory_of_the_cave/>Allegory of the cave/a>/li>li>a href/books/data_privacy/>Data privacy/a>/li>li>a href/books/little_prince/>The little prince - Antoine de Saint-Exupéry/a>/li>li>a href/books/long_story_short/>To cut a long story short - Jeffrey Archer/a>/li>li>a href/books/applied_crypto/>A Graduate Course in Applied Cryptography/a>/li>li>a href/books/pim/>Programmers introduction to mathematics/a>/li>li>a href/books/my_inventions/>My inventions - Nikola Tesla/a>/li>li>a href/books/straight_a/>Straight A/a>/li>li>a href/books/badminton/>Badminton Handbook/a>/li>li>a href/books/air/>When Breath becomes Air/a>/li>li>a href/books/trust_me/>Trust me Im lying/a>/li>li>a href/books/build/>Build - Tony Fadell/a>/li>li>a href/books/wonderful/>Make Something Wonderful - Steve Jobs/a>/li>li>a href/books/psych_money/>The Psychology of Money/a>/li>li>a href/books/wizard/>Where wizards stay up late/a>/li>li>a href/books/scattered_minds/>/a>/li>/ul>/li>li classsidebar-nav-item>a href# classsidebar-nav-link data-href/til/>journal/a>ul classsidebar-nav-submenu>li>a href/til/08-02-2025/>Karpathy micrograd/a>/li>/ul>/li>li classsidebar-nav-item>a href# classsidebar-nav-link data-href/tech/>Technology/a>ul classsidebar-nav-submenu>li>a href/tech/algos/>Algorithms/a>/li>li>a href/tech/websites/>websites that are interesting/a>/li>li>a href/tech/ML/>Machine Learning/a>/li>li>a href/tech/privacy/>Privacy/a>/li>li>a href/tech/bugs/>A Bugs life/a>/li>li>a href/tech/cloud/>Cloud/a>/li>li>a href/tech/practice/>Practice/a>/li>li>a href/tech/tinkering/>Tinkering/a>/li>/ul>/li>/ul>/nav>/aside>/div>div classcontent-area>div classsuriya-blog-content>div idwrite>header>div classpage-header-icon undefined>span classicon>🧑🏻💻/span>/div>h1 classpage-title>Suriya/h1>h2>and his ramblings in the void/h2>/header>div classblender idblender>/div>p>Hi! 👋/p>p>I’m Suriya (pronounced Soo-ree-ya)/p>p>I’m an Engineer, who loves to write. Suffice to say, I write here when I’m trying to think through something or when I’ve solved something./p>p>I’m currently working/p>p>I enjoy meeting new people. So definitely send a shout-out to me at, hi at suriya.cc. 🙂/p>p>📚 a href/books>books that I’ve read/reading/a>/p>p>🚪 a hrefprivacy>Privacy Things/a>/p>p>🧑🏻🏫 a href/readlog>Readlog/a>/p>p>🛍 a href/todo>ToDo/a>/p>p>📜 a href/essays>essays/a>/p>p>You can find the a href/toc>table of contents here/a>/p>h2>Recent Posts/h2>h5>a hrefhttps://suriya.cc/books/how_big_things_get_done/>How Big Things get done, Nov 16 2025/a>/h5>p>Bent Flyvbjerg and Dan Gardner...a hrefhttps://suriya.cc/books/how_big_things_get_done/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>h5>a hrefhttps://suriya.cc/tech/algos/cuda/06_1d_convolution/>1D convolution, Nov 12 2025/a>/h5>p>convolving an 1D matrix...a hrefhttps://suriya.cc/tech/algos/cuda/06_1d_convolution/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>h5>a hrefhttps://suriya.cc/tech/algos/>Algorithms, Nov 12 2025/a>/h5>p>Cool Algorithms I find around the web...a hrefhttps://suriya.cc/tech/algos/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>h5>a hrefhttps://suriya.cc/tech/algos/cuda/04_color_inversion/>Color inversion, Nov 12 2025/a>/h5>p>Inverting color in an image....a hrefhttps://suriya.cc/tech/algos/cuda/04_color_inversion/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>h5>a hrefhttps://suriya.cc/tech/algos/cuda/14_count_2d_array/>Count 2d Array Element, Nov 12 2025/a>/h5>p>count...a hrefhttps://suriya.cc/tech/algos/cuda/14_count_2d_array/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>h5>a hrefhttps://suriya.cc/tech/algos/cuda/13_count_array/>Count Array Element, Nov 12 2025/a>/h5>p>count...a hrefhttps://suriya.cc/tech/algos/cuda/13_count_array/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>h5>a hrefhttps://suriya.cc/tech/algos/cuda/09_leaky_relu/>Leaky ReLu, Nov 12 2025/a>/h5>p>Applying ReLu to an array...a hrefhttps://suriya.cc/tech/algos/cuda/09_leaky_relu/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>h5>a hrefhttps://suriya.cc/tech/algos/cuda/05_matrix_addition/>Matrix Addition, Nov 12 2025/a>/h5>p>add two matrices...a hrefhttps://suriya.cc/tech/algos/cuda/05_matrix_addition/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>h5>a hrefhttps://suriya.cc/tech/algos/cuda/11_matrix_copy/>matrix copy, Nov 12 2025/a>/h5>p>Copy the matrix...a hrefhttps://suriya.cc/tech/algos/cuda/11_matrix_copy/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>h5>a hrefhttps://suriya.cc/tech/algos/cuda/02_matrix_multipy/>Matrix Multiply, Nov 12 2025/a>/h5>p>multiplying two simple matrices...a hrefhttps://suriya.cc/tech/algos/cuda/02_matrix_multipy/>click to read/a>/p>hr stylewidth:50%;text-align:left;margin-left:0>a href/recents>More Recents.../a>div classpage-footer>div classline>/div>script srchttps://f.convertkit.com/ckjs/ck.5.js>/script>form actionhttps://app.kit.com/forms/7401965/subscriptions classseva-form formkit-form methodpost data-sv-form7401965 data-uid42df7c5be9 data-formatinline data-version5 data-options{settings:{after_subscribe:{action:message,success_message:Success! Now check your email to confirm your subscription.,redirect_url:},analytics:{google:null,fathom:null,facebook:null,segment:null,pinterest:null,sparkloop:null,googletagmanager:null},modal:{trigger:timer,scroll_percentage:null,timer:5,devices:all,show_once_every:15},powered_by:{show:true,url:https://kit.com/features/forms?utm_campaignpoweredby&utm_contentform&utm_mediumreferral&utm_sourcedynamic},recaptcha:{enabled:false},return_visitor:{action:show,custom_content:},slide_in:{display_in:bottom_right,trigger:timer,scroll_percentage:null,timer:5,devices:all,show_once_every:15},sticky_bar:{display_in:top,trigger:timer,scroll_percentage:null,timer:5,devices:all,show_once_every:15}},version:5}>div data-stylefull>div data-elementcolumn classformkit-column>div classformkit-background styleopacity:.3>/div>div classformkit-header data-elementheader>h2>Hear from me./h2>/div>div classformkit-subheader data-elementsubheader>p>I asked Llama to make a mascot for my blog./p>/div>div classformkit-image formkit-image relative focus:outline-none rolebutton tabindex0>img classcursor-pointer focus:outline-blue srchttps://embed.filekitcdn.com/e/rehFCLQuF8b7bvwTRhgMo2/b7bf3YJezhdjGPf5HyWkzp>/div>/div>div data-elementcolumn classformkit-column>ul classformkit-alert formkit-alert-error data-elementerrors data-groupalert>/ul>div data-elementfields classseva-fields formkit-fields>div classformkit-field>input classformkit-input nameemail_address aria-labelEmail Address placeholderEmail Address required typeemail>/div>button data-elementsubmit classformkit-submit formkit-submit>div classformkit-spinner>div>/div>div>/div>div>/div>/div>span>Subscribe/span>/button>/div>div classformkit-guarantee data-elementguarantee>p>I wont spam. Promise./p>/div>/div>/div>/form>div classline>/div>div classsocial>div classsocial__icon>a hrefhttps://github.com/subygan/ titlegithub>svg viewBox0 0 24 24>path dM12 .297c-6.63.0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577.0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93.0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176.0.0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22.0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22.0 1.606-.015 2.896-.015 3.286.0.315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12/>/svg>/a>/div>div classsocial__icon>a href/cdn-cgi/l/email-protection#493a3c3b2030282e28272c3a2179707e092e24282025672a2624 titleemail>svg viewBox0 0 24 24>path dM20 4H4c-1.1.0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1.0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z/>/svg>/a>/div>div classsocial__icon>a hrefhttps://t.me/SuriyaGanesh titletelegram>svg viewBox0 0 24 24>path dM9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z/>/svg>/a>/div>div classsocial__icon>a hrefhttps://x.com/subygan titletwitter>svg viewBox0 0 24 24>path dM18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z/>/svg>/a>/div>div classsocial__icon>a hrefhttps://www.instagram.com/suby.gan/ titleinstagram>svg width24 height24 viewBox0 0 24 24>path dM12 2.163c3.204.0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849.0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204.0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849.0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741.0 8.333.014 7.053.072c-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948s.014 3.668.072 4.948c.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24s3.668-.014 4.948-.072c4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948s-.014-3.667-.072-4.947c-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403.0-6.162 2.759-6.162 6.162S8.597 18.163 12 18.163s6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zM12 16c-2.209.0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796.0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795.0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z/>/svg>/a>/div>/div>/div>/div>button onclicktopFunction() idtopBtn titleGo to top>Top ⬆️/button>script data-cfasyncfalse src/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js>/script>script>window.onscrollfunction(){var edocument.documentElement.scrollHeight-document.documentElement.clientHeight,twindow.scrollY/e*100;document.getElementById(progress-bar).style.widtht+%,scrollFunction()};function scrollFunction(){document.body.scrollTop>20||document.documentElement.scrollTop>20?document.getElementById(topBtn).style.displayblock:document.getElementById(topBtn).style.displaynone}function topFunction(){document.body.scrollTop0,document.documentElement.scrollTop0}function toggleSidebar(){const edocument.getElementById(sidebar),tdocument.querySelector(.menu-toggle);e.classList.toggle(open),t.classList.toggle(open)}document.addEventListener(click,function(e){const tdocument.getElementById(sidebar),ndocument.querySelector(.menu-toggle);!t.contains(e.target)&&!n.contains(e.target)&&(t.classList.remove(open),n.classList.remove(open))}),document.addEventListener(DOMContentLoaded,function(){const edocument.querySelectorAll(.sidebar-nav-link);e.forEach(t>{t.addEventListener(click,function(t){t.preventDefault(),e.forEach(e>{e.classList.remove(active)}),this.classList.add(active);const nthis.nextElementSibling;if(n&&n.classList.contains(sidebar-nav-submenu))n.style.displayn.style.displayblock?none:block;else{const ethis.getAttribute(href);if(e&&e!#)window.location.hrefe;else{const ethis.getAttribute(data-href);e&&(window.location.hrefe)}}})}),localStorage.getItem(darkMode)enabled&&document.body.classList.add(dark-mode),applySidebarStyles()});const darkModeStyles` body.dark-mode { background-color: #121212 !important; color: #e0e0e0 !important; } /* Super specific sidebar selectors */ body.dark-mode .sidebar, body.dark-mode #sidebar, body.suriya-blog.dark-mode .sidebar, body.suriya-blog.dark-mode #sidebar, html body.dark-mode div.sidebar, html body.dark-mode div#sidebar { background-color: #121212 !important; color: #e0e0e0 !important; background-image: none !important; box-shadow: none !important; } /* Target all divs inside sidebar */ body.dark-mode .sidebar *, body.dark-mode #sidebar * { background-color: #121212 !important; color: #e0e0e0 !important; } /* Rest of the styles */ body.dark-mode .content-area, body.dark-mode nav, body.dark-mode .navbar, body.dark-mode header { background-color: #121212 !important; color: #e0e0e0 !important; } body.dark-mode .menu-toggle-container, body.dark-mode .menu-toggle { background-color: #2d2d2d; color: #e0e0e0; } body.dark-mode .sidebar-nav-link { color: #bb86fc; } body.dark-mode .sidebar-nav-submenu { background-color: #1a1a1a; } body.dark-mode #topBtn { background-color: #333; color: #e0e0e0; } body.dark-mode .sidebar { border-right: 1px solid #333; } body.dark-mode header { border-bottom: 1px solid #333; } body.dark-mode .navbar { border-bottom: 1px solid #333; } /* More specific selectors for navbar text elements */ body.dark-mode .navbar a, body.dark-mode nav a, body.dark-mode .navbar span, body.dark-mode nav span, body.dark-mode .navbar div, body.dark-mode nav div, body.dark-mode .navbar li, body.dark-mode nav li { color: #e0e0e0 !important; } /* Ensure hover states are visible */ body.dark-mode .navbar a:hover, body.dark-mode nav a:hover { color: #bb86fc !important; } /* Theme toggle button styling */ .theme-toggle { position: fixed; top: 15px; right: 15px; z-index: 9999; background: transparent; border: none; cursor: pointer; padding: 5px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0.7; transition: all 0.3s ease; } .theme-toggle:hover { opacity: 1; transform: scale(1.1); } .theme-icon { color: #333; } body.dark-mode .theme-icon { color: #e0e0e0; } #lightIcon { display: none; } #darkIcon { display: block; } body.dark-mode #lightIcon { display: block; } body.dark-mode #darkIcon { display: none; } `,styleSheetdocument.createElement(style);styleSheet.typetext/css,styleSheet.innerTextdarkModeStyles,document.head.appendChild(styleSheet),localStorage.getItem(darkMode)enabled&&document.body.classList.add(dark-mode);function toggleDarkMode(){document.body.classList.toggle(dark-mode),document.documentElement.classList.toggle(dark-mode),document.body.classList.contains(dark-mode)?(localStorage.setItem(darkMode,enabled),applyDarkSidebarStyles()):(localStorage.setItem(darkMode,disabled),resetLightSidebarStyles())}function applyDarkSidebarStyles(){const edocument.getElementById(sidebar);if(!e)return;e.style.cssTextbackground-color: #121212 !important; color: #e0e0e0 !important;;const te.querySelectorAll(*);t.forEach(e>{e.style.cssText+background-color: #121212 !important; color: #e0e0e0 !important;})}function resetLightSidebarStyles(){const edocument.getElementById(sidebar);if(!e)return;e.style.cssText;const te.querySelectorAll(*);t.forEach(e>{e.style.backgroundColor,e.style.color}),e.offsetHeight}function applySidebarStyles(){document.documentElement.classList.contains(dark-mode)?applyDarkSidebarStyles():resetLightSidebarStyles()}function applyInitialDarkMode(){localStorage.getItem(darkMode)enabled?applyDarkSidebarStyles():resetLightSidebarStyles()}applyInitialDarkMode(),document.addEventListener(DOMContentLoaded,function(){localStorage.getItem(darkMode)enabled?(applyDarkSidebarStyles(),document.getElementById(lightIcon).style.displayblock,document.getElementById(darkIcon).style.displaynone):(resetLightSidebarStyles(),document.getElementById(lightIcon).style.displaynone,document.getElementById(darkIcon).style.displayblock),document.getElementById(darkModeBtn).addEventListener(click,function(){setTimeout(function(){applySidebarStyles(!0)},10)})})/script>/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]