const arraySorted = arrayUnsorted.sort((a: Object, b: Object) => {
return ("" + a.name).localeCompare("" + a.name.toString(), undefined, {
numeric: true,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h_func(){ | |
OLD_IFS=${IFS}; IFS=" | |
"; | |
if [ $1 ]; then | |
HOSTS=`cat /usr/local/etc/hosts.txt | grep $1` | |
RESULT=`cat /usr/local/etc/hosts.txt | grep $1 | wc -l` | |
if [ "$RESULT" = "1" ]; then | |
address=`echo $HOSTS | sed 's/\([^ #]*\) \?\([^ #]*\) \?#\?\(.*\)\?/\1/'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keycode 8 = | |
keycode 9 = Escape NoSymbol Escape | |
keycode 10 = ampersand 1 ampersand 1 onesuperior exclamdown onesuperior | |
keycode 11 = eacute 2 eacute 2 asciitilde oneeighth asciitilde | |
keycode 12 = quotedbl 3 quotedbl 3 numbersign sterling numbersign | |
keycode 13 = apostrophe 4 apostrophe 4 braceleft dollar braceleft | |
keycode 14 = parenleft 5 parenleft 5 bracketleft threeeighths bracketleft | |
keycode 15 = minus 6 minus 6 bar fiveeighths bar | |
keycode 16 = egrave 7 egrave 7 grave seveneighths grave | |
keycode 17 = underscore 8 underscore 8 backslash trademark backslash |
I hereby claim:
- I am fanch317 on github.
- I am fanch (https://keybase.io/fanch) on keybase.
- I have a public key ASDc7SSwJ_DRbP7K8ecdQLlYWeqgtPKXiT80D_wNoCtdJgo
To claim this, I am signing this object: