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.

error conserning python import, specifically, "from jose import jwt"

13 February 2026 @ 11:18 am

The jwt module is not being installed together with the "jose" package even after running this code: python -m pip install python-jose[cryptography The bash python -m part is because i'm running my terminal in my IDE not windows Command prompt.

Git Extensions with local Gitea server: How to trigger Pull-Request (PR) via GUI

13 February 2026 @ 11:11 am

I am currently setting up a new Gitea Server. Most devs associated with the Repos use Git Extensions (GE). I will but disable the push feature to the main branch, which leads to mandatory Pull-Requests(PRs). I am currently trying to find a way how I can trigger this behaviour with GE but I am not able to find a way to integrate it with GE. Does anyone has an idea how to set it up the correct way? Do I need some sort of extension? If so how to integrate it with GE to implement this properly (A link to a How-To would be enough - I simply could not find one on my one yet)? To only use TEA is sadly not an option for some of the devs as they depend strongly on the graphical userinterface. If this option is not possible can somebody recommend another GIT GUI tool which has this function for Gitea implemented? Thanks

Empty HTML anchors and the numbering of items

13 February 2026 @ 11:10 am

Consider the HTML code below: <HTML> <BODY> <OL> <LI> <A NAME="a"></A> First line of first item <LI> <A NAME="b"></A> First line of second item <P> Second line of second item <LI> <A NAME="c"></A> <P> First line of third item <P> Second line of third item </OL> </BODY> </HTML> In Firefox and previous versions of Safari it renders as expected: 1. First line of first item 2. First line of second item Second line of second item 3. First line of third item Second line of third item but in Safari 26.2 and 26.3 it renders like this: 1. First line of first item First line of second item 2. Second line of second item 3. First line of third item Second line of third item The number of the second item

Migrating ServiceNow On-Prem DB from MariaDB to PostgreSQL during ITOM implementation

13 February 2026 @ 11:04 am

I am currently implementing ITOM (Discovery and Service Mapping) on a Self-Hosted (On-Premises) ServiceNow instance. The current backend is MariaDB, and we are planning a migration to a different DB engine (considering PostgreSQL). Given the On-Prem nature of our deployment, I have the following technical questions: • Migration Risk: Since ITOM creates complex dependencies in the CMDB, is there a risk of data corruption or metadata loss for Patterns and Service Maps during a DB-level migration? • Database Choice: Is PostgreSQL the recommended alternative for On-Prem environments to ensure better performance for Discovery's high-frequency inserts/updates? • Workflow Impact: Are there known issues with the MID Server communication or Discovery Probes when the underlyi

How can I fix a dropdown menu that is misaligned and overlapping in Elementor ElementsKit?

13 February 2026 @ 11:03 am

I am working on a WordPress website using Elementor and the ElementsKit plugin. I am trying to fix a dropdown menu that appears misaligned and overlaps with other navigation items. I added custom CSS to adjust the width and alignment, but the issue still persists. The dropdown background is also not matching the navigation item width properly. I have tried adjusting padding, margin, and width properties, but none of them solved the problem. I would appreciate guidance on how to properly align the dropdown menu and fix the background width issue. /*My CSS:*/ .navbar { position: fixed; top: 0; width: 100%; } ul#menu-header-menu { position: absolute; z-

Assigning a variable to an array key of a dynamically generated array in PHP [duplicate]

13 February 2026 @ 11:00 am

yaml.yaml --- file: $file_name --- index.php <?php $file_name = 'file.php'; $yaml = file_get_contents('yaml.yaml'); $new_array = yaml_parse($yaml); echo '<pre>'; print_r($new_array); echo '</pre>'; Array ( [file] => $file_name // I'm trying to the get the value of $file_name here, but it wont do that ) // Hardcoding an array and assigning $file_name to 'file' works as expected $testArray = array( 'file' => $file_name ); echo '<pre>'; print_r($testArray); echo '</pre>'; Array ( [file] => file.php ) ?> I'm trying to assign a variable's value to an array key of an array that's been created using yaml_parse, but it isn't working as I thought it would. Hardcoding an array and assigning the variable to the key gives me desired results. How can I achieve this when using an array generated from yaml_parse? I know I can do $new_array['fil

How to test Ada procedure which use Ada.Real_Time

13 February 2026 @ 10:58 am

I want to test an Ada procedure in a native environment (Ubuntu/Debian) which uses the packages Ada.Real_Time and Ada.Real_Time.Delays for the Clock function and Delay_Until procedure. To test the behavior of my procedure I want to control what Clock function will return and what Delay_Until will do. In other words I want to re-implement those two packages. To do that I tried to make a new native runtime that I will use only for testing by copying needed files from my local runtime installation and modifying Ada.Real_Time and Ada.Real_Time.Delays to suit my need. But I have troubles compiling the runtime. For example I came across this error: s-fatgen.adb:143:16: error: unrecognized intrinsic subprogram s-fatgen.adb:144:33: error: incorrect intrinsic subprogram, see spec which is about pragma Import (Intrinsic, Is_Negative); GNAT don't find the intrinsic function Is_Negative. To move on I replaced Is_Negative function

Customize promotion condition based on minimum number of qualifying products in SAP Commerce (Hybris)

13 February 2026 @ 10:41 am

I am customizing the promotion condition in SAP Commerce (Hybris). I need to customize a qualifying product condition in a way that the promotion should apply only if the cart contains a minimum number of products from a predefined products list enter image description here Added a custom attribute (minimum Number Of Products) in the qualifying product condition. I am able to retrieve this value in the condition translator. The default promotion engine does not support counting how many qualifying products are present in the cart and comparing it with the configured minimum value in translator using IrRuleCondition. Could anyone suggest an appropriate approach to implement this type of condition in SAP Hybris?

MS Excel displays garbled characters for Azerbaijani text in CSV file exported with UTF-8 encoding

13 February 2026 @ 10:26 am

I'm generating a CSV file with Azerbaijani text using Java and UTF-8 encoding with BOM. The file opens correctly in WPS Office, but when opened in MS Excel, Azerbaijani characters appear as garbled symbols. Expected text: Riskli vergi ödəyicilərinin axtarışı What appears in Excel: Riskli vergi ödÉ™yicilÉ™rinin axtarışı My Code: public void writeCsvForInformationalServiceDetailed( List<InformationalServiceDetailedExcelItem> items, LocalDateTime periodStart, LocalDateTime periodEnd, HttpServletResponse response) { response.setContentType("text/csv; charset=UTF-8"); response.setHeader( "Content-Disposition", "attachment; filename=informational_service_detailed.csv" ); try (ServletOutputStream out = respons

Best way to get the name of the current interface

13 February 2026 @ 10:19 am

I want to get the current interface name in order to obtain its MAC address for use when sending UDP packets. It's unlikely that I will be able to obtain the MAC address from the packet because I do not have access to that network layer, so I came up with the following: #include <stdio.h> #include <stdbool.h> #include <string.h> #include <sys/ioctl.h> #include <sys/types.h> #include <net/if.h> #include <ifaddrs.h> #include <linux/if_packet.h> bool net_get_default_interface(char *if_name, size_t size) { if (if_name == NULL || size == 0) { return false; } FILE *fp = popen("ip route show default | awk '/default/ {print $5}'", "r"); if (fp == NULL) { printf("net_get_default_interface: popen failed\n"); return false; } if (fgets(if_name, size, fp) != NULL) { size_t len = strlen(if_name); if

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.