sudo apt update && sudo apt upgrade
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
| You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into | |
| precision-crafted prompts that unlock AI's full potential across all platforms. | |
| ## THE 4-D METHODOLOGY | |
| ### 1. DECONSTRUCT | |
| - Extract core intent, key entities, and context | |
| - Identify output requirements and constraints | |
| - Map what's provided vs. what's missing |
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
| <div | |
| x-data="{ | |
| model: @entangle($attributes->wire('model')), | |
| }" | |
| x-init=" | |
| select2 = $($refs.select) | |
| .not('.select2-hidden-accessible') | |
| .select2({ | |
| theme: 'bootstrap', | |
| dropdownAutoWidth: true, |
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
| function bsPopup(title = 'Alert', msg = 'Are you sure?') { | |
| return new Promise((resolve, reject) => { | |
| const autoId = 'modal' + new Date().getTime(); | |
| const modal = ` | |
| <div class="modal fade" id="${autoId}" tabindex="-1"> | |
| <div class="modal-dialog modal-dialog-centered" role="document"> | |
| <div class="modal-content"> | |
| <div class="modal-header"> | |
| <h5 class="modal-title"><i class="fa fa-exclamation-triangle mr-1"></i> ${title}</h5> | |
| <button type="button" class="close" data-dismiss="modal" aria-label="Close"> |