mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-28 06:08:02 -08:00
Compare commits
5 Commits
a5e53af15b
...
40d9908ce2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40d9908ce2 | ||
|
|
5ff48033e1 | ||
|
|
6c3b6ee90e | ||
|
|
0367462d4d | ||
|
|
cb9ca87a4b |
@@ -8,6 +8,8 @@
|
||||
// MAIN.
|
||||
|
||||
php artisan clear-compiled // Remove the compiled class file
|
||||
php artisan db // Start a new database CLI session
|
||||
php artisan docs // Access the Laravel documentation
|
||||
php artisan down // Put the application into maintenance mode
|
||||
php artisan dump-server // Start the dump server to collect dump information.
|
||||
php artisan env // Display the current framework environment
|
||||
@@ -43,6 +45,9 @@ php artisan config:clear // Remove the configuration cache file
|
||||
// DB
|
||||
|
||||
php artisan db:seed // Seed the database with records
|
||||
php artisan db:show // Display information about the given database
|
||||
php artisan db:table // Display information about the given database table
|
||||
php artisan db:wipe // Drop all tables, views, and types
|
||||
|
||||
// EVENT
|
||||
|
||||
@@ -54,9 +59,10 @@ php artisan key:generate // Set the application key
|
||||
|
||||
// MAKE
|
||||
|
||||
php artisan make:auth // Scaffold basic login and registration views and routes
|
||||
php artisan make:cast // Create a new custom Eloquent cast class
|
||||
php artisan make:channel // Create a new channel class
|
||||
php artisan make:command // Create a new Artisan command
|
||||
php artisan make:component // Create a new view component class
|
||||
php artisan make:controller // Create a new controller class
|
||||
php artisan make:event // Create a new event class
|
||||
php artisan make:exception // Create a new custom exception class
|
||||
@@ -74,6 +80,7 @@ php artisan make:provider // Create a new service provider class
|
||||
php artisan make:request // Create a new form request class
|
||||
php artisan make:resource // Create a new resource
|
||||
php artisan make:rule // Create a new validation rule
|
||||
php artisan make:scope // Create a new scope class
|
||||
php artisan make:seeder // Create a new seeder class
|
||||
php artisan make:test // Create a new test class
|
||||
|
||||
@@ -86,6 +93,10 @@ php artisan migrate:reset // Rollback all database migrations
|
||||
php artisan migrate:rollback // Rollback the last database migration
|
||||
php artisan migrate:status // Show the status of each migration
|
||||
|
||||
// MODEL
|
||||
php artisan model:prune // Prune models that are no longer needed
|
||||
php artisan model:show // Show information about an Eloquent model
|
||||
|
||||
// NOTIFICATIONS
|
||||
|
||||
php artisan notifications:table // Create a migration for the notifications table
|
||||
@@ -100,13 +111,19 @@ php artisan package:discover // Rebuild the cached package manifest
|
||||
|
||||
// QUEUE
|
||||
|
||||
php artisan queue:batches-table // Create a migration for the batches database table
|
||||
php artisan queue:clear // Delete all of the jobs from the specified queue
|
||||
php artisan queue:failed // List all of the failed queue jobs
|
||||
php artisan queue:failed-table // Create a migration for the failed queue jobs database table
|
||||
php artisan queue:flush // Flush all of the failed queue jobs
|
||||
php artisan queue:forget // Delete a failed queue job
|
||||
php artisan queue:listen // Listen to a given queue
|
||||
php artisan queue:monitor // Monitor the size of the specified queues
|
||||
php artisan queue:prune-batches // Prune stale entries from the batches database
|
||||
php artisan queue:prune-failed // Prune stale entries from the failed jobs table
|
||||
php artisan queue:restart // Restart queue worker daemons after their current job
|
||||
php artisan queue:retry // Retry a failed queue job
|
||||
php artisan queue:retry-batch // Retry the failed jobs for a batch
|
||||
php artisan queue:table // Create a migration for the queue jobs database table
|
||||
php artisan queue:work // Start processing jobs on the queue as a daemon
|
||||
|
||||
@@ -116,9 +133,26 @@ php artisan route:cache // Create a route cache file for faster route r
|
||||
php artisan route:clear // Remove the route cache file
|
||||
php artisan route:list // List all registered routes
|
||||
|
||||
// SAIL
|
||||
|
||||
php artisan sail:install // Install Laravel Sail's default Docker Compose file
|
||||
php artisan sail:publish // Publish the Laravel Sail Docker files
|
||||
|
||||
// SANCTUM
|
||||
|
||||
php artisan sanctum:prune-expired // Prune tokens expired for more than specified number of hours.
|
||||
|
||||
// SCHEDULE
|
||||
|
||||
php artisan schedule:clear-cache // Delete the cached mutex files created by scheduler
|
||||
php artisan schedule:list // List the scheduled commands
|
||||
php artisan schedule:run // Run the scheduled commands
|
||||
php artisan schedule:test // Run a scheduled command
|
||||
php artisan schedule:work // Start the schedule worker
|
||||
|
||||
// SCHEMA
|
||||
|
||||
php artisan schema:dump // Dump the given database schema
|
||||
|
||||
// SESSION
|
||||
|
||||
@@ -128,6 +162,10 @@ php artisan session:table // Create a migration for the session database
|
||||
|
||||
php artisan storage:link // Create a symbolic link from "public/storage" to "storage/app/public"
|
||||
|
||||
// STUD
|
||||
|
||||
php artisan stub:publish // Publish all stubs that are available for customization
|
||||
|
||||
// VENDOR
|
||||
|
||||
php artisan vendor:publish // Publish any publishable assets from vendor packages
|
||||
|
||||
146
tools/markdown.md
Normal file
146
tools/markdown.md
Normal file
@@ -0,0 +1,146 @@
|
||||
<!-- ----------- Markdown Cheat sheet -----------------------------------------
|
||||
|
||||
Markdown is a lightweight markup language for creating formatted text
|
||||
using a plain-text editor. John Gruber created Markdown in 2004 as a markup
|
||||
language that is appealing to human readers in its source code form. Markdown
|
||||
is widely used in blogging, instant messaging, online forums, collaborative
|
||||
software, documentation pages, and readme files.
|
||||
------------------------------------------------------------------------------->
|
||||
|
||||
<!-- Headings -->
|
||||
|
||||
<!-- To create a heading, add number signs (#) in front of a word or phrase. The number of
|
||||
number signs you use should correspond to the heading level. -->
|
||||
|
||||
<!-- Example: -->
|
||||
### The Nile River is the largest river in the world.
|
||||
|
||||
|
||||
| Explanation | Syntax |
|
||||
| --- | --- |
|
||||
| Heading level 1 | # Example of heading level 1 |
|
||||
| Heading level 2 | ## Example of heading level 2 |
|
||||
| Heading level 3 | ### Example of heading level 3 |
|
||||
| Heading level 4 | #### Example of heading level 4 |
|
||||
| Heading level 5 | ##### Example of heading level 5 |
|
||||
| Heading level 6 | ###### Example of heading level 6 |
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
|
||||
<!-- Paragraphs -->
|
||||
|
||||
<!-- To create paragraphs, use a blank line to separate one or more lines of text. -->
|
||||
|
||||
|
||||
| Markdown | HTML |
|
||||
| --- | --- |
|
||||
| Example of Paragraph | <p> Example of Paragraph </p> |
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Bold and Italic text -->
|
||||
|
||||
<!-- To bold text, add two asterisks or underscores before and after a word or phrase. To bold
|
||||
the middle of a word for emphasis, add two asterisks without spaces around the letters.
|
||||
|
||||
To italicize text, add one asterisk or underscore before and after a word or phrase. To italicize
|
||||
the middle of a word for emphasis, add one asterisk without spaces around the letters. -->
|
||||
|
||||
|
||||
| Bold text | Italic text |
|
||||
| --- | --- |
|
||||
| **Javascript** is popular programming language |*Javascript* is popular programming language |
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Blockquotes and Nested Blockquotes -->
|
||||
|
||||
<!-- To create a blockquote, add a > in front of a paragraph. -->
|
||||
|
||||
> The Nile River is the largest river in the world.
|
||||
|
||||
<!-- Blockquotes can be nested. Add a >> in front of the paragraph you want to nest. -->
|
||||
|
||||
>> The Mount Everest is the highest mountain in the world.
|
||||
|
||||
|
||||
|
||||
| Blockquote | Nested Blockquote |
|
||||
| --- | --- |
|
||||
| > This is a blockquote | >> This is a nested blockquote |
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Ordered Lists and Unordered Lists -->
|
||||
|
||||
<!-- You can organize items into ordered and unordered lists. -->
|
||||
|
||||
|
||||
<!-- Example of Ordered Lists -->
|
||||
1. First item
|
||||
2. Second item
|
||||
3. Third item
|
||||
1. Indented item
|
||||
2. Indented item
|
||||
4. Fourth item
|
||||
|
||||
|
||||
<!-- Example of Unordered Lists -->
|
||||
- First item
|
||||
- Second item
|
||||
- Third item
|
||||
- Indented item
|
||||
- Indented item
|
||||
- Fourth item
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Code -->
|
||||
|
||||
<!-- To denote a word or phrase as code, enclose it in backticks (`). -->
|
||||
|
||||
<!-- Example -->
|
||||
The `pwd` command writes to standard output the full path name of your current directory
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Horizontal Rules -->
|
||||
|
||||
<!-- To create a horizontal rule, use three or more asterisks (***), dashes (---), or
|
||||
underscores (___) on a line by themselves. -->
|
||||
|
||||
|
||||
<!-- Example -->
|
||||
|
||||
**********
|
||||
----------
|
||||
__________
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Links -->
|
||||
|
||||
<!-- To create a link, enclose the link text in brackets and then follow it immediately with the URL in parentheses -->
|
||||
|
||||
<!-- Example -->
|
||||
|
||||
[Wikipedia](https://wikipedia.com) is a free online encyclopedia, created and edited by volunteers around the world and hosted by the Wikimedia Foundation.
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Images -->
|
||||
|
||||
<!-- To add an image, add an exclamation mark (!), followed by alt text in brackets, and the path or
|
||||
URL to the image asset in parentheses. You can optionally add a title in quotation marks after the path or URL. -->
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
BIN
tools/markdown.png
Normal file
BIN
tools/markdown.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Reference in New Issue
Block a user