<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[offerkkl的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/offerkkl</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; offerkkl]]></copyright><item><title><![CDATA[Duplicate问题]]></title><link>https://blog.csdn.net/offerkkl/article/details/94517666</link><guid>https://blog.csdn.net/offerkkl/article/details/94517666</guid><author>offerkkl</author><pubDate>Wed, 03 Jul 2019 03:11:53 +0800</pubDate><description><![CDATA[219.Contains Duplicate II

Given an array of integers and an integerk, find out whether there are two distinct indicesiandjin the array such thatnums[i] = nums[j]and theabsolutedifference be...]]></description><category></category></item><item><title><![CDATA[[二战]]]></title><link>https://blog.csdn.net/offerkkl/article/details/86635644</link><guid>https://blog.csdn.net/offerkkl/article/details/86635644</guid><author>offerkkl</author><pubDate>Fri, 25 Jan 2019 04:28:25 +0800</pubDate><description><![CDATA[686.Repeated String Match


class Solution {
    public int repeatedStringMatch(String A, String B) {
        if(A == null || A.length() == 0 )
        {
            return -1;
        }
        if(B...]]></description><category></category></item><item><title><![CDATA[Java Application run]]></title><link>https://blog.csdn.net/offerkkl/article/details/81107339</link><guid>https://blog.csdn.net/offerkkl/article/details/81107339</guid><author>offerkkl</author><pubDate>Wed, 18 Jul 2018 23:48:07 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[[Server] Redis初应用]]></title><link>https://blog.csdn.net/offerkkl/article/details/79504610</link><guid>https://blog.csdn.net/offerkkl/article/details/79504610</guid><author>offerkkl</author><pubDate>Sat, 10 Mar 2018 00:34:04 +0800</pubDate><description><![CDATA[前提：install redis successfully或者]]></description><category></category></item><item><title><![CDATA[[JSP] eclipse web project 发布到tomcat下]]></title><link>https://blog.csdn.net/offerkkl/article/details/79039917</link><guid>https://blog.csdn.net/offerkkl/article/details/79039917</guid><author>offerkkl</author><pubDate>Fri, 12 Jan 2018 04:54:51 +0800</pubDate><description><![CDATA[http://www.cnblogs.com/cxtczzy/archive/2013/03/30/2991096.html]]></description><category></category></item><item><title><![CDATA[[Postgre SQL] postgre sql]]></title><link>https://blog.csdn.net/offerkkl/article/details/78993652</link><guid>https://blog.csdn.net/offerkkl/article/details/78993652</guid><author>offerkkl</author><pubDate>Sun, 07 Jan 2018 12:08:20 +0800</pubDate><description><![CDATA[参考此tutorial：http://gitbook.net/postgresql/2013080439.html

1. 直接打开SQL Shell (psql)




2. 点回车直到如下


1. create  database database-name;


2.列出所有database：\l


4. 选择一个database： \c databas]]></description><category></category></item><item><title><![CDATA[[Spring Boot] Spring Boot Actuator]]></title><link>https://blog.csdn.net/offerkkl/article/details/78992568</link><guid>https://blog.csdn.net/offerkkl/article/details/78992568</guid><author>offerkkl</author><pubDate>Sat, 06 Jan 2018 23:54:00 +0800</pubDate><description><![CDATA[前提：建好Spring Starting Project
1. src/main/resources目录里的application.properties里加

server.port: 9000
management.port: 9001
management.address: 127.0.0.1
management.security.enabled=false




]]></description><category></category></item><item><title><![CDATA[[spring Boot] how to package and run Spring Boot application as a JAR file]]></title><link>https://blog.csdn.net/offerkkl/article/details/78986421</link><guid>https://blog.csdn.net/offerkkl/article/details/78986421</guid><author>offerkkl</author><pubDate>Sat, 06 Jan 2018 11:34:29 +0800</pubDate><description><![CDATA[前提：进入到当前project的目录下
1. mvn clean install




2. java -jar target/文件名-0.0.1-SNAPSHOT.jar]]></description><category></category></item><item><title><![CDATA[[Spring]tomcat启动]]></title><link>https://blog.csdn.net/offerkkl/article/details/78907721</link><guid>https://blog.csdn.net/offerkkl/article/details/78907721</guid><author>offerkkl</author><pubDate>Tue, 26 Dec 2017 23:34:52 +0800</pubDate><description><![CDATA[cd apache-tomcat-9.0.2
cd bin
./catalina.sh run
进入浏览器 http://localhost:8080/]]></description><category></category></item><item><title><![CDATA[[Spring MVC] What is my Spring MVC controller not working?]]></title><link>https://blog.csdn.net/offerkkl/article/details/78862116</link><guid>https://blog.csdn.net/offerkkl/article/details/78862116</guid><author>offerkkl</author><pubDate>Thu, 21 Dec 2017 11:50:32 +0800</pubDate><description><![CDATA[THIS IS AN ECLIPSE CACHING BUG

IF YOUR CONTROLLER DOESN'T WORK THEN TRY THE STEPS BELOW

BE SURE TO COME BACK TO THIS ARTICLE





Debug Tip #0: Make sure you are accessing the correct URL]]></description><category></category></item><item><title><![CDATA[[Mongodb]mongodb import json]]></title><link>https://blog.csdn.net/offerkkl/article/details/78692489</link><guid>https://blog.csdn.net/offerkkl/article/details/78692489</guid><author>offerkkl</author><pubDate>Sat, 02 Dec 2017 04:42:29 +0800</pubDate><description><![CDATA[前提：要导入的json文件数据放在mongo/bin目录下，路径一定要放对




cd mongo/bin
./mongoimport -d db名称 -c 
collection名称 --jsonArray data.json


结果：data.json里所有的内容都导入到了这个collection里，没有过滤掉]]></description><category></category></item><item><title><![CDATA[[Nodejs] nodemon：自动重启与页面刷新]]></title><link>https://blog.csdn.net/offerkkl/article/details/78420507</link><guid>https://blog.csdn.net/offerkkl/article/details/78420507</guid><author>offerkkl</author><pubDate>Thu, 02 Nov 2017 03:51:06 +0800</pubDate><description><![CDATA[前提：已经install nodemon到global，这里说如何使用nodemon代替node
例如文件路径 desktop/lab3，而且已经npm install好node-modules
如果用node命令，要npm start




如果用nodemon，要nodemo --exec ‘npm start'


而且在程序输出完毕后显示如下，等待程序更新，然后这边自]]></description><category></category></item><item><title><![CDATA[[Git] Git出现一些错误的解决方法]]></title><link>https://blog.csdn.net/offerkkl/article/details/78157267</link><guid>https://blog.csdn.net/offerkkl/article/details/78157267</guid><author>offerkkl</author><pubDate>Wed, 04 Oct 2017 09:16:41 +0800</pubDate><description><![CDATA[1. Pull is not possible because you have unmerged files.

    Please, fix them up in the work tree, and then use 'git add/rm '
    as appropriate to mark resolution, or use 'git commit -a']]></description><category></category></item><item><title><![CDATA[[Git] Git初应用]]></title><link>https://blog.csdn.net/offerkkl/article/details/78149554</link><guid>https://blog.csdn.net/offerkkl/article/details/78149554</guid><author>offerkkl</author><pubDate>Mon, 02 Oct 2017 00:19:23 +0800</pubDate><description><![CDATA[条件：在gitHub上已经创建了新的repository：Web-Programming，并且创建的同时
initialize this repository with a  README
Add .gitignore: Node
Add a license: 
MIT
然后自己的air根目录下有Web-Programming这个文件夹，把要上传到gitHub Web-Programmi]]></description><category></category></item><item><title><![CDATA[[US Giants] 十. Data Structure]]></title><link>https://blog.csdn.net/offerkkl/article/details/78108229</link><guid>https://blog.csdn.net/offerkkl/article/details/78108229</guid><author>offerkkl</author><pubDate>Tue, 26 Sep 2017 23:23:34 +0800</pubDate><description><![CDATA[Longest Consecutive Sequence



Given an unsorted array of integers, find the length of the longest consecutive elements sequence.



Clarification: Your algorithm should run in O(n) complexit]]></description><category></category></item><item><title><![CDATA[[MongoDB] Mongodb的初应用]]></title><link>https://blog.csdn.net/offerkkl/article/details/78081133</link><guid>https://blog.csdn.net/offerkkl/article/details/78081133</guid><author>offerkkl</author><pubDate>Mon, 25 Sep 2017 00:02:02 +0800</pubDate><description><![CDATA[前提：下载好mongodb，然后把下载下来的文件夹改为mongo，并将文件夹移到自己用的地方，在同一个路径下创建mongo-data文件夹
要做：初次连接并小测试下mongodb




当初次设置成功后，以后用只要按照如下即可]]></description><category></category></item><item><title><![CDATA[[Nodejs] Debug-Chrome Dev Tools]]></title><link>https://blog.csdn.net/offerkkl/article/details/77731257</link><guid>https://blog.csdn.net/offerkkl/article/details/77731257</guid><author>offerkkl</author><pubDate>Thu, 31 Aug 2017 06:50:17 +0800</pubDate><description><![CDATA[现状：桌面上的notes-node文件里有个playground文件夹，里面有一个debugging.js文件，要debug这个文件


然后在chrome里输入：chrome://inspect


跳转：


点击后结果：]]></description><category></category></item><item><title><![CDATA[[Nodejs] Debug-Ternimal]]></title><link>https://blog.csdn.net/offerkkl/article/details/77730746</link><guid>https://blog.csdn.net/offerkkl/article/details/77730746</guid><author>offerkkl</author><pubDate>Thu, 31 Aug 2017 06:15:49 +0800</pubDate><description><![CDATA[现状：桌面上的notes-node文件里有个playground文件夹，里面有一个debugging.js文件，要debug这个文件


命令c是继续，命令n是下一行，如果提前在文件中打入debugger;这个时候debug的话输入命令c会直接到debugger这边，更便捷更快一些
命令repl是切换到可以看参数的具体情况的时候，例如输入person什么的
想要退出：control+c]]></description><category></category></item><item><title><![CDATA[[Nodejs] npm]]></title><link>https://blog.csdn.net/offerkkl/article/details/77692833</link><guid>https://blog.csdn.net/offerkkl/article/details/77692833</guid><author>offerkkl</author><pubDate>Wed, 30 Aug 2017 06:41:28 +0800</pubDate><description><![CDATA[要在当前的路径下：notes-node




最后文件夹notes-node里多出node_modules文件夹，以及package-lock.json和package.json]]></description><category></category></item><item><title><![CDATA[[Nodejs] terminal上运行nodejs程序]]></title><link>https://blog.csdn.net/offerkkl/article/details/77692444</link><guid>https://blog.csdn.net/offerkkl/article/details/77692444</guid><author>offerkkl</author><pubDate>Wed, 30 Aug 2017 01:04:23 +0800</pubDate><description><![CDATA[现状：桌面上一个hellojs文件夹里有一个app.js文件]]></description><category></category></item></channel></rss>