This file contains hidden or 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
| <laravel-boost-guidelines> | |
| === foundation rules === | |
| # Laravel Boost Guidelines | |
| The Laravel Boost guidelines are specifically curated by Laravel maintainers for this application. These guidelines should be followed closely to enhance the user's satisfaction building Laravel applications. | |
| ## Foundational Context | |
| This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions. |
This file contains hidden or 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
| <? | |
| public function fetchGift(Request $request) | |
| { | |
| // todo: make it more secure | |
| return getGiftType($request->giftType); | |
| } | |
| private function getGiftType (String $giftType) | |
| { |
This file contains hidden or 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
| /** | |
| * Slug generator | |
| * | |
| */ | |
| const name = document.getElementById('name'); | |
| const slug = document.getElementById('slug'); | |
| if (name && slug) { | |
| // Init a timeout variable to be used below |
This file contains hidden or 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
| # ---------------------- | |
| # Aliases | |
| # ---------------------- | |
| alias clr=“clear” # Clear your terminal screen | |
| alias flush=“sudo discoveryutil udnsflushcaches” # Flush DNS (Yosemite) | |
| alias flush=“killall -HUP mDNSResponder” # Flush DNS (Mavericks, Mountain Lion, Lion) | |
| alias flush=“dscacheutil -flushcache” # Flush DNS (Snow Leopard, Leopard) | |
| alias ip=“dig +short myip.opendns.com @resolver1.opendns.com” # Your public IP address | |
| alias ll=“ls -al” # List all files in current directory in long list format | |
| alias ldir=“ls -al | grep ^d” # List all directories in current directory in long list format |