Skip to content

Instantly share code, notes, and snippets.

View nizzam's full-sized avatar
🎼
★ :. . • ○ ° ★° ☾ ☆ ¸. ¸ 

Nizzam nizzam

🎼
★ :. . • ○ ° ★° ☾ ☆ ¸. ¸ 
  • Kuala Lumpur, Malaysia
View GitHub Profile
@ahmadshuami
ahmadshuami / Install Apache using Homebrew
Last active April 12, 2024 06:52
How to Setup Apache, PHP 8.0, MariaDB and Apache Virtual Host using Homebrew Part 1 - Installation of Apache
Watch the video at https://youtu.be/Tlu2Prm_UNw
1. Stop default apache
% sudo apachectl stop
% sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
2. Install apache
% brew install httpd
% brew services start httpd
@dannygsmith
dannygsmith / valet-plus-destroy
Last active July 18, 2023 09:07
Remove valet-plus - reboot required
#!/usr/bin/env bash
#styles
VP_NONE='\033[00m'
VP_RED='\033[01;31m'
VP_GREEN='\033[01;32m'
VP_YELLOW='\033[01;33m'
VP_PURPLE='\033[01;35m'
VP_CYAN='\033[01;36m'
VP_WHITE='\033[01;37m'