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.

Can we use the /v1alpha API to retrieve Google Gemini Enterprise agents, or is a GA API available?

19 January 2026 @ 12:35 pm

I am trying to retrieve all Google Gemini Enterprise agents using the following v1alpha API: GET https://{REGION}-discoveryengine.googleapis.com/v1alpha/projects/{PROJECT_ID}/locations/{LOCATION}/collections/default_collection/engines/{ENGINE_ID}/assistants/default_assistant/agents Could you please confirm whether it is recommended to use this /v1alpha API in a production, or if there is a GA (Generally Available) API that should be used instead to retrieve all Gemini Enterprise agents? Additionally, are there any known limitations or risks associated with using the v1alpha version for this use case? Thanks in advance for your guidance.

Traefik and k3d with ingress provider

19 January 2026 @ 12:29 pm

I have a debian machine with docker installed. I have a treafik container et some others like portainer all deserved by trarfik. I also installed k3d. The goal is to keep all my containers as is (including traefik), deploy applications on k3d and acces it through traefik. My traefik docker compose contains : services: traefik: image: traefik:3.4 container_name: traefik restart: always environment: - TZ=Europe/Brussels - KUBECONFIG=/kubeconfig command: # debug - "--accesslog=true" - "--log.level=TRACE" - "--log.filePath=/logs/traefik.log" - "--log.maxSize=10" - "--log.maxBackups=5" # dashboard - "--api.dashboard=true" # http entry point - "--entrypoints.web.address=:80" # docker provider

Zenject. Install from file

19 January 2026 @ 12:28 pm

The game consists of a set of packages, each in a separate bundle. Each bundle must have an installer (MonoInstaller or ScriptableObjectInstaller). When a game scene starts, a certain set of bundles is loaded. The installers for the loaded bundles need to be called. So, I can't add them to the SceneContext in the editor. How can I call the Install for optional installers? installer.InstallBindings(); // null in Container.Bind

How do I query based on data in two tables - like a JOIN?

19 January 2026 @ 12:20 pm

I am using the endpoints https://api.xero.com/api.xro/2.0/BankTransactions and I am trying to get bank transactions that have been put into a specific account category - suspense in this case 850. I want to remove them from suspense - the suggestion is to delete the bank statement entry, and restore it - then the other side (xero side) will be gone, and need to be redone. I am really struggling to get bank transactions that are also "lineitems.accountcode = 850" There seems to be no way to get these two things at once. I looked at the journals endpoint, but the query ability on there is really limited - only a couple of fields, like Offset, which is useless.

Xcode 16.4 archive fails with "unable to spawn process '/bin/sh' (Argument list too long)" in Flutter project

19 January 2026 @ 12:19 pm

I'm getting this error when archiving my Flutter iOS app: Error (Xcode): unable to spawn process '/bin/sh' (Argument list too long) Environment: Xcode 16.4 Flutter 3.38.7 CocoaPods 1.16.2 macOS (Darwin 24.4.0) What I've tried: Cleaned DerivedData (rm -rf ~/Library/Developer/Xcode/DerivedData) Ran flutter clean and flutter pub get Removed ios/build and ios/Pods, then ran pod install Verified --dart-define-from-file config is small (~1.6KB) Verified environment variables are small (~2KB total) Project details: 84 pods installed Uses Firebase, Sentry, OneSignal, Mixpanel, and other common SDKs Build command: fvm flutter build ipa --flavor stage --target lib/main_stage.dart --dart-define-from-file=config_stage.json Questions: Is this a known Xcode 16.4 issue? Are there workarounds for the ARG_M

Custom outlook add-in for mobile appointment

19 January 2026 @ 12:18 pm

