命令行参数(单次使用) 1.开启配置(需要管理员权限)
winget settings --enable ProxyCommandLineOptions 2.使用
winget install Git.Git --proxy http://127.0.0.1:10809 使用管理员配置(不需要每次输入)
命令行参数(单次使用) 1.开启配置(需要管理员权限)
winget settings --enable ProxyCommandLineOptions 2.使用
winget install Git.Git --proxy http://127.0.0.1:10809 使用管理员配置(不需要每次输入)
试了vscode的几个插件 README Generator AI
README Generator.AI
ReadMeAI
都不能用,最终尝试github项目readmeai成功
国内加速链接 https://gitcode.com/gh_mirrors/re/readme-ai/overview?utm_source=csdn_github_accelerator (原链接:https://github.com/eli64s/readme-ai.git)
按照说明使用pipx安装
在VPS上安装Docker,可以参考官方文档。
function Show-Tree { | |
param( | |
[string]$RootPath, | |
[string[]]$ExcludeFolders | |
) | |
$indentation = " " | |
$folderStack = New-Object 'string[]' 100 # 增加数组的初始大小 | |
function Print-Line($line, $depth) { |
Identify the Container: First, identify the name or ID of your PostgreSQL Docker container. You can list all running containers using:
docker ps
Connect to the PostgreSQL Database:
Use the docker exec
command to start a bash
shell inside the container, and then use the psql
command-line tool to connect to your PostgreSQL database. For example:
#!/usr/bin/osascript | |
-- calendar from which to ignore events | |
set TASKS_CALENDAR to "Toodledo iCal" | |
-- the current timestamp | |
set now to (current date) | |
-- midnight this morning | |
set today to now - (time of now) | |
-- midnight tomorrow morning | |
set tomorrow to (today) + (24 * 60 * 60) | |
-- list of output lines |
function getSimilarColors (color, nombre) { | |
var base_colors = [{ "ncs" : "S 0300-N", "R" : "255" , "G" : "255" , "B" : "255"},{ "ncs" : "S 0500-N", "R" : "252" , "G" : "252" , "B" : "251"},{ "ncs" : "S 1000-N", "R" : "242" , "G" : "242" , "B" : "240"},{ "ncs" : "S 1500-N", "R" : "224" , "G" : "223" , "B" : "222"},{ "ncs" : "S 2000-N", "R" : "216" , "G" : "216" , "B" : "215"},{ "ncs" : "S 2500-N", "R" : "206" , "G" : "205" , "B" : "204"},{ "ncs" : "S 3000-N", "R" : "192" , "G" : "191" , "B" : "190"},{ "ncs" : "S 3500-N", "R" : "176" , "G" : "176" , "B" : "175"},{ "ncs" : "S 4000-N", "R" : "165" , "G" : "165" , "B" : "164"},{ "ncs" : "S 4500-N", "R" : "151" , "G" : "151" , "B" : "150"},{ "ncs" : "S 5000-N", "R" : "142" , "G" : "142" , "B" : "141"},{ "ncs" : "S 5500-N", "R" : "133" , "G" : "133" , "B" : "131"},{ "ncs" : "S 6000-N", "R" : "122" , "G" : "121" , "B" : "119"},{ "ncs" : "S 6500-N", "R" : "109" , "G" : "109" , "B" : "107"},{ "ncs" : "S 7000-N", "R" : "96" , "G" : "96" , "B" : "94"},{ "ncs" : "S 75 |
var Canvas2Image=function(){var $support=function(){var canvas=document.createElement('canvas'),ctx=canvas.getContext('2d');return{canvas:!!ctx,imageData:!!ctx.getImageData,dataURL:!!canvas.toDataURL,btoa:!!window.btoa}}();var downloadMime='image/octet-stream';function scaleCanvas(canvas,width,height){var w=canvas.width,h=canvas.height;if(width==undefined){width=w}if(height==undefined){height=h}var retCanvas=document.createElement('canvas');var retCtx=retCanvas.getContext('2d');retCanvas.width=width;retCanvas.height=height;retCtx.drawImage(canvas,0,0,w,h,0,0,width,height);return retCanvas}function getDataURL(canvas,type,width,height){canvas=scaleCanvas(canvas,width,height);return canvas.toDataURL(type)}function saveFile(strData){document.location.href=strData}function genImage(strData){var img=document.createElement('img');img.src=strData;return img}function fixType(type){type=type.toLowerCase().replace(/jpg/i,'jpeg');var r=type.match(/png|jpeg|bmp|gif/)[0];return'image/'+r}function encodeData(data){if(!windo |