04 2020 档案
摘要:参考:Prevent WPF window flicker You can use a transparent window (AllowTransparency = True) with a grid, then when your control needs to be hidden you c
阅读全文
摘要:https://blog.csdn.net/qq_35799003/article/details/70226547 这是官网直译的标题,用我们容易理解的就是通过shade插件我们可以为生成的那个jar包选择包含哪些依赖以及排除哪些依赖。1. 支持两种操作include和exclude2. 配置格式
阅读全文
摘要:定义资源: <ResourceDictionary> <xcad:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" /> <ContextMenu x:Key="DocumentContextMenu"> <MenuItem Co
阅读全文
摘要:参考:https://www.jb51.net/article/160965.htm(不知道原文真正的出处,发点牢骚,网上好多乱抄的,有些网站乱扒别人的内容放自己网站上太鸡贼了,你那个布局乱七八糟的网站谁有心情看) File -> Line Separators -> LF CR:Carriage
阅读全文
摘要:在VS2015中如果源代码管理选择了git,在某些情况下,如系统更新、开启了杀毒软件,可能会导致在VS2015中编写代码,启动/结束调试时卡死(未响应),解决办法就是将源代码管理置为无。 其实,当VS2015因为使用git做源代码管理而变卡时,启动git bash也会很慢。 4.12补充 关闭源代码
阅读全文
摘要:来源:How to I access an attached property in code behind? Q: I have a rectangle in my XAML and want to change its Canvas.Left property in code behind: <
阅读全文
摘要:来源:https://www.jianshu.com/p/aec23e5f2301 关键: 复制,将数据库信息导出到the_backup.sql文件 pg_dump the_db_name > the_backup.sql 然后恢复,将the_backup.sql数据库信息导入其他数据库 psql
阅读全文
摘要:来源:https://www.cnblogs.com/louissica/p/10824938.html 方法1--系统命令: 如果数据库的名称为数字,则需要方法1 sudo su -postgres # 切换到postgres用户(系统用户) create db_name # 创建数据库 crea
阅读全文
摘要:postgres=# help You are using psql, the command-line interface to PostgreSQL. Type: \copyright for distribution terms \h for help with SQL commands \?
阅读全文
摘要:来源:https://www.cnblogs.com/duanxz/p/3994597.html 添加用户:useradd -m 用户名 然后设置密码 passwd 用户名 1. 在root权限下,useradd只是创建了一个用户名,如 (useradd +用户名 ),它并没有在/home目录下创建
阅读全文
摘要:来源:Linux系统使用userdel命令删除用户 https://blog.csdn.net/heming6666/article/details/78916620 完全删除用户家目录 不带选项使用 userdel,只会删除用户。用户的家目录将仍会在/home目录下。 当我们进入/home目录时,
阅读全文
摘要:任务实例日志只有一行: [INFO] 2020-04-01 16:49:37.498 - [taskAppId=TASK-22-424-438]:[109] - -> sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit
阅读全文
摘要:首先发现的问题是在Windows上使用客户端工具登录到docker容器失败了: 检查了docker容器映射的端口,确认了客户端工具所设置的ssh端口没问题。 然后在docker的宿主机上使用ssh -v root@172.17.0.2连接到客户端,发现在 debug1: SSH2_MSG_NEWKE
阅读全文