Skip to content

Instantly share code, notes, and snippets.

View enemyers's full-sized avatar
🖥️

Enemyers enemyers

🖥️
  • Santiago - Chile
View GitHub Profile
@enemyers
enemyers / Config PHP on macOS Monterey
Last active July 14, 2022 21:08
Config PHP on macOS Monterey
<< homebrew apache http >>
DocumentRoot is /usr/local/var/www.
The default ports have been set in /usr/local/etc/httpd/httpd.conf to 8080 and in
/usr/local/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.
To restart httpd after an upgrade:
brew services restart httpd
In /etc/lightdm/lightdm.conf,
Set as follows:
xserver-command=X -dpi 96
Reboot and you're ready to go.
@enemyers
enemyers / php-validate
Last active January 10, 2023 12:33
"php.validate.executablePath" - xampp & vscode - linux distribution
edit in settings.json (vscode)
"php.validate.executablePath": "/opt/lampp/bin/php"
{
"editor.fontLigatures": false,
"editor.fontFamily": "Menlo for powerline",
"php.validate.executablePath": "/opt/lampp/bin/php"
}
@enemyers
enemyers / nodejs
Last active March 2, 2022 04:16
Install manually NodeJS binary on all linux distribution.
download https://nodejs.org/dist/v12.16.2/node-v12.16.2-linux-x64.tar.xz
$ cd Downloads/
$ tar -xJvf node-v12.16.2-linux-x64.tar.xz
$ sudo mkdir /usr/local/lib/nodejs
$ mv node-v12.16.2-linux-x64 node-v12.16.2
$ sudo mv node-v12.16.2 /usr/local/lib/nodejs
$ sudo nano ~/.profile
copy this on end of text ~/.profile: