Nifty Corners Cube

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Rounded corners the javascript way
Nifty Corners Cube

StackOverflow.com

VN:F [1.9.22_1171]
Rating: 8.5/10 (13 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

Hamburger Menu Button Not Working on My Website

13 January 2026 @ 3:33 am

The hamburger menu button appears correctly on mobile screens, and when I resize the window on desktop, but clicking it does nothing. I doubled checked my code, but I still can't figure out it's not working properly? When clicking the hamburger button: The sidebar (#navbar) should slide in from right to left A semi-transparent overlay should appear over the main content The page should stop scrolling Clicking the X button, overlay, or pressing Escape should close the menu <!DOCTYPE html> <html> <head> <title>My Name</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="main.css" /> <script src="https://kit.fontawesome.com/7e13fffe62.js" crossorigin="anonymous"></scr

I cannot uninstall VS 2015

13 January 2026 @ 3:22 am

enter image description here I cannot uninstall vs 2015 it says cannot be uninstalled because of the policy set by the organization. I really dont know what they are talkin about. I already set it as an administrator and try to uninstall but failed. I deleted my vs installer a long time ago too. I have been searching for answers but some are complex for me. Please help to uninstall this, I am freeing up storage space because my laptop could possibly go slower.

What data compression options and cost-optimization strategies does PolarDB offer? How do they compare in terms of cost, performance?

13 January 2026 @ 3:20 am

I'm evaluating Alibaba Cloud PolarDB (MySQL-compatible edition) for a production workload and want to understand the trade-offs between storage cost reduction and query performance. Specifically, I'd like to know: Compression Options: What built-in or configurable data compression mechanisms does PolarDB support? For example: InnoDB page compression Transparent storage-level compression Columnar or analytical storage formats with compression (e.g., for HTAP workloads) Cost-Saving Strategies: Beyond compression, what other features can help reduce costs in PolarDB? Such as: Choosing different ESSD storage types (e.g., ESSD AutoPL vs. PL1) Using PolarDB Serverless for auto-scaling compute Scaling read replicas elastically Tiered storage or archiving cold data (e.g., to OSS)

Why do we need 1=1 in url sql injection?

13 January 2026 @ 3:12 am

I was doing the first PortSwigger SQL injection lab, where the goal is to display all “Gifts” products regardless of whether they are released or not. The official solution is to inject the following payload via the URL parameters: ?category=Gifts' OR 1=1 -- Which results in the following injected query: SELECT * FROM products WHERE category = 'Gifts' OR 1=1 --' AND released = 1 Since OR 1=1 always evaluates to true, the WHERE clause becomes unconditional and all rows are returned. What I don’t understand is why injecting only: Gifts' -- does not produce the same result? Intuitively, commenting out the rest of the query should remove the AND released = 1 condition and return all “Gifts” products, no matter if they are released or not Why is OR 1=1 necessary here? I am a beginner.

C code not detects SoundBlaster 16 sound card in QEMU

13 January 2026 @ 3:08 am

Good evening, I'm trying to create a small 32-bit "operating system" in protected mode that plays music on a SoundBlaster 16 via QEMU/VirtualBox/Bochs on a Debian 13 host. In fact, that's all the program will do. I've created a routine to detect the sound card (it's still very simple; for now, it will only detect the card). If detected, it displays a message like "SoundBlaster 16 card detected"; otherwise, it displays an error message saying "SoundBlaster 16 card not found". When I compile and link everything, the resulting file is disk.img. The problem is that when I run QEMU with qemu-system-i386 -drive format=raw,file=disk.img -m 64 -device sb16,audiodev=snd0 -audiodev alsa,id=snd0 The system starts up, but only displays an error message saying that the sound card does not exist. (The timer is not implemented. But I think that's one of the problems, but not the main one, which is that it doesn't

TortoiseGit - Pull update in but retain my changes as being in the changed state?

13 January 2026 @ 2:55 am

I keep a copy of a github repository local using TortoiseGit on Windows. I have to make my own changes to some of the source and configuration files. Those changes show up in Windows with the icon showing change state. Perfect. Now, it's a couple years later and I want to pull in the latest github version, but it says if I do it, all changes will be lost and I should commit first. I do that, then I pull in the changes and it auto merges or has conflicts to take care of. I resolve those. Now there are all kinds of files showing changes from the pull. If I commit, then they all go green (no changes), but I want to commit all the pulled item so once again, only my changes show (with auto merge or the resolved merges). I guess I could pull in a fresh copy, then look at where my changes are, manually do a compare on those individual files, then manually make the adjustments, but that is time consuming. Is there an easy way to do what I want automatically?

16 kb memory page size in flutter

13 January 2026 @ 2:45 am

I am trying to upload app in playstore. but first thing I do is building empty project flutter. my question is... is this safe enough for 16kb memory page size. Here is android/app/build.gradle.kts plugins { id("com.android.application") id("kotlin-android") // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id("dev.flutter.flutter-gradle-plugin") } android { namespace = "com.example.flutter_application_1" compileSdk = flutter.compileSdkVersion ndkVersion = "28.2.13676358" compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId =

Is UWB ranging feasible between Pixel Watch 4 and Pixel 6 Pro? (Jetpack UWB returns 'false')

13 January 2026 @ 2:29 am

I am trying to develop an application that performs UWB ranging between a Pixel Watch 4 and a UWB-compatible smartphone (specifically a Pixel 6 Pro). My goal is to measure the distance from the smartphone to the watch. I attempted to implement this using the Jetpack UWB library on the Pixel Watch, but isAvailable (UwbManager) returns false. I have already verified the following: AndroidManifest.xml includes all necessary UWB permissions. UWB is enabled in the device settings for both the watch and the phone. Are there alternative methods to achieve this outside of the Jetpack library, such as using the Google Play Services (GMS) Nearby API (Nearby Connections or Nearby Presence)? Could you please clarify if this setup is feasible and provide guidance on the recommended implementation path?

VSCode Shortcut for switching between Copilot models?

13 January 2026 @ 12:28 am

Is there anyway to make a shortcut for switching between different co-pilot AI models in VSCode? I frequently need to switch from a higher cost model to a lower cost model for doing more basic editing tasks in order to save credits, so all I need really is a toggle to switch between Claude Haiku 4.5 (.33x) and Claude Sonnet 4.0.

error C2752: more than one partial specialization matches the template argument list with concepts

12 January 2026 @ 10:03 am

Is it a bug in MSVC when it fails with the following error? <source>(35): error C2752: 'Power_t<3,0,false>': more than one partial specialization matches the template argument list <source>(18): note: could be 'Power_t<base,p,false>' <source>(30): note: or 'Power_t<base,0,false>' <source>(35): note: the template instantiation context (the oldest one first) is <source>(37): note: see reference to variable template 'const auto Power_v<3,0>' being compiled on the following code: #include <concepts> #include <cstddef> // size_t template <typename T> concept Multipliable = requires (T a, const T b) { { a *= b } -> std::same_as<T&>; { a * b } -> std::same_as<T>; }; /// Primary class template declaration (and definition) for odd powers (inductive step) templat

960.gs

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)

CSS Grid System layout guide
960.gs

IconPot .com

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Totally free icons

Interface.eyecon.ro

VN:F [1.9.22_1171]
Rating: 6.0/10 (1 vote cast)

Interface elements for jQuery
Interface.eyecon.ro

ThemeForest.net

VN:F [1.9.22_1171]
Rating: 7.0/10 (2 votes cast)

WordPress Themes, HTML Templates.

kuler.adobe.com

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)

color / colour themes by design

webanalyticssolutionprofiler.com

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)

