ICode9

精准搜索请尝试: 精确搜索
  • 利用py批量下载文件,并且给文件分类!2020-12-09 15:31:01

    因为微信小程序的云开发,并没有类似于批量导出的函数,但是又想要将云存储中的相关文件批量下载下来。 思路 一、 尝试用nodejs遍历文件夹下载之后,发现 1、没办法判断云服务器的存储路径 2、nodejs添加图片并打包是要把图片转换为base64编码的。 二、 将所有要下载的文件的云存储地

  • 【leetcode_easy_stack】1598. Crawler Log Folder2020-12-02 08:01:24

    problem 1598. Crawler Log Folder solution#1: 使用stack; code   solution#2:  code     参考 1. leetcode_easy_stack_1598. Crawler Log Folder; 完

  • [Tools] API Extractor Setup for Typescript2020-11-23 03:31:30

    https://github.com/mike-north/professional-ts/blob/master/notes/04-mikes-ts-setup.md#api-surface-report--docs Install: yarn add -D @microsoft/api-extractor @microsoft/api-documenter   Step1: yarn api-extractor init It creates api-extractor.json fil

  • 00008 eclipse里面source folder与package区别2020-11-14 15:32:00

    本文系转载:https://blog.csdn.net/u014079773/article/details/66973910 在eclipse下package,source folder,folder都是文件夹 ,如下截图所示: 由上面的截图发现创建文件的图标显示不用,注意区别。 它们的区别如下:   package:当你在建立一个package时,它自动建立到source fold

  • 常用软件合集2020-11-06 14:33:21

    截图软件 Snipaste 官网地址 文件夹改色工具 Folder Painter 下载地址暂不设置

  • eclipse package,source folder,folder区别及相互转换2020-11-03 20:35:32

    下面参考了其他博客, 自己写下加深印象: 在eclipse下,package,source folder,folder都是文件夹.  它们的区别如下:  package:当你在建立一个package时,它自动建立到source folder下,也只能建立在这个目录之下.  source folder:存放java源代码的文件夹,当然也包括一些package

  • #shell判断文件夹是否存在2020-10-30 19:35:38

    #shell判断文件夹是否存在 #如果文件夹不存在,创建文件夹if [ ! -d "/myfolder" ]; then mkdir /myfolderfi #shell判断文件,目录是否存在或者具有权限 folder="/var/www/"file="/var/www/log" # -x 参数判断 $folder 是否存在并且是否具有可执行权限if [ ! -x "$folder"]; then

  • Java递归取得文件夹下全部文件2020-09-11 10:03:01

    最近上网发现网上这种基础的代码都写得乱糟糟的,特别蒙蔽,自己撸了一段递归,欢迎留言升级。 //* * folder 你想取得哪个的文件夹下的所有文件 * resultFileList 结果集 * *// public void getAllFile(File folder, List<File> resultFileList) { if (folder.isDirectory()) {

  • PowerDesigner Name 和 Comment 的互相转换2020-07-22 14:32:05

    原文:https://blog.csdn.net/markguo_/article/details/48289425 1、执行方法 路径:Open PDM -> Tools -> Execute Commands -> Run Script 2、Comment 转换为 Name Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl 'the current m

  • 1233. Remove Sub-Folders from the Filesystem2020-07-22 12:01:24

    Given a list of folders, remove all sub-folders in those folders and return in any order the folders after removing. If a folder[i] is located within another folder[j], it is called a sub-folder of it. The format of a path is one or more concatenated

  • SVGO: Node.js 开发的 SVG 矢量图优化工具(svg压缩工具)2020-07-01 19:08:44

    SVG图片压缩 这是个通过借助npm包的一种方式去压缩svg的图片,由于阿里的图库自己创建的图标有大小的限制,当我们想要自己用自己的图标的时候就可以使用这种方式去完成对svg的图片压缩。 1、下载node.js (地址:https://nodejs.org/zh-cn/) 即前提,必须本地部署好npm,否则就跑不起来。 2、

  • C# 将指定目录下的文件夹名称加载到下拉框中2020-06-19 10:03:41

    1.添加下拉框控件命名为‘comboBoxModelPCB’      2.添加代码 RobotProfile RobotProfile1 = new RobotProfile();//实例化 DirectoryInfo folder = new DirectoryInfo(RobotProfile1.robotProfilePath);//new文件夹 foreach (DirectoryInfo dir in

  • C#(99):获取应用程序 或Web页面目录的路径2020-06-15 15:51:59

    一、Winform获取本程序的路径 1、获取当前目录 返回最后不带“\”的目录:如D:\Winform\bin\Debug   System.Windows.Forms.Application.StartupPath; System.Environment.CurrentDirectory; System.IO.Directory.GetCurrentDirectory();   返回最后带“\”的目录(AppDomain应用

  • ASP.NET / C# / CODING / SERVERS & SERVICES / WEB Unable to launch the IIS Express Web server error o2020-06-08 17:08:34

    Delete the \Documents\IISExpress folder using the following console command: rmdir /s /q "%userprofile%\Documents\IISExpress" Delete the applicationhost.config file which is placed within the \.vs\Config\ folder in your Visual Studio proj

  • powerDesigner逆向生成模型注释设置到name2020-06-01 13:06:21

    Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl ' the current model ' get the current active model Set mdl = ActiveModel If (mdl Is Nothing) Then

  • resstFul服务文件上传下载2020-06-01 09:52:26

    resstFul服务文件上传下载 上传 在测试类中使用MocekMvc伪造上传文件请求 @RunWith(SpringRunner.class) @SpringBootTest(classes = DemoApplication.class) public class UserControllerTest { @Autowired private WebApplicationContext wac; private MockMvc mockMvc;

  • powerdesigner 名称、注释互转2020-05-31 20:54:29

    依次执行 1 - 5 步,实现 注释转名称 或者名称转注释,两个转换脚本附上       1. 名称转注释脚本: Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl ' the current model ' get the current active model Set mdl = ActiveModel If (mdl Is Nothi

  • 创建Node.js TypeScript后端项目 demo2020-05-27 11:04:11

    egret-protobuf 创建Node.js TypeScript后端项目,里面包含了protobuf版本3、egret项目、前后端WebSocket。 1、安装Node.js扩展,支持TypeScript语法 npm install -g typescript 2、创建项目目录project_folder,为项目的*.ts添加API代码提示   mkdir project_folder   cd project_

  • powerdesigner反向生成er图后中文注释调整2020-05-06 22:07:38

    生成ER图之后,一般是这样的,很简单的表名、字段值、字符类型,但是事实上这样很蠢,没有注释的话完全没有办法给别人看嘛!要是给领导看,怕是要被当场打死。      所以要加注释,加注释需要一个脚本,脚本我已经传到CSDN资源了,这里是连接http://download.csdn.net/download/qq_17010367/1023

  • PowerDesigner显示mysql数据表注释2020-04-26 13:57:20

    通过Navicat或其他工具将表转为sql文件 例如下方这样 将sql表文件导入powerdesigner 下一步 下一步 确定后,产生如下模型 执行脚本 在对话框中执行如下脚本 Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim blankStr blankSt

  • c#解密pc微信图片2020-04-16 21:02:24

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; namespace wechat_image

  • shell中$(cd "$(dirname "$0")",pwd) 解析2020-04-07 17:58:45

    BIN_FOLDER = $(cd "$(dirname "$0")",pwd) 解析: 1、取当前运行脚本的所在路径: $0 2、取当前脚本所在路径的父目录: dirname "$0" 3、取返回的父目录的值: $(dirname "$0") 4、cd到返回的父目录: cd "$(dirname "$0")" 5、输出地址: cd "$(dirname "$0&qu

  • Cannot determine the location of the VS Common Tools folder2020-04-06 14:02:52

    最近在工作中,需要使用“ VS2015 开发人员命令提示 ”进行编译Boost,打开该工具时,界面会提示“ Cannot determine the location of the VS Common Tools folder ”。 通过跟踪定位批处理文件,问题原因应该是找不到路径,因为这个路径写入注册表的,那为什么会读不到呢?博主找了很

  • redis5.0.8 安装教程2020-04-05 13:01:41

    1.下载安装 我这里给出的linux系统redis安装,因为windows redis更新太慢,建议大家使用linux安装redis。 如果还没有linux,可以看我的前两篇 Vmware 15的安装教程 centos 8安装教程 redis官网下载 点击Download 物理机和虚拟之间复制文件需要VMware Tools 如果安装VMware Tools

  • macOS 一键启动 AS 内置 AVD2020-04-01 18:02:37

    前言 通常我们使用 AS 自带的 AVD 都是通过 run 一个项目来自动启动它的,并且该 AVD 在外部也没有相应的启动快捷方式,本文就介绍一下 Win、Mac 等平台下如何通过简单配置从外部一键启动 AS 内置 AVD,希望对你有所帮助。 1、通过 AS 创建 AVD 这一步无需多说,在 AS 内创建需要的模拟

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有