Title = wt
Command = cmd.exe
Arguments = /c start wt -w $(SolutionFileName) --title "$(ProjectFileName)" -d "$(ProjectDir)"
Initial Directory = $(ProjectDir)
function prompt | |
>> { | |
>> Write-Host ("PS " + $(get-date) +">") -nonewline -foregroundcolor White | |
>> return " " | |
>> } |
//index.razor | |
@page "/" | |
@using HtmlAgilityPack | |
@using Microsoft.AspNetCore.Components.RenderTree | |
@using Microsoft.AspNetCore.Components.Rendering | |
@using System.Text.RegularExpressions | |
@using System.Reflection | |
@*<SurveyPrompt Title="How is Blazor working for you?" />*@ |
#prerequire config ssh public key | |
$dateStamp = Get-Date -UFormat "%Y-%m-%d_%H-%M-%S" | |
$host_destination = "~/web/WebApp/bin/Release/net5.0" | |
$host_name = "hostname.com" | |
$Host.PrivateData.ErrorBackgroundColor = "Red" | |
$Host.PrivateData.ErrorForegroundColor = "White" | |
echo '>>Deploy' |
server { | |
#listen 80; | |
set $root_path '/var/www/wordpress/'; | |
root $root_path; | |
index index.php; # index defined to be served under directory | |
server_name _; | |
include d_ssl; |
using namespace System.IO | |
$oneDriveDir = 'C:\Users\D\OneDrive\AMAI\Share\MR' | |
Write-Output "copy apk" | |
$dateStamp = Get-Date -UFormat "%Y-%m-%d_%H-%M-%S" | |
$fName = 'src-cordova\platforms\android\app\build\outputs\apk\release\app-release.apk' |
<VirtualHost *:88> | |
ServerAdmin [email protected] | |
ServerName vk.localhost | |
ServerAlias vk.localhost | |
ProxyRequests off | |
<Proxy *> | |
Order deny,allow | |
Allow from all |
conky.config = { | |
alignment = 'top_right', | |
background = false, | |
border_width = 1, | |
cpu_avg_samples = 2, | |
default_color = 'cornflowerblue', | |
default_outline_color = 'white', | |
default_shade_color = 'white', | |
double_buffer = true, | |
draw_borders = false, |
//docker-build.ps1 | |
docker build --rm -f "Dockerfile" -t mdimai666/doc1:latest "." | |
//docker-run.ps1 | |
docker rm node1 -f | |
docker run --rm -d -p 3000:3000/tcp --name node1 mdimai666/doc1:latest | |
//scripts | |
"scripts": { | |
"dockerbuild": "pwsh docker-build.ps1", |
{ | |
"python.pythonPath": "${workspaceFolder}/../venv/Scripts/", | |
"editor.formatOnSave": true, | |
"python.autoComplete.extraPaths": [ | |
"${workspaceFolder}/../venv/Lib/site-packages/" | |
] | |
} |