Web Analytics::Free Resources from Immeria
webanalyticssolutionprofiler.com

WebAIM.org

VN:F [1.9.22_1171]
Rating: 4.0/10 (1 vote cast)

Web Accessibility In Mind

2026 Predictions: The Next Big Shifts in Web Accessibility

22 December 2025 @ 11:22 pm

I’ve lived long enough, and worked in accessibility long enough, to have honed a healthy skepticism when I hear about the Next Big Thing. I’ve seen lush website launches that look great, until I activate a screen reader. Yet, in spite of it all, accessibility does evolve, but quietly rather than dramatically. As I gaze […]

Word and PowerPoint Alt Text Roundup

31 October 2025 @ 7:14 pm

Introduction In Microsoft Word and PowerPoint, there are many types of non-text content that can be given alternative text. We tested the alternative text of everything that we could think of in Word and PowerPoint and then converted these files to PDFs using Adobe’s Acrobat PDFMaker (the Acrobat Tab on Windows), Adobe’s Create PDF cloud […]

Accessibility by Design: Preparing K–12 Schools for What’s Next

30 July 2025 @ 5:51 pm

Delivering web and digital accessibility in any environment requires strategic planning and cross-organizational commitment. While the goal (ensuring that websites and digital platforms do not present barriers to individuals with disabilities) and the standards (the Web Content Accessibility Guidelines) remain constant, implementation must be tailored to each organization’s needs and context.   For K–12 educational agencies, […]

