/explore
|
You are here |
blog.alexanderkaran.com | ||
| | | | |
nilcoalescing.com
To copy a string to the clipboard on macOS, we need to first clear it using clearContents(), unlike on iOS, where UIPasteboard automatically overwrites the existing data. |
|
| | | | | ||
| | | | |
www.trevorlasn.com
Copy and paste text, images, and files using the new navigator.clipboard API |
|
| | | | | ||
| | | | |
thedailywtf.com
JavaScript is frequently surprising in terms of what functions it does not support. For example, while it has a Math.round function, that only rounds to the nearest integer, not an arbitrary precision. That's no big deal, of course, as if you wanted to round to, say, four decimal places, you could write something like: Math.floor(n * 10000) / 10000. But in the absence of a built-in function to handle that means that many developers choose to reinvent the wheel. Ryan found this one. |
|
| | | | | ||
| | | | |
www.brzozowski.io
Cisco Smart Software Manager on-prem SQL Injection |
|
| | | |||