码迷,mamicode.com
首页 > 全部 > 周排行
0341. Flatten Nested List Iterator (M)
Flatten Nested List Iterator (M) 题目 Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list ...
分类:其他好文   时间:2020-06-28 09:23:02    阅读次数:45
删除数据-大表根据rowid来删除部分数据
偶遇需求,大表中需要删除部分数据。分批删除。 declare TYPE type_table_rowid IS TABLE OF ROWID INDEX BY BINARY_INTEGER;table_rowid type_table_rowid;CURSOR cur_tmp IS select r ...
分类:其他好文   时间:2020-06-28 09:23:19    阅读次数:65
scrapy 使用postgres异步存储代码
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scra ...
分类:其他好文   时间:2020-06-28 09:23:45    阅读次数:56
nginx 配置表单附件大小限制
nginx 默认只允许上传小于1M的文件,可在server参数的server_name项下配置client_max_body_size值修改大小限制: server { listen 80 default_server; listen [::]:80 default_server; listen 4 ...
分类:其他好文   时间:2020-06-28 09:23:59    阅读次数:75
JavaScript图形实例:星形条纹图案
1.星形条纹图案 星形线的笛卡尔坐标方程式为: x=r*cos(θ)^3 y=r*sin(θ)^3 (0≤θ≤2π) 圆的笛卡尔坐标方程式为: x=r*cos(θ) y=r*sin(θ) (0≤θ≤2π) 在星形线中绘制一个内接圆,再在内接圆中绘制一个内接星形线。编写如下的HTML代码。 <!DOC ...
分类:编程语言   时间:2020-06-28 09:24:12    阅读次数:80
DL/T 1848-2018 220kV和110kV变压器中性点过电压保护技术规范
点击下载该标准 标准编号:DL/T 1848-2018标准名称:220kV和110kV变压器中性点过电压保护技术规范英文名称:Guide for overvoltage protection of 220kV and 110kV transformer neutral points发布部门:国家能源 ...
分类:其他好文   时间:2020-06-28 09:24:34    阅读次数:362
使用Putty远程连接管理Linux实践
使用Putty远程连接管理Linux实践 0、专属图床 点此快速打开文章【图床_使用Putty远程连接管理Linux实践】 1、获取putty 官方下载地址【点我快速打开文章】 1.1 下载文件 官方下载的是 zip 压缩包,解压即可 温馨提示:若查看静图演示,请右键此处,选择【在新标签页中打开链接 ...
分类:系统相关   时间:2020-06-28 09:24:50    阅读次数:89
T0p_Gear
T0p_Gear 题目来源: DASCTF 六月赛 第一题 运行程序观察程序特征 首先,要注意,该程序的题目是给了一个压缩包,解压后,有一个TXT文件和一个elf文件 1.首先查看 txt文件 一堆乱码,没啥有用信息,啥也得不到;然后放到winhex等任意一个二进制文件查看器看一下; emmm看完我 ...
分类:其他好文   时间:2020-06-28 09:25:07    阅读次数:241
发现个利器--FastAPI(Py3.6+版本)
from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_i ...
分类:Windows程序   时间:2020-06-28 09:25:20    阅读次数:83
excel表格时间戳转时间格式
https://jingyan.baidu.com/article/63acb44afb1e2561fcc17e3f.html 单击要获得北京时间的那一列,右键,选择【设置单元格格式】,在弹出的窗口中,左侧选择 【日期】,右侧选择你想要的时间格式,点击确定。 选中其中一个单元格,输入公式 =(A2+ ...
分类:其他好文   时间:2020-06-28 09:25:35    阅读次数:64
Docker 网络:container模式
本文转自https://www.freeaihub.com/article/container-module-in-docker-network.html,该页可在线运行案例 在前一篇Docker 网络:host模式中我们已经介绍Docker网络模型中的host模式。本节将对Docker网络模型中的 ...
分类:其他好文   时间:2020-06-28 09:25:46    阅读次数:53
01-Mybatis是什么
Mybatis 是什么 MyBatis 本是 Apache 的一个开源项目——iBatis,2010 年这个项目由 Apache Software Foundation 迁移到了 Google Code,并且改名为 MyBatis。 MyBatis 是一个基于 Java 的持久层框架。MyBatis ...
分类:其他好文   时间:2020-06-28 09:26:00    阅读次数:44
技术学习博10
第十七周 补校园导游程序实践的删除和查询最短距离功能 删除景点 1 /*8删除景点*/ 2 void DelJD(SchoolMap *G){ 3 int i,j,dd,jishu=0; 4 5 printf("\n\t\t目前已有的景点:"); 6 for(i=1;i<=G->Vexnum;i++ ...
分类:其他好文   时间:2020-06-28 09:26:45    阅读次数:72
0343. Integer Break (M)
Integer Break (M) 题目 Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. R ...
分类:其他好文   时间:2020-06-28 09:27:07    阅读次数:43
C有趣的else if 变体
试了一下,下面👇的代码都是可以完美运行在Xcode上的,说明这些基本操作都是支持的,只是我们不知道而已... int x = 90; if (x > 100) { //... } else switch(x){ case 90:{ NSLog(@"x = %d",x); }break; } if ...
分类:其他好文   时间:2020-06-28 09:27:23    阅读次数:40
[LeetCode] 279. Perfect Squares
Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. Example 1: Input: n = 12 O ...
分类:其他好文   时间:2020-06-28 09:27:41    阅读次数:56
0345. Reverse Vowels of a String (E)
Reverse Vowels of a String (E) 题目 Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Input: "hello" Out ...
分类:其他好文   时间:2020-06-28 09:27:54    阅读次数:41
PTA 乙级 1010 一元多项式求导 (25分)
今天的题虽然简单,但是有个细节一定要注意,先放代码: 1 #include<iostream> 2 #include<vector> 3 using namespace std; 4 5 int main() { 6 int n = 0; 7 vector<int> num; //vector动态处 ...
分类:其他好文   时间:2020-06-28 09:28:34    阅读次数:42
[Python]哈夫曼编码
生成树 from heapq import heapify, heappush, heappop from itertools import count """ https://www.cnblogs.com/xuchunlin/p/7247346.html """ def huffman(node ...
分类:编程语言   时间:2020-06-28 09:28:55    阅读次数:57
《你不知道的JavaScript》【6】——原型
...
分类:编程语言   时间:2020-06-28 09:29:10    阅读次数:53
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!