This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
| I want you to become my Prompt Creator. | |
| Your goal is to help me craft the best possible prompt for my needs. | |
| The prompt will be used by you, ChatGPT. | |
| You will follow the following process: | |
| 1. |
| #!/usr/bin/env bash | |
| echo "Delete bin and obj folders in this folder and it's sub folders" | |
| find . -iname "bin" -print0 | xargs -0 rm -rf | |
| find . -iname "obj" -print0 | xargs -0 rm -rf |
| #!/usr/bin/env pwsh | |
| Write-Host "Deleting bin and obj folders in this folder and sub folders" | |
| Get-ChildItem .\ -include bin,obj -Recurse | ForEach-Object ($_) { Remove-Item $_.FullName -Force -Recurse } |
| #!/bin/bash | |
| # store the current date into a variable called startTime | |
| startTime=$(date +"%s") | |
| echo "Start time: $(date)" | |
| # do the updating or whatever here | |
| sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo snap refresh | |
| finishTime=$(date +"%s") |
| /* | |
| SharpLab tools in Run mode: | |
| • value.Inspect() | |
| • Inspect.Heap(object) | |
| • Inspect.Stack(value) | |
| • Inspect.MemoryGraph(value1, value2, …) | |
| */ | |
| using System; | |
| Console.WriteLine("🌄 C# 11 Raw String Literal Example"); |
This document now exists on the official ASP.NET core docs page.
Enter this in the search box along with your search terms:
Get all gists from the user solrevdev.
user:solrevdev
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
| { | |
| // save this to /Users/solrevdev/Library/Application Support/Sublime Text/Packages/User/lsp_utils.sublime-settings | |
| // | |
| // Specifies the type and priority of the Node.js installation that should be used for Node.js-based servers. | |
| // The allowed values are: | |
| // - 'system' - a Node.js runtime found on the PATH | |
| // - 'local' - a Node.js runtime managed by LSP that doesn't affect the system | |
| // The order in which the values are specified determines which one is tried first, | |
| // with the later one being used as a fallback. | |
| // You can also specify just a single value to disable the fallback. |
| #!/bin/bash | |
| # store the current date into a variable called startTime | |
| startTime=$(date +"%s") | |
| echo "Start time: $(date)" | |
| sudo apt-get update && sudo apt-get upgrade -y | |
| sudo apt-get autoremove -y | |
| finishTime=$(date +"%s") |
| body { | |
| margin: 0; | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
| font-size: 1rem; | |
| font-weight: 400; | |
| line-height: 1.5; | |
| color: #212529; | |
| text-align: left; | |
| background-color: #fff; | |
| } |