比如同步供应商数据: CREATE TABLE jd_unit( id varchar2(64) primary key, unit_name varchar2(500), unit_code varchar2(500), is_enable char(1), create_time timesta ...
分类:
数据库 时间:
2020-12-02 11:58:15
阅读次数:
9
shell是弱类型语言如何查看linux支持哪些shell:cat/etc/shells
分类:
系统相关 时间:
2020-12-02 11:57:06
阅读次数:
7
思路:date-d"-12hours"+%H判断时间#!/bin/bashd=`date+%H`if[$d-ge0-a$d-lt7];thentag=1elif[$d-ge7-a$d-lt12];thentag=2elif[$d-ge12-a$d-lt18];thentag=3elsetag=4ficase$tagin1)echo"earlyinthemorning!";;2)echo"Goodm
分类:
其他好文 时间:
2020-12-02 11:52:58
阅读次数:
3
前阵子有人和我反馈说,我写的大部分算法都有点难度,好多都是没听说过的,有点冷门,不过,写的很不错。不过说实话,我好像写的大部分算法、都不是那么的常见,也具有一定的难度,也都不是热门算法。主要是我觉得,那些热门的算法,例如二分查找、链表逆序、深度遍历等各种,对应的文章太多了,感觉你们应该都看过,应该也都懂,所以我就没打算写了。不过,可能是我想多了,我问了一些人,发现还是挺多人对很多热门算法不是很懂的
分类:
编程语言 时间:
2020-12-01 12:43:52
阅读次数:
20
code macname@localhost Desktop % cat content fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the lazy dog. fox jumps over the ...
分类:
系统相关 时间:
2020-12-01 12:32:52
阅读次数:
24
今天用wireshark抓取TCP连接时的报文发现客户端的Win变大了,这里是使用了Window Scale来扩张TCP接收窗口,使得接收窗口可以大于65535字节。 首先1号包是TCP第一次握手连接时客户端的请求包,客户端如果窗口大于65535,那么就先将Window size value设置为6 ...
分类:
其他好文 时间:
2020-12-01 12:31:38
阅读次数:
9
算法实现 public function caleResult() { $data = [ ['id' => 1, 'name' => '一等奖', 'weight' => 5], ['id' => 2, 'name' => '二等奖', 'weight' => 10], ['id' => 3, ' ...
分类:
编程语言 时间:
2020-12-01 12:26:55
阅读次数:
6
1.data参数 data是可选的,需要使用bytes()方法将参数转化为字节编码格式的内容。如果传递了这个参数,请求方式就不是GET方式,而是POST方式。 import urllib.parse import urllib.request data = bytes(urllib.parse.ur ...
分类:
Web程序 时间:
2020-12-01 12:20:44
阅读次数:
10
/** * Note: The returned array must be malloced, assume caller calls free(). */ #define MAX_IP_ADR 1000 #if 0 int IsValid(char* s, int i, int j) { int ...
分类:
其他好文 时间:
2020-12-01 12:10:43
阅读次数:
10
int countLargestGroup(int n){ int hash[37]={0}; int map[10001]={0}; int i, sum, tmp, max=0, cnt=0; for(i=1; i<=n; i++){ map[i]=map[i/10]+i%10; hash[ma ...
分类:
其他好文 时间:
2020-12-01 12:05:58
阅读次数:
4