/explore
|
You are here |
osc.garden | ||
| | | | |
blaster.ai
Helping e-commerce startups grow |
|
| | | | | ||
| | | | |
hjr265.me
Git has this great feature that I think is well-known but under-used. I am talking about Git hooks. With Git hooks, you can run scripts during different Git actions. Like this one: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #!/bin/sh GOFILES=`git diff --name-only --cached | grep -e '.go$' | grep -ve 'vendor/'` UNFMTFILES=() for f in $GOFILES; do if [ -n "`gofmt -l -s . |
|
| | | | | ||
| | | | |
www.wyeworks.com
If you have been developing software for some time you have probably noticed that there are lots of things that can go wrong, no matter how... |
|
| | | | | ||
| | | | |
mathiasbynens.be
[AI summary] JavaScript has a Unicode problem. The article discusses how JavaScript handles Unicode, particularly with the use of surrogate pairs for characters outside the Basic Multilingual Plane (BMP). This leads to issues with string length and iteration, as some characters are represented by two code units. The article also covers the challenges with regular expressions and the need for polyfills or workarounds to handle Unicode correctly. It highlights the importance of understanding how JavaScript processes Unicode and provides examples of how to handle characters like emojis, combining marks, and other Unicode characters. The article also includes comments from readers discussing related issues and solutions. |
|
| | | |||