Up and Coming ARIA 

30 May 2025 @ 6:19 pm

If you work in web accessibility, you’ve probably spent a lot of time explaining and implementing the ARIA roles and attributes that have been around for years—things like aria-label, aria-labelledby, and role="dialog". But the ARIA landscape isn’t static. In fact, recent ARIA specifications (especially ARIA 1.3) include a number of emerging and lesser-known features that […]

Global Digital Accessibility Salary Survey Results

27 February 2025 @ 8:45 pm

In December 2024 WebAIM conducted a survey to collect salary and job-related data from professionals whose job responsibilities primarily focus on making technology and digital products accessible and usable to people with disabilities. 656 responses were collected. The full survey results are now available. This survey was conducted in conjunction with the GAAD Foundation. The GAAD […]

Join the Discussion—From Your Inbox

31 January 2025 @ 9:01 pm

Which WebAIM resource had its 25th birthday on November 1, 2024? The answer is our Web Accessibility Email Discussion List! From the halcyon days when Hotmail had over 35 million users, to our modern era where Gmail has 2.5 billion users, the amount of emails in most inboxes has gone from a trickle to a […]

Using Severity Ratings to Prioritize Web Accessibility Remediation

22 November 2024 @ 6:30 pm

So, you’ve found your website’s accessibility issues using WAVE or other testing tools, and by completing manual testing using a keyboard, a screen reader, and zooming the browser window. Now what? When it comes to prioritizing web accessibility fixes, ranking the severity of each issue is an effective way to prioritize and make impactful improvements. […]

25 Accessibility Tips to Celebrate 25 Years

31 October 2024 @ 4:38 pm

As WebAIM celebrates our 25 year anniversary this month, we’ve shared 25 accessibility tips on our LinkedIn and Twitter/X social media channels. All 25 quick tips are compiled below. Tip #1: When to Use Links and Buttons Links are about navigation. Buttons are about function. To eliminate confusion for screen reader users, use a <button> […]

Celebrating WebAIM’s 25th Anniversary

30 September 2024 @ 10:25 pm

25 years ago, in October of 1999, the Web Accessibility In Mind (WebAIM) project began at Utah State University. In the years previous, Dr. Cyndi Rowland had formed a vision for how impactful the web could be on individuals with disabilities, and she learned how inaccessible web content would pose significant barriers to them. Knowing […]

Introducing NCADEMI: The National Center on Accessible Digital Educational Materials & Instruction 

30 September 2024 @ 10:25 pm

Tomorrow, October 1st, marks a significant milestone in WebAIM’s 25 year history of expanding the potential of the web for people with disabilities. In partnership with our colleagues at the Institute for Disability Research, Policy & Practice at Utah State University, we’re launching a new technical assistance center. The National Center on Accessible Digital Educational […]

CatsWhoCode.com

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Titbits for web designers and alike

Unable to load the feed. Please try again later.