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
# 1) Follow documentation | |
https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos?view=sql-server-ver15 | |
## a) Instal unixodbc and tools | |
```bash | |
$> brew install autoconf automake libtool | |
$> brew install unixodbc | |
``` | |
## b) Install msodbc | |
```bash | |
$> /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" |
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
#!/usr/bin/bash | |
# Required yum install | |
# Vars | |
export BUILD_DIR=/tmp/nginx-build | |
# Script | |
echo "=== Custom NGINX ===" | |
echo "=> Build folder: $BUILD_DIR" | |
echo "0) Cleaning folder" | |
rm -rfv $BUILD_DIR |
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
function removeGMAILHeader() { | |
document.querySelector('table').remove(); | |
document.querySelector('table').remove() | |
document.querySelectorAll('hr').forEach((node) => {node.remove()}); | |
document.querySelector('table tbody tr').remove(); | |
document.querySelector('table tbody tr').remove(); | |
window.print() | |
};removeGMAILHeader(); |
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
# ./ezpublish_install.sh $folder_name | |
echo "== Project will be located at" $(pwd)"/$1 ==" | |
sleep 2 | |
echo "==> Create the project" | |
composer create-project --no-dev ezsystems/ezplatform | |
sleep 1 | |
mv ezplatform $1 | |
cd ./$1 | |
echo "==> Composer install" |
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
# You have to have ICU4C and PECL installed | |
# ICU4C : brew install icu4c | |
# PECL / PEAR : http://jason.pureconcepts.net/2012/10/install-pear-pecl-mac-os-x/ | |
# Change the ICU_DIR by your ICU4C version |