DECLARE rs CURSOR LOCAL SCROLL FOR SELECT RowIndex,Name FROM Real_CIU_VesselGeometry_CellSectionOPEN rsFETCH NEXT FROM rs INTO @tempRowIndex,@tempName ...
分类:
数据库 时间:
2020-12-08 12:23:54
阅读次数:
7
1、首先新建分支: git branch testOne 2、等到提交代码的时候,到git push的时候发现,git给了个这样的提示: fatal: The current branch testOne has no upstream branch.To push the current bran ...
分类:
其他好文 时间:
2020-12-07 12:30:34
阅读次数:
5
1、监听滚动事件 利用VUE写一个在控制台打印当前的scrollTop, 首先,在mounted钩子中给window添加一个滚动滚动监听事件, mounted () { window.addEventListener('scroll', this.handleScroll) }, 然后在方法中,添加 ...
分类:
其他好文 时间:
2020-12-07 12:09:03
阅读次数:
3
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title> /***外部引入的js文件,可以直接使用,主要是使用在下面的common.js中 * Created by Administrator on 2016/7/2 ...
分类:
其他好文 时间:
2020-12-07 11:56:14
阅读次数:
6
# 设置输出结果列对齐 pd.set_option('display.unicode.ambiguous_as_wide',True) pd.set_option('display.unicode.east_asian_width',True) #用来正常显示中文标签 plt.rcParams['f ...
分类:
其他好文 时间:
2020-12-05 10:54:19
阅读次数:
8
什么是内存对齐 以一个例子来说明,以64位系统为例 type test struct { a int32 b byte } func main() { fmt.Println(unsafe.Sizeof(test{})) // 8 } 理论上int32占4个字节,byte占一个字节,test结构体应 ...
分类:
其他好文 时间:
2020-12-02 12:22:43
阅读次数:
4
题目 Petya has equal wooden bars of length n. He wants to make a frame for two equal doors. Each frame has two vertical (left and right) sides of length ...
分类:
其他好文 时间:
2020-11-30 16:00:25
阅读次数:
6
今天有写过一个基于go-simple-mail 发送email 的demo,主要是复用连接,但是发现有问题,后边尝试了下 gomail,发现很不错没有问题,通过分析代码,还是go-simple-mail 实现上的问题 gomail参考demo 大部分不变,主要是修改关于email 发送的实现 参考代 ...
分类:
其他好文 时间:
2020-11-25 13:03:10
阅读次数:
18
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted i ...
分类:
其他好文 时间:
2020-11-25 12:59:50
阅读次数:
14
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
分类:
其他好文 时间:
2020-11-20 12:00:39
阅读次数:
9