i have a custom outlook addin that is used to track the mail/appointments to d365 crm. the addin is displayed for appointment (organizer/attendee) pc/web by using extension points AppointmentAttendeeCommandSurface AppointmentOrganizerCommandSurface for mobile, MobileLogEventAppointmentAttendee but in mobile, im facing an issue. <ExtensionPoint xsi:type="MobileLogEventAppointmentAttendee"> <Control xsi:type="MobileButton" id="mobileAppointmentLogButton"> <Label resid="TaskpaneButton.Label" /> <Icon xsi:type="bt:MobileIconList"> <bt:Image size="25" scale="1" resid="Icon.25x25" /> <bt:Image size="25" scale="2" resid="Icon.25x25" /> <bt:Ima

TypeScript TS2339 when extracting URL string from string | URL | Request

19 January 2026 @ 12:13 pm

In an Expo React Native app, I accept a parameter that can be a string, URL, or Request. function toUrlString(url: string | URL | Request) { if (typeof url === "string") return url; if (url instanceof URL) return url.href; return url.url; // Request case } TypeScript reports: TS2339: Property 'url' does not exist on type 'string | URL | Request' Property 'url' does not exist on type 'URL' In this case, when the value is a Request, I want to extract the request URL as a string using the Fetch API’s Request.url property. What is the correct type-safe way to narrow this union so that each case (string, URL, and Request) is handled explicitly without using type assertions?

How to control the content rendering within the tool-tip?

19 January 2026 @ 12:12 pm

I have a Recharts BarChart with a custom tooltip whose position is manually controlled. When the user hovers over the tooltip, I freeze its position so it doesn’t move. However, when the tooltip is tall enough to overlap multiple bars, moving the mouse inside the tooltip causes the tooltip content to change, because Recharts detects hover on another bar underneath. Expected behavior: While hovering over the tooltip, both position and content should remain locked. Actual behavior: Position stays fixed, but tooltip content updates as the mouse moves vertically inside the tooltip. "use client"; import { useState } from "react"; import { BarChart, Bar, XAxis, YAxis, Tooltip } from "recharts"; const data = [ { name: "A", value: 400 }, { name: "B", value: 300 }, { name: "C", value: 200 }, ]; export default function Chart() { const [pos, setPos] = useState<{ x: number; y:

cron job not running in development environment

19 January 2026 @ 12:11 pm

A Rails application has an entry in crontab -e that was generated by the whenever gem, translating its entry in schedule.rb of runner 'DevelopmentAvailabilityAndScheduleJob.perform_later' and edited to replace production with development so that it may run on the localhost. 0 * * * * /bin/bash -l -c 'cd /Users/deploy/r/deapp && bundle exec bin/rails runner -e development '\''AvailabilityAndScheduleJob.perform_later'\''' the AvailabilityAndScheduleJob.rb (in directory app/jobs): class AvailabilityAndScheduleJob < ApplicationJob queue_as :default include ReservationMethods def perform availability_dates = Available.order(availability_date: :asc).where(shop_id: 1).pluck(:availability_date).uniq if availability_dates.includes?(Date.yesterday) Rails.logger.info 'yep, lagging availability' else Rails.logger.info 'great, availability u

How do I remove warning 'Possible null reference argument for parameter'

19 January 2026 @ 12:00 pm

Can anyone tell me how to get rid of this warning in the code below please Possible null reference argument for parameter 'item' in 'void List.Add(object item)' This is the code and the warning shows on these lines rowDataList = [.. rowCollection[headRow].ItemArray]; I have added a null check but it seems to have no affect. DataSet dataSet = reader.AsDataSet(conf); DataRowCollection rowCollection; if (checkData == 0) rowCollection = dataSet.Tables[sheetName].Rows; else rowCollection = dataSet.Tables[0].Rows; int rowCount = rowCollection.Count; if (rowCollection != null && rowCollection.Count > headRow) { rowDataList = [.. rowCollection[headRow].ItemArray]; await AssertIsTrue(rowCount != 0, $"Assert there are rows in the report file, the count is {rowCollection.Count}"); if (rowNumb != 0) await AssertIsTrue(rowCount - 1 == rowNumb, $"Assert

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.