1.窗口操作 1.在当前窗口打开,可后退 HTML: <a href="url" target="_self"> JS: open("url","_self") 2.在当前窗口打开,禁止后退 JS: location.replace("新url") //用新url代替history中当前地址 3.在 ...
分类:
其他好文 时间:
2020-12-15 12:14:32
阅读次数:
3
1.安装依赖项 [compiler] sudo apt-get install build-essential [required] sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat- ...
分类:
系统相关 时间:
2020-12-15 12:08:24
阅读次数:
4
通过c#代码创建SDF数据库文件 // 创建SDF文件,文件路径:c:\test.sdf SqlCeEngine engine = new SqlCeEngine(@"Data Source = c:\test.sdf"); engine.CreateDatabase(); engine.Dispo ...
分类:
数据库 时间:
2020-12-15 11:49:48
阅读次数:
3
fcntl.h 头文件,file control的缩写。 int open(const char *path, int oflag) int openat(int fd, const char *path, int oflag) 将准备打开的文件或是设备的名字作为参数path传给函数,oflags用 ...
分类:
系统相关 时间:
2020-12-14 13:52:10
阅读次数:
8
P1679 神奇的四次方数 取还是不取,取的话取多少,完全背包. 注意初始化的问题. 完全背包问题,dp[i][j]表示前i个数(第i个数即为i4)中j的最小分解位数.比如(压维后)dp[1] = 1, dp[2] = 2(即14 + 14),dp[17] = 2(即24 + 14), dp[706 ...
分类:
其他好文 时间:
2020-12-14 13:44:48
阅读次数:
4
本文操作Excel使用的是poi方式 pom中引用需要的jar包 <!--poi operate excel--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>RELEASE ...
分类:
编程语言 时间:
2020-12-14 13:42:28
阅读次数:
6
背景项目组游戏希望接入华为的应用外支付功能,在华为应用市场的本游戏详情页点击商品支付,通过DeepLink链接从华为应用市场跳转至本游戏支付详情页,传递支付商品ID进行购买。参考文档:https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/appgallerykit-devguide-ga
分类:
其他好文 时间:
2020-12-14 13:20:11
阅读次数:
5
背景使用zsh,就是为了提高在使用命令行时的工作效率。安装zsh终端执行brewinstallzsh终端执行vim~/.bash_profile命令,打开.bash_profile文件如果没有vim,请自行安装在打开的文件中,添加source~/.zshrc,确保每次启动终端时,zsh都会生效保存,并关闭即可终端执行source~/.zshrc,确保本次就可以生效zsh常用快捷键常用编辑操作ctr
分类:
系统相关 时间:
2020-12-14 13:19:42
阅读次数:
4
从端口读数据读取到本地文件 #1.给三个组件命名 a3.sources = r1 a3.channels = c1 a3.sinks = k1 #2.给source组件属性赋值 a3.sources.r1.type = avro a3.sources.r1.bind = hadoop102 a3.s ...
分类:
Web程序 时间:
2020-12-14 12:51:33
阅读次数:
7
用python实现excel中查找指定字符的行信息 strr # 字符串 or 字符 filename # 文件名路径 with open(filename,'r') as fp: for line in fp: if strr in line: print (line.rows) 将会输出exce ...
分类:
编程语言 时间:
2020-12-11 12:33:36
阅读次数:
21