自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

叶现一的专栏

Coding ——中国软件业崛起之本;Coding不行,何日振兴?The power is drived by sharing, not confidentiality.

  • 博客(340)
  • 资源 (78)
  • 收藏
  • 关注

原创 知识图谱推理思维导图

2021-05-21 16:32:40 803

原创 Gremlin: How to connect to gremlin server console

:remote connect tinkerpop.server conf/remote.yaml:remote consolegraph = TinkerGraph.open()g = graph.traversal()g.V()# g.close()

2021-05-20 12:01:21 241

原创 Oracle12c: How to create PDB in manually

Pre-condition: Go through my last blog.Install:Mount and open CDB sqlplus / as sysdba;startup nomount ;alter database open ;conn sys@NDLNE as sysdba ; Create PDB create pluggable database pdb1admin user pdb1_admin identified by pdb1_admin

2021-03-10 16:25:51 189

原创 Oracle12c: How to create CDB in manually

Set ORACLE_SID, for example, NDLNE export ORACLE_SID=NDLNE Create PFILE vi /u01/app/oracle/admin/NDLNE/pfile/init.oradb_name='NDLNE'memory_target=1Gmemory_max_target=1GDB_CREATE_FILE_DEST='/u01/app/oracle/oradata'control_files='/u01/app/oracle

2021-03-04 13:30:52 161 1

原创 ORA-00845: MEMORY_TARGET not supported on this system

Issue:When trying to startup Oracle Instance, you may encounter following error:ORA-00845: MEMORY_TARGET not supported on this systemRoot Cause:Your shm size is smaller than Memory_Target.Solution:Open pfile in "/u01/app/oracle/admin/<..

2021-02-23 14:48:11 155

原创 HOWTO: install Oracle 12c Database on Centos8

Step:PrepareCentOS Linux release 8.3.2011 with 4 core, 4G RAM and 40G DIsk space at least. Download Oracle 12c fromhttps://edelivery.oracle.com/osdc/faces/SoftwareDelivery You will see several ZIP file, like following Unzip all the ZIP files to a cu..

2021-02-19 12:33:51 290

转载 LeetCode: 974. Subarray Sums Divisible by K

