Install the OpenSSL on Debian based systems
sudo apt-get install openssl| <?php | |
| function FindSoundCardNameById($arr, $id) | |
| { | |
| foreach($arr as $line => $key) { | |
| if ($id == $key["id"]) | |
| return $key["name"]; | |
| } | |
| } | |
| function GetAsoundCards() |
| ############ WordPress #################### | |
| # Disable logging for favicon and robots.txt | |
| location = /favicon.ico { | |
| try_files /favicon.ico @empty; | |
| access_log off; | |
| log_not_found off; | |
| expires max; | |
| } |
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
| Description | Syntax |
|---|---|
| Get the length of a string | ${#VARNAME} |
| Get a single character | ${VARNAME[index]} |