From Terminal
# install dependencies
brew install autoconf # required by pecl
brew install libzip
# install zip extenion in your selected MAMP PHP version
ls /Applications/MAMP/bin/php/
| #!/bin/bash | |
| if [ "$EUID" -ne 0 ] | |
| then echo "Please run as root" | |
| exit | |
| fi | |
| apt-get install pkg-config libmagickwand-dev -y | |
| cd /tmp | |
| wget https://pecl.php.net/get/imagick-3.4.4.tgz | |
| tar xvzf imagick-3.4.4.tgz |
| # vim:fileencoding=utf-8:ft=conf:foldmethod=marker | |
| #: Fonts {{{ | |
| #: kitty has very powerful font management. You can configure | |
| #: individual font faces and even specify special fonts for particular | |
| #: characters. | |
| font_family JetBrains Mono Medium | |
| bold_font JetBrains Mono Bold |
From Terminal
# install dependencies
brew install autoconf # required by pecl
brew install libzip
# install zip extenion in your selected MAMP PHP version
ls /Applications/MAMP/bin/php/
| const Chosed = (props) => { | |
| const elmt = React.useRef() | |
| React.useLayoutEffect(()=>{ | |
| const $elmt = $(elmt.current) | |
| const handleChange = (e) => { | |
| props.onChange(e.target.value); | |
| } | |
| $elmt.chosen() |
| #!/bin/bash | |
| if [ "$#" -ne 2 ]; then | |
| echo "Usage: $0 fqdn email" | |
| exit 1 | |
| fi | |
| docker run -p 80:80 -p 443:443 -v /etc/letsencrypt:/etc/letsencrypt certbot/certbot certonly --standalone --agree-tos --reinstall --force-renewal --non-interactive --text --rsa-key-size 4096 --email $2 --domains $1 | |
| mkdir -p /root/.minio/certs | |
| cp /etc/letsencrypt/live/$1/fullchain.pem /root/.minio/certs/public.crt |
Install build tools:
brew install autoconf automake libtool
Then install PECL:
Este es un instructivo para un tutorial en Youtube https://youtu.be/pliGG1M87W8
| .alert | |
| { | |
| display:flex; | |
| flex-direction:row; | |
| flex-wrap:wrap; | |
| justify-content:center; | |
| align-items: center; | |
| height: 50px; | |
| margin-top:40px; | |
| } |
| xcode-select --install | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew update | |
| brew cask install iterm2 | |
| # update iterm2 settings -> colors, keep directory open new shell, keyboard shortcuts | |
| brew install bash # latest version of bash | |
| # set brew bash as default shell | |
| brew install fortune | |
| brew install cowsay | |
| brew install git |