Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Ullallulloo
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Answer | — |
A: How do I get the min/max axis values in Chart.js? The equivalent in Chart.js would be: ```js xmin = chart.scales.x.min; xmax = chart.scales.x.max; ``` This can be found in the docs as an option common to all axes. (more) |
— | 7 months ago |
Answer | — |
A: How do I install Chart.js as a file? If you're not importing it as a module but just including it through a `` tag, you can't use the regular file. You'll need to use the UMD file instead. You can either include it from a CDN (`https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.0/chart.umd.js`), or download that file, rehost it, and in... (more) |
— | 7 months ago |
Question | — |
How do I add functionality to the back button? How do I add functionality to the back button in Android without reimplementing the back button entirely? Prior to last year, I would just call `onBackPressed()` and then simply override it: ```kotlin override fun onBackPressed() { super.onBackPressed() doMyStuff() } ``` Now this is... (more) |
— | 10 months ago |
Answer | — |
A: Can UWPNuGetPackages be moved to another drive? Apparently this is controlled by the registry value `Computer\HKEYLOCALMACHINE\SOFTWARE\WOW6432Node\NuGet\Repository\UWPNugetPackages`. I changed it from `C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\` to `D:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\` and now Visual Studio is hap... (more) |
— | over 1 year ago |
Question | — |
Can UWPNuGetPackages be moved to another drive? I'm trying to make a UWP app in Visual studio, but the NuGet package files have been huge. They just don't fit on my SSD, but I do have an HDD I could theoretically use. After a bunch of tinkering with different Visual Studio and NuGet configs, I've gotten the NuGetPackages folder onto another dri... (more) |
— | over 1 year ago |
Answer | — |
A: How to delete contents of a specific field, if it matches a pattern and there is nothing else in the field You're matching the regex pattern of `/-/`, so it just matches every individual hyphen, regardless of where. You want to match the entire entry if it's only hyphens, or `/^-+$/`. `^` – Beginning of line `-+` – One or more hyphens `$` – End of line Putting that in gives `awk 'BEGIN{FS=O... (more) |
— | about 2 years ago |
Question | — |
How do I strip file extensions from URLs with H2O? I'm trying to use H2O to serve a multi-file PHP website without routing—just having a separate PHP file for every page. The relevant part of my H2O config currently looks like this: ```yaml paths: "/": file.dir: /home/mysite/www/site/ file.index: [ "index.php" ] file.custom-handler:... (more) |
— | about 2 years ago |
Answer | — |
A: How to append HTML to the DOM with JavaScript? First, I would warn you that using JavaScript here isn't best practice. It won't work for people without JavaScript and it will slow down the site some even for people with JavaScript. If you can do it server-side, that would be better for the users. That said, if you do want to do it with JavaScr... (more) |
— | over 2 years ago |