MediumGiven an arrayAof integers, return the number of (contiguous, non-empty) subarrays that have a sum divisible byK.Example 1:Input: A = [4,5,0,-2,-3,1], K = 5Output: 7Explanation: There are 7 subarrays with a sum divisible by K = 5:[4, 5, ...

2020-11-20 16:26:40 87

原创 LeetCode: 560. Subarray Sum Equals K

Given an array of integersnumsand an integerk, returnthe total number of continuous subarrays whose sum equals tok.Example 1:Input: nums = [1,1,1], k = 2Output: 2Example 2:Input: nums = [1,2,3], k = 3Output: 2Constraints:1 <= nums...

2020-11-18 16:34:43 176

原创 LeetCode: 267. Palindrome Permutation II

MediumGiven a strings, return all the palindromic permutations (without duplicates) of it. Return an empty list if no palindromic permutation could be form.Example 1:Input: "aabb"Output: ["abba", "baab"]Example 2:Input: "abc"Output: []解法:.

2020-11-15 11:13:31 99

原创 LeetCode:47. Permutations II

Given a collection of numbers,nums,that might contain duplicates, returnall possible unique permutationsin any order.Example 1:Input: nums = [1,1,2]Output:[[1,1,2], [1,2,1], [2,1,1]]Example 2:Input: nums = [1,2,3]Output: [[1,2,3],[1,3,2...

2020-11-14 21:14:28 100

原创 LeetCode: 46. Permutations

MediumGiven a collection ofdistinctintegers, return all possible permutations.Example:Input: [1,2,3]Output:[ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1]]解法:(回溯)本题要求生成全排列,那么看看我们能找到什么规律。以[1,2,3]为例,全排列是[1,2,3][1,3,2][2..

2020-11-13 21:15:28 70

原创 LeetCode:31. Next Permutation

31.Next PermutationMediumImplementnext permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such an arrangement is not possible, it must rearrange it as the lowest possible order (i.e., sorted in a..

2020-11-10 12:44:23 63

原创 性能测试结果

Dev Environmentserver.tomcat.max-threads=10server.tomcat.accept-count=100server.tomcat.min-spare-threads=10server.tomcat.max-threads=20server.tomcat.accept-count=100server.tomcat.min-spa...

2020-10-21 10:51:18 78

原创 架构模式对比

传统垂直架构 RPC架构 SOA 微服务 架构图 优点 简单应用开发成本较小 编译测试部署发布简单 跨语言(C+...

2020-10-21 10:50:21 133

原创 事务隔离级别

Read uncommitted Read committed Repeatable read Serializable 定义 允许一个事务可以读取另一个未提交事务的数据 一个事务只能读取另一个已提交事务的数据 ...

2020-10-21 10:48:59 48

原创 LeetCode: 核心算法(快速选择)

场景:解决Top K问题例如:输入: [3,2,1,5,6,4] 和 k = 2输出: 5解决方法:此类问题一般都是通过一次快排或者大顶堆的方式解决,但是都有问题:快排:对全数组进行了排序,如果要寻找的是第K个大的元素,那么其实我们并不关心从小到大排序后数组的第K位之后的数字;但是快排依然对这些数字进行了排序大顶堆:虽然大顶堆的方法解决了不用考虑第K位之后的数字的问题,但是它依然需要关心第K位之前的数字,所以依然浪费了很多时间问题分析仔细想想Top K问题,其实.

2020-10-21 10:47:32 306

原创 LeetCode: 常用API及算法

1. 小顶堆 (从小到大)Queue<Integer> heap = new PriorityQueue<>() ;2. 大顶堆 (由大到小) Queue<Integer> heap = new PriorityQueue<>((o1, o2) -> o2 - o1) ;

2020-10-21 10:46:52 310

原创 LeetCode:215. Kth Largest Element in an Array

MediumFind thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.Example 1:Input: [3,2,1,5,6,4] and k = 2Output: 5Example 2:Input: [3,2,3,1,2,4,5,5,6] and k = 4.

2020-10-13 11:33:15 75

原创 LeetCode:159. Longest Substring with At Most Two Distinct Characters

Given a string s , find the length of the longest substring t that contains at most 2 distinct characters. Example 1: Input: "eceba" Output: 3 Explanation: t is "ece" which its length is 3. Example 2: Input: "ccaabbb...

2020-10-12 14:30:20 102

原创 Leetcode: 3. Longest Substring Without Repeating Characters

Given a strings, find the length of thelongest substringwithout repeating characters.Example 1:Input: s = "abcabcbb"Output: 3Explanation: The answer is "abc", with the length of 3.Example 2:Input: s = "bbbbb"Output: 1Explanation: The answ...

2020-10-12 10:28:56 65

原创 Leetcode: 16. 3Sum Closest

16.3Sum ClosestMediumGiven an arraynumsofnintegers and an integertarget, find three integers innumssuch that the sum is closest totarget. Return the sum of the three integers. You may assume that each input would have exactly one solution.Ex...

2020-09-24 14:41:57 69

原创 Leetcode: 15. 3Sum

Given an arraynumsofnintegers, are there elementsa,b,cinnumssuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Notice that the solution set must not contain duplicate triplets.Example 1:Input: nums =...

2020-09-24 10:33:36 67

原创 Leetcode: 1. Two Sum

1.Two SumEasyGiven an array of integers, returnindicesof the two numbers such that they add up to a specific target.You may assume that each input would haveexactlyone solution, and you may not use thesameelement twice.Example:Given nums ...

2020-08-06 16:17:11 121

原创 Docker: How to config Http Proxy for accessing the Internet

Issue:When you working on docker, you may behind corporate proxy, which means that your docker container cannot access the Internet.Solution:Config Http Proxy for Docker Engine, so that all the ...

2020-03-27 17:11:13 215

原创 Leetcode: 209. Minimum Size Subarray Sum

Given an array ofnpositive integers and a positive integers, find the minimal length of acontiguoussubarray of which the sum ≥s. If there isn't one, return 0 instead.Example:Input: s = 7, ...

2020-01-22 17:14:17 105

原创 Leetcode: 207. Course Schedule

There are a total ofncourses you have to take, labeled from0ton-1.Some courses may have prerequisites, for example to take course 0 you have to first take course 1, which is expressed as a pair...

2020-01-22 14:21:01 107

原创 Leetcode:179. Largest Number

Given a list of non negative integers, arrange them such that they form the largest number.Example 1:Input: [10,2]Output: "210"Example 2:Input: [3,30,34,5,9]Output: "9534330"Note:The r...

2020-01-20 16:12:57 129

原创 Leetcode 152:Maximum Product Subarray

Given an integer arraynums, find the contiguous subarray within an array (containing at least one number) which has the largest product.Example 1:Input: [2,3,-2,4]Output: 6Explanation:[2,3] h...

2020-01-20 13:57:35 173

原创 Leetcode 150: Evaluate Reverse Polish Notation

Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another expression.Note:Division between two integers ...

2020-01-19 13:04:26 132

原创 Leetcode 148: Sort List

Sort a linked list inO(nlogn) time using constant space complexity.Example 1:Input: 4->2->1->3Output: 1->2->3->4Example 2:Input: -1->5->3->4->0Output: -1-...

2020-01-10 15:10:44 96

原创 LeetCode 146:LRU Cache

Design and implement a data structure forLeast Recently Used (LRU) cache. It should support the following operations:getandput.get(key)- Get the value (will always be positive) of the key if th...

2020-01-09 17:15:31 109

原创 Leetcode 143: Reorder List

143.Reorder ListGiven a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You maynotmodify the values in the list's nodes, only nodes itself may be changed.Example ...

2019-12-23 17:34:46 120

原创 Leetcode: 139 Word Break

139.Word BreakGiven anon-emptystringsand a dictionarywordDictcontaining a list ofnon-emptywords, determine ifscan be segmented into a space-separated sequence of one or more dictionary wo...

2019-12-16 18:28:21 104

原创 Leetcode 127: Word Ladder

127.Word LadderGiven two words (beginWordandendWord), and a dictionary's word list, find the length of shortest transformation sequence frombeginWordtoendWord, such that:Only one letter can ...

2019-12-16 16:20:57 105

原创 Leetcode 91. Decode Ways

A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given anon-emptystring containing only digits, determine t...

2019-12-09 14:53:21 97

原创 LeetCode:5. Longest Palindromic Substring

Given a strings, find the longest palindromic substring ins. You may assume that the maximum length ofsis 1000.Example 1:Input: "babad"Output: "bab"Note: "aba" is also a valid answer.Exa...

2019-09-06 19:29:28 161

原创 LeetCode:3. Longest Substring Without Repeating Characters

3.Longest Substring Without Repeating CharactersMediumGiven a string, find the length of thelongest substringwithout repeating characters.Example 1:Input: "abcabcbb"Output: 3 Explanation...

2019-09-06 17:27:03 108

原创 Eureka: example of creating 3 nodes Eureka Server with docker

Abstract:In this artical, it will state how to create 3 nodes Eureka Server with docker.Step1. Create Eureka ServerSource:https://github.com/yexianyi/Chukonu/tree/master/chukonu-springcloud-eur...

2019-06-13 19:09:35 148

原创 Eureka Issue: replicas is not working

Problem:When we create 3-nods Eureka server and register them with each other, you may find the replica is not working.Reason:Each of node must have an unique"eureka.instance.hostname". Differe...

2019-06-13 16:12:50 113

原创 Mysql Lock with different isolation level

0. PreparationCREATE TABLE `test` ( `id` int(11) DEFAULT NULL, `name` varchar(100) DEFAULT NULL, UNIQUE KEY `test_id_IDX` (`id`) USING BTREE) ENGINE=InnoDB DEFAULT CHARSET=utf8;1.Read...

2019-05-28 11:24:31 132

MyEclipse7.0注册码

MyEclipse7.0注册码,保证能用十年

2008-10-23

Rational Rose 7.0 授权文件

Rational Rose 7.0 授权文件(保证可用到2020年)

2008-10-16

软件工程-实践者的研究方法中文版

软件工程-实践者的研究方法中文版.pdf(非扫描版)

2008-10-15

gsitecrawler 1.23 full

最新google网站地图制作工具,不用介绍了吧。国内网站很少有能把它下下来的。我费了不少劲才把它弄下来,已经测试过了,可以正常使用。

2008-09-12

Apress.Pro.EJB.3.Java.Persistence.API.May.2006

Apress.Pro.EJB.3.Java.Persistence.API.May.2006.pdf

2008-09-07

JBoss管理与开发核心技术.第3版.part2

JBoss管理与开发核心技术.第3版.part1.rar

2008-08-18

JBoss管理与开发核心技术.第3版.part1

JBoss管理与开发核心技术.第3版.part1.rar

2008-08-18

J2EE Tutorial 1.4

J2EE Tutorial 1.4

2008-07-23

Flex辅助设计工具四合一

Flex辅助设计工具四合一:<br>Flex3StyleExplorer_V3.0Beta.swf<br>Flex2 Filter Explorer.swf<br>EnhancedButtonDemo.swf<br>Flex2PrimitiveExplorer.swf

2008-06-07

ASP网站开发四“酷”全书:新闻、论坛、电子商城、博客_源码

ASP网站开发四“酷”全书:新闻、论坛、电子商城、博客_源码

2008-05-31

《精通FLEX3.0-基于ActionScript3.0实现》源代码

《精通FLEX3.0-基于ActionScript3.0实现》源代码

2008-05-31

Adobe Blazeds Developer Guide

Adobe Blazeds Developer Guide

2008-05-25

长城计算机学校Struts内部教案

长城计算机学校Struts内部教案

2008-05-24

长城计算机学校JSP内部教案

长城计算机学校JSP内部教案

2008-05-24

《精通EJB》.part2.rar

精通EJB.part2.rar

2008-05-23

《精通EJB》.part1.rar

精通EJB.part1.rar

2008-05-23

ASCII码速查器

ASCII码速查器.exe

2008-05-23

长城计算机学校ASP内部资料

长城计算机学校ASP内部资料

2008-05-23

《精通Hibernate》.part2.rar

美河图书提供.孙卫琴.精通Hibernate:Java对象持久化技术详解.part2.rar

2008-05-23

《精通Hibernate》.part1.rar

美河图书提供.孙卫琴.精通Hibernate:Java对象持久化技术详解.part1.rar

2008-05-23

JMeter-WebSocketSampler

JMeter-WebSocketSampler jetty-http-9.1.1.v20140108.jar jetty-io-9.1.1.v20140108.jar jetty-util-9.1.1.v20140108.jar websocket-api-9.1.1.v20140108.jar websocket-client-9.1.1.v20140108.jar websocket-common-9.1.1.v20140108.jar

2018-09-30

1Z0-554.v2012-06-03 题库

Oracle.ActualTests.1Z0-554.v2012-06-03.by.sindhu

2013-09-17

Visual Certexam Suite 3.0.1破解版

Visual Certexam Suite 3.0.1破解版

2012-10-29

Visual CertExam Suite 1.9.987

Visual CertExam Suite_v1.9.987 .rar 内附破解注册表文件,绝对可用

2012-10-29

Oracle JDeveloper 11g Handbook A Guide to Fusion Web Development

Oracle JDeveloper 11g Handbook A Guide to Fusion Web Development 英文原版+目录

2012-05-21

OCA Oracle Database SQL Certified Expert Exam Guide (Exam 1Z0-047)

English Book + Source code

2012-01-13

Oracle Screen Saver

========Oracle公司屏保=============

2011-11-03

QTP_00644.EXE

QTP Patch QTP_00644.EXE 保证可用

2011-10-10

Adobe Flex 4: Training from the Source, Volume 1

Adobe Flex 4: Training from the Source, Volume 1.pdf

2011-07-06

mgn-mqt82.exe

QTP Professional 10 破解文件 保证可用

2011-06-01

Noki v1.7.rar

Noki_v1.7.rar 绝对保证可用

2010-12-26

Axis2_Codegen_Wizard_1.4.0_Fixed

官网上发布的Axis2_Codegen_Wizard_1.4.0有很多问题。特此进行修正。

2010-08-24

Enterprise Development with Flex.pdf

Enterprise Development with Flex.pdf

2010-08-08

Source Code Formatter by Amer Gerzic

Source Code Formatter by Amer Gerzic

2010-08-07

JVM如何理解Java泛型类.doc

JVM如何理解Java泛型类.doc JVM如何理解Java泛型类.doc

2010-08-07

Sample db script

This is a Sample db script that allow you to perform personal testing

2010-08-07

Oracle Fusion Middleware Developer's Guide for Oracle TopLink

Oracle Fusion Middleware Developer's Guide for OracleTopLink.pdf

2009-12-03

SWT: The Standard Widget Toolkit, Volume 1

《SWT: The Standard Widget Toolkit, Volume 1》保证可用

2009-06-17

Advanced Linux Programming

Advanced Linux Programming:pdf

2008-11-17

Service Oriented Architecture Concepts

Prentice.Hall.PTR.Service.Oriented.Architecture.Concepts.Technology.and.Design.Aug.2005.chm

2008-11-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除