码迷,mamicode.com
首页 > 2019年02月14日 > 全部分享
linux下oracle启动关闭
1、以oracle身份登录数据库,命令:su – oracle 2、执行以下命令查看数据库监听器的状况: lsnrctl status 3、执行以下命令停止数据库监听器运行: lsnrctl stop 4、执行以下命令进入SQLPlus: sqlplus / nolog connect / as s ...
分类:数据库   时间:2019-02-14 00:21:09    阅读次数:230
自定义异常处理
class MyExcept(Exception): def __init__(self, msg): self.message = msg def __str__(self): return self.message try: raise MyExcept("我的异常") except MyExc... ...
分类:其他好文   时间:2019-02-14 00:20:55    阅读次数:178
关于redis
Redis简介 Redis是一个开源的内存中的数据结构存储系统,它可以用作:数据库、缓存和消息中间件。 它支持多种类型的数据结构,如字符串(String),散列(Hash),列表(List),集合(Set),有序集合(Sorted Set或者是ZSet)与范围查询,Bitmaps,Hyperlogl... ...
分类:其他好文   时间:2019-02-14 00:20:43    阅读次数:168
5. Longest Palindromic Substring
5. Longest Palindromic Substring Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. E ...
分类:其他好文   时间:2019-02-14 00:20:31    阅读次数:172
UVA948 Fibonaccimal Base【进制】
The well known Fibonacci sequence is obtained by starting with 0 and 1 and then adding the two last numbers to get the next one. For example the third ...
分类:其他好文   时间:2019-02-14 00:20:19    阅读次数:131
React + Webpack (jsx +less)
React项目的初始化、webpack的安装、如何使用jsx和less。 一、初始 React 项目 react项目的初始化比较简单,我用的就是react的脚手架。三种方式: 1、NPM 2、NPX 3、Yarn my-app 是项目的名字,运行命令时会在当前目录下自动创建一个名字叫作 my-app ...
分类:Web程序   时间:2019-02-14 00:19:46    阅读次数:830
微信小程序的MVVM思想
本文参照:【微信小程序开发】秒懂,架构及框架 同时多看: https://blog.csdn.net/qq_26585943/article/details/54378684 微信小程序开发,主要分清楚架构与框架。 微信小程序与web应用很像,但是原理不同,微信小程序是运行在微信应用内的,不是运行在 ...
分类:微信   时间:2019-02-14 00:19:30    阅读次数:214
3. Longest Substring Without Repeating Characters
3. Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Example 1: In ...
分类:其他好文   时间:2019-02-14 00:19:11    阅读次数:163
Math
Math 一,Math.abs() 求绝对值 Math.PI 圆周率 二,求近似值: 1.Math.round() 四舍五入 负数: >0.5进1 <= 0.5舍去 2. Math.ceil() 向上取整 3.Math.floor() 向下取整 三,求最值 1.Math.max() 最大值。2,Ma ...
分类:其他好文   时间:2019-02-14 00:18:53    阅读次数:144
字符串哈希小结(BKDR,RK)
前言 A:这么简单的东西,怎么现在才学?? B:别提了,还不是因为菜o(╥﹏╥)o A:那打算讲些什么东西 B:$BKDRHash$、$Rabin karp$以及简单应用 简洁 所谓字符串哈希:其实就是把字符串映射成数值储存下来分别直接比较 $BKDRHash$:程序便于记忆和使用,冲突概率较低,在 ...
分类:其他好文   时间:2019-02-14 00:18:38    阅读次数:179
FileZilla-FTP连接失败
状态: 已登录状态: 读取“/”的目录列表...命令: CWD /响应: 250 CWD successful. "/" is current directory.命令: TYPE I响应: 200 Type set to I命令: PASV响应: 227 Entering Passive Mode ...
分类:其他好文   时间:2019-02-14 00:18:20    阅读次数:699
Leetcode 480.滑动窗口中位数
滑动窗口中位数 中位数是有序序列最中间的那个数。如果序列的大小是偶数,则没有最中间的数;此时中位数是最中间的两个数的平均数。 例如: [2,3,4],中位数是 3 [2,3],中位数是 (2 + 3) / 2 = 2.5 给出一个数组 nums,有一个大小为 k 的窗口从最左端滑动到最右端。窗口中有 ...
分类:其他好文   时间:2019-02-14 00:18:03    阅读次数:427
[BugBounty] Sleeping stored Google XSS Awakens a $5000 Bounty
来源:https://blog.it securityguard.com/bugbounty sleeping stored google xss awakens a 5000 bounty/ 理解 这篇文章主要是介绍了Google云端控制台上发现的存储型跨站点脚本(XSS)问题。 Google提供 ...
分类:其他好文   时间:2019-02-14 00:17:45    阅读次数:176
POJ3164:Command Network(有向图的最小生成树)
Command Network 题目链接:http://poj.org/problem?id=3164 Description: After a long lasting war on words, a war on arms finally breaks out between littleken ...
分类:Web程序   时间:2019-02-14 00:17:29    阅读次数:192
为github添加ssh key
用git关联github上的远程仓库前需要先为github添加ssh key 一、检查本机是否生成ssh key 本地查找.ssh文件,其中id_rsa.pub中的内容就是ssh key 二、为github上的仓库添加ssh key ...
分类:其他好文   时间:2019-02-14 00:17:10    阅读次数:177
cf1042d 树状数组逆序对+离散化
/* 给定一个数组,要求和小于t的段落总数 求前缀和 dp[i]表示以第i个数为结尾的小于t的段落总数,sum[i]-sum[l] using namespace std; #define ll long long #define maxn 200005 ll tmp[maxn],n,a[maxn]... ...
分类:编程语言   时间:2019-02-14 00:16:58    阅读次数:225
遍历目录
import os root_path1 = r'D:\python_code' file_count = 0 dir_count = 0 def list_files(root_path): """ 遍历目录 :param root_path: :return: """ global file_c... ...
分类:其他好文   时间:2019-02-14 00:16:41    阅读次数:173
759条   上一页 1 ... 40 41 42 43 44 45 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!