Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
This gist assumes:
www-data
(may be apache
on other systems)Available commands: | |
clear-compiled Remove the compiled class file | |
down Put the application into maintenance mode | |
env Display the current framework environment | |
help Displays help for a command | |
inspire Display an inspiring quote | |
list Lists commands | |
migrate Run the database migrations | |
optimize Cache the framework bootstrap files | |
serve Serve the application on the PHP development server |
<form hx-post="/api/form" | |
hx-trigger="submit"> | |
<input type="text" | |
name="username" | |
placeholder="Enter your username"> | |
<button type="submit">Submit</button> | |
</form> |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
<cffunction | |
name="ColorCode" | |
access="public" | |
returntype="string" | |
output="false" | |
hint="This takes code samples and color codes for display."> | |
<!--- Define arguments. ---> | |
<cfargument name="Code" type="string" required="true" /> |