Mac OS
Install deprecated php-fpm version in Mac
in same cases you will need to install deprecated PHP version and this is no possible with these commands
brew tap shivammathur/php
brew install shivammathur/php/[email protected]
adding alias to use it
#echo 'alias php7.1="/opt/homebrew/opt/[email protected]/bin/php"' >> ~/.zshrc
#source ~/.zshrc
Create ISO file for Mac OS system (Monterey)
The below commands will help you create the iso file
this command will download the newest version.
- softwareupdate --fetch-full-installer
1- to install MacOS Monterey use the below command
- softwareupdate --fetch-full-installer --full-installer-version 12.0.1
2- we must create a temporary disk image:
hdiutil create -o /tmp/Monterey -size 12500m -volname Monterey -layout SPUD -fs HFS+J
3- Next, mount the disk image:
How do I find all files containing specific text on Linux?
How do I find all files containing specific text on Linux?
grep -rnw '/path/to/somewhere/' -e 'pattern'
-r
or-R
is recursive,-n
is line number, and-w
stands for match the whole word.-l
(lower-case L) can be added to just give the file name of matching files.-e
is the pattern used during the search
Along with these, --exclude
, --include
,
SENDMAIL on MAC OSX Yosemite
SENDMAIL on MAC OSX Yosemite
http://www.garron.me/en/mac/postfix-relay-gmail-mac-os-x-local-smtp.html
1) Create a file to store our credentials:
sudo vim /etc/postfix/sasl_passwd
2) Add something like this:
smtp.gmail.com:587 username@gmail.com:password
3) Now run:
Install icu4c version 64 with Homebrew
download the homebrew core first
git clone https://github.com/Homebrew/homebrew-core.git
check current installed version
brew list --versions icu4c
1) cd
to Homebrew's formula directory
cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
2) Find desired commit (version 63 for icu4c
) to checkout
git log --follow icu4c.rb