src & target src: source code, target: compiled. (Most IMPORTANT PARTS of a PROJECT) The Bone : project | | | src | | | | main | | | java | | | resour ...
分类:
其他好文 时间:
2020-06-19 23:02:55
阅读次数:
63
主要分为四种弹窗: 一、showToast('普通弹出窗') wx.showToast(){ title:'提示文本' }在showToast中: title是必填的属性; duration:显示时间(默认1500毫秒) icon:显示图标 》 一个有三个参数: 1.success 2.loadin ...
分类:
微信 时间:
2020-06-19 21:19:14
阅读次数:
83
创建计算图 下面的代码在内存中创建一个默认计算图。 import tensorflow as tf x = tf.Variable(3, name="x") y = tf.Variable(4, name="y") f = x*x*y + y + 2 代码中声明了变量和函数,这将会在内存中创建一个默 ...
分类:
其他好文 时间:
2020-06-19 18:08:57
阅读次数:
54
问题背景: 在ubuntu18上装完mysql8后,初始化时没有给随机密码,也无法设置密码; 第一步:修改/etc/my.cnf配置文件,在[mysqld]ui后加上如下语句: skip-grant-tables 第二步免密登录到mysql上, 第三步:给root用户重置秘密; 3.1首先查看当前r ...
分类:
数据库 时间:
2020-06-19 15:59:55
阅读次数:
161
1.Windows-Preference 2.Java-Installed JREs 中选中JRE点edit 3.找到路径结尾为:lib\rt.jar左侧箭头展开 4.选择Source Attachment:(none)为其添加JDK目录,要添加的是src.zip 5.Finish后Apply an ...
分类:
系统相关 时间:
2020-06-19 14:18:52
阅读次数:
92
大前提:jdk8 允许lambda表达式 最好在maven中加入 <properties> <java.version>1.8</java.version> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.targ ...
分类:
其他好文 时间:
2020-06-19 14:18:33
阅读次数:
37
source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin if &diffopt !~# 'internal' set diffexpr=MyDiff() endif function MyDiff( ...
分类:
系统相关 时间:
2020-06-19 14:02:38
阅读次数:
62
Visual Studio 2015 出现 NuGet 安装程序包过程中出现An error occurred while retrieving package metadata for 'XXX' from source 'nuget . org'. 错误的解决方案。 是由于NuGet的版本过高引 ...
分类:
其他好文 时间:
2020-06-19 14:02:26
阅读次数:
114
MultiBinding(多路Binding) 当UI中的显示信息是由源Source中的多个数据来决定时,使用MultiBinding。他和Binding的区别是需要传递多个元数据,针对多个数据源需要使用一个转换机制类决定目标的属性。 转换器代码: public class ScanTimeConv ...
分类:
其他好文 时间:
2020-06-19 13:54:29
阅读次数:
49
1.在github中创建一个账号:https://github.com/join?source=header-home 2.下载并安装git:https://git-scm.com/downloads 3.安装成功后打开Git Bash,输入下列命令,设置git全局用户名和邮箱 + View Cod ...
分类:
Web程序 时间:
2020-06-19 12:28:21
阅读次数:
76