For errors similar to: (this example uses php)
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
Abort trap: 6then run
brew uninstall --ignore-dependencies php| // <PackageReference Include="Portable.BouncyCastle" Version="1.9.0" /> | |
| static void Main(string[] args) | |
| { | |
| Console.WriteLine("Hello, World!"); | |
| string payload = @"[{""token"":""some_token"",""type"":""some_type"",""url"":""some_url"",""source"":""some_source""}]"; | |
| string signature = "MEUCIFLZzeK++IhS+y276SRk2Pe5LfDrfvTXu6iwKKcFGCrvAiEAhHN2kDOhy2I6eGkOFmxNkOJ+L2y8oQ9A2T9GGJo6WJY="; | |
| string pubKey = "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsz9ugWDj5jK5ELBK42ynytbo38gPHzZFI03Exwz8Lh/tCfL3YxwMdLjB+bMznsanlhK0RwcGP3IDb34kQDIo3Q==\n-----END PUBLIC KEY-----\n"; |
| PHP_VER="7.3.31" | |
| # Check if extension exists first | |
| php -m | grep pgsql | |
| # Update brew and install requirements | |
| brew update | |
| brew install autoconf | |
| # Download PHP source and extract |
| This gist contains my shell environment files: | |
| .zshrc | |
| .zshenv | |
| .aliases |
| # Write the new file | |
| awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo > /etc/pam.d/sudo.new | |
| # Make a backup of the current file | |
| cp /etc/pam.d/sudo /etc/pam.d/sudo.bak | |
| # Replace the current file with the new file | |
| mv /etc/pam.d/sudo.new /etc/pam.d/sudo | |
| # If you need to restore the backup and do not have | |
| # access to sudo due to the issue. Reboot into recoveryOS | |
| # Mount your data volume |
| using System; | |
| using System.Collections.Generic; | |
| namespace Marzvrover | |
| { | |
| class Picker | |
| { | |
| static void Main(string[] args) | |
| { | |
| string input; |
| WIDTH=100 | |
| HEIGHT=50 | |
| PERCENT_START=66 | |
| CELL='0' | |
| LIFECYCLES=25 | |
| TIME_DELAY='.246' | |
| gameboard = {} | |
| for i=0,HEIGHT |
| if [ -f ~/.bashrc ]; then | |
| source ~/.bashrc | |
| fi | |
| export CLICOLOR=1 | |
| alias please="php please" | |
| alias artisan="php artisan" | |
| alias tinker="artisan tinker" | |
| alias migrate="artisan migrate" |
For errors similar to: (this example uses php)
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
Abort trap: 6then run
brew uninstall --ignore-dependencies php| syntax on | |
| set expandtab | |
| set softtabstop=4 | |
| set shiftwidth=4 | |
| set tabstop=4 | |
| set list | |
| set listchars=tab:>\ ,eol:¬ | |
| set listchars+=space:· |
| #!/usr/bin/env bash | |
| var_file_location="/usr/local/etc/php/php.ini" | |
| declare -A values | |
| values["upload_max_filesize"]="2M" | |
| for key in "${!values[@]}" | |
| do |