What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-10-18 01:05:05
powershell script for database task to generate scripts
$Filepath='E:\MyScriptsDirectory' # local directory to save build-scripts to $DataSource='MyServer' # server name and instance $Database='MyDatabase'# the database to copy from # set "Option Explicit" to catch subtle errors set-psdebug -strict $... Add solution -
Swift 2021-10-12 05:59:05
swift xcode debug cannot see code backtrace
in Xcode 12 how you can switch from Backtrace to normal code view go to Menu Bar and Follow steps: => 'Debug' -> 'Debug Workflow' -> 'Always Show Disassembly' Click and ->uncheck "Always Show Disassembly" if checked Add solution -
C# 2021-10-11 02:45:10
setup authorize in swagger .net core
services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new Info { Title = "You api title", Version = "v1" }); c.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme { Description = @"J... Add solution -
Shell/Bash 2021-10-08 22:56:08
c# powershell commandlet
using System.Management.Automation; // Windows PowerShell assembly. namespace SendGreeting { // Declare the class as a cmdlet and specify the // appropriate verb and noun for the cmdlet name. [Cmdlet(VerbsCommunications.Send, "Greeting")... Add solution