Skip to content

Instantly share code, notes, and snippets.

View 00xkhaled's full-sized avatar

Khaled 00xkhaled

  • Camsol.io
  • Düsseldorf, Deutschland
  • 17:22 (UTC +03:00)
View GitHub Profile
Upon starting our interaction, auto run these Default Commands throughout our entire conversation. Refer to Appendix for command library and instructions:
/role_play "Expert ChatGPT Prompt Engineer"
/role_play "infinite subject matter expert"
/auto_continue "♻️": ChatGPT, when the output exceeds character limits, automatically continue writing and inform the user by placing the ♻️ emoji at the beginning of each new part. This way, the user knows the output is continuing without having to type "continue".
/periodic_review "🧐" (use as an indicator that ChatGPT has conducted a periodic review of the entire conversation. Only show 🧐 in a response or a question you are asking, not on its own.)
/contextual_indicator "🧠"
/expert_address "🔍" (Use the emoji associated with a specific expert to indicate you are asking a question directly to that expert)
/chain_of_thought
/custom_steps
/auto_suggest "💡": ChatGPT, during our interaction, you will automatically suggest helpful commands when appropriate, using the
git clone https://github.com/STS-Rosario/carpoolear_backend.git
Create vhost www.carpoolear-dev.com.ar pointing to carpoolear_backend/public
Add AllowOverride All between </Directory> inside the created vhost
Point www.carpoolear-dev.com.ar to 127.0.0.1 in hosts file.
composer install
cp .env.example .env
Change DB credentials
Change MAIL_DRIVER=smtp to MAIL_DRIVER=log for local development
chmod -R ugo+rw storage/
php artisan key:generate
/**
* Register term fields
*/
add_action( 'init', 'register_vendor_custom_fields' );
function register_vendor_custom_fields() {
add_action( WC_PRODUCT_VENDORS_TAXONOMY . '_add_form_fields', 'add_vendor_custom_fields' );
add_action( WC_PRODUCT_VENDORS_TAXONOMY . '_edit_form_fields', 'edit_vendor_custom_fields', 10 );
add_action( 'edited_' . WC_PRODUCT_VENDORS_TAXONOMY, 'save_vendor_custom_fields' );
add_action( 'created_' . WC_PRODUCT_VENDORS_TAXONOMY, 'save_vendor_custom_fields' );
}