锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产一区二区三区亚洲综合,在线综合亚洲欧洲综合网站 ,亚洲人成人无码网www国产http://www.tkk7.com/liuyf8688/zh-cnSat, 10 May 2025 23:46:56 GMTSat, 10 May 2025 23:46:56 GMT60甯哥敤杞歡绔彛鍙?/title><link>http://www.tkk7.com/liuyf8688/articles/429900.html</link><dc:creator>liuyf8688</dc:creator><author>liuyf8688</author><pubDate>Wed, 30 Mar 2016 06:59:00 GMT</pubDate><guid>http://www.tkk7.com/liuyf8688/articles/429900.html</guid><wfw:comment>http://www.tkk7.com/liuyf8688/comments/429900.html</wfw:comment><comments>http://www.tkk7.com/liuyf8688/articles/429900.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/liuyf8688/comments/commentRss/429900.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/liuyf8688/services/trackbacks/429900.html</trackback:ping><description><![CDATA[<img src="http://www.tkk7.com/images/blogjava_net/liuyf8688/甯哥敤杞歡绔彛鍙?JPG" width="216" height="121" alt="" /><img src ="http://www.tkk7.com/liuyf8688/aggbug/429900.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/liuyf8688/" target="_blank">liuyf8688</a> 2016-03-30 14:59 <a href="http://www.tkk7.com/liuyf8688/articles/429900.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Log4j閰嶇疆RollingFileAppenderhttp://www.tkk7.com/liuyf8688/articles/429784.htmlliuyf8688liuyf8688Wed, 23 Mar 2016 09:30:00 GMThttp://www.tkk7.com/liuyf8688/articles/429784.htmlhttp://www.tkk7.com/liuyf8688/comments/429784.htmlhttp://www.tkk7.com/liuyf8688/articles/429784.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/429784.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/429784.htmllog4j.rootLogger=INFO,stdout,wechat
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%5p] %l - %m %n
log4j.appender.wechat=org.apache.log4j.RollingFileAppender
log4j.appender.wechat.threshold=debug
log4j.appender.wechat.File=${catalina.base}/logs/wechat.log
log4j.appender.wechat.MaxFileSize=5MB
log4j.appender.wechat.MaxBackupIndex=1
log4j.appender.wechat.layout=org.apache.log4j.PatternLayout
log4j.appender.wechat.layout.ConversionPattern=%d %p [%c] - %m%n


liuyf8688 2016-03-23 17:30 鍙戣〃璇勮
]]>
Log4j閰嶇疆DailyRollingFileAppenderhttp://www.tkk7.com/liuyf8688/articles/429783.htmlliuyf8688liuyf8688Wed, 23 Mar 2016 08:12:00 GMThttp://www.tkk7.com/liuyf8688/articles/429783.htmlhttp://www.tkk7.com/liuyf8688/comments/429783.htmlhttp://www.tkk7.com/liuyf8688/articles/429783.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/429783.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/429783.html
log4j.rootLogger=INFO,stdout,wechat
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%5p] %l - %m %n
log4j.appender.wechat=org.apache.log4j.DailyRollingFileAppender
log4j.appender.wechat.threshold=debug
log4j.appender.wechat.File=${catalina.base}/logs/wechat.log
log4j.appender.wechat.DatePattern='.'yyyy-MM-dd
log4j.appender.wechat.layout=org.apache.log4j.PatternLayout
log4j.appender.wechat.layout.ConversionPattern=%d %p [%c] - %m%n


liuyf8688 2016-03-23 16:12 鍙戣〃璇勮
]]>
JS涓渶綆鍗曠殑HashMap瀹炵幇http://www.tkk7.com/liuyf8688/articles/429236.htmlliuyf8688liuyf8688Wed, 27 Jan 2016 11:00:00 GMThttp://www.tkk7.com/liuyf8688/articles/429236.htmlhttp://www.tkk7.com/liuyf8688/comments/429236.htmlhttp://www.tkk7.com/liuyf8688/articles/429236.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/429236.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/429236.html<script>
var hashMap = { 407624 : "12--",
407625 : "22--",
407625 : "22--",
407626 : "32--",
407627 : "42--",
407628 : "52--",
407627 : "42--",
407627 : "42--",
407627 : "42--",
407627 : "42--",
407627 : "42--",
407627 : "42--",
407627 : "42--",
407627 : "42--",
407627 : "42--",
407627 : "42--"
};
// alert(hashmap[407624]);
// alert(hashmap[407625]);
for (var key in hashmap) {
console.log(hashmap[key]);
}
</script>


liuyf8688 2016-01-27 19:00 鍙戣〃璇勮
]]>
Json String瑙f瀽http://www.tkk7.com/liuyf8688/articles/426563.htmlliuyf8688liuyf8688Mon, 03 Aug 2015 10:33:00 GMThttp://www.tkk7.com/liuyf8688/articles/426563.htmlhttp://www.tkk7.com/liuyf8688/comments/426563.htmlhttp://www.tkk7.com/liuyf8688/articles/426563.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/426563.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/426563.html
1.鍚庡彴鍙戝竷API錛岃繑鍥炵粨鏋滀負JSON銆?br />2.鍓嶇閲囩敤AJAX寮傛璇鋒眰銆?br />
閫氬父鎴戜滑浼氱鍒板悗鍙癆PI榪斿洖鍗曚釜榪斿洖鍊鹼紝綾誨瀷涓簊tring鐨勬儏鍐點?br />浣嗘槸鎴戜滑鏌ョ湅嫻忚鍣ㄦ帶鍒跺彴鎴栭氳繃alter鐩存帴鎵撳嵃緇撴灉鏃訛紝閫氬父璇ュ兼槸琚寘瑁瑰湪鍙屽紩鍙蜂腑銆?br />渚嬪錛?http://www.baidu.com"

錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濓紳錛濆壊鍓插壊鍓插壊鍓插壊鍓?==================

鎴戜滑寰堝洶鎯戯紝
鍓嶇璇達細鍚庣搴旇榪斿洖string錛屼笉甯﹀弻寮曞彿銆?br />鍚庣璇達細鎴戜滑榪斿洖鐨勬槸鏍囧噯JSON鏍煎紡錛屼笉鑳藉幓鎺夊弻寮曞彿銆?br />鍓嶇璇達細鏍囧噯JSON鏍煎紡涓轟粈涔堜笉甯﹀ぇ鎷彿錛坽}錛夈?br />
濡傛灉鎴戜滑緇嗗績鐨勫幓鏌ヨJSON瀹樻柟绔欑偣(http://json.org)鐨勮瘽錛屾垜浠細鍙戠幇JSON鎷ユ湁涓涓崟鐙殑綾誨瀷涓篠tring銆?br />瀹氫箟濡備笅錛?br />
string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. A character is represented as a single character string. A string is very much like a C or Java string

String鏄敱0涓垨澶氫釜Unicode瀛楃緇勬垚鐨勫簭鍒楋紝琚寘瑁瑰湪鍙屽紩鍙蜂腑銆傚彲浠ヤ嬌鐢ㄦ枩鏉狅紙\錛夋潵閫冮稿叧閿瓧鎴栫壒孌婂瓧絎︺傚瓧絎﹁〃紺哄崟涓殑瀛楃涓層?br />瀛楃涓蹭笌C鎴朖AVA涓殑瀛楃涓查潪甯哥浉浼箋?br />
鐜板湪鎴戜滑鏄庣櫧浜嗭紝鍘熸潵榪欐槸涓縐嶆爣鍑嗙殑JSON鏍煎紡銆?br />閭d箞鎴戜滑鎬庝箞瑙f瀽浠栧憿銆?br />
鍏跺疄闈炲父綆鍗曪紝鎴戜滑鎶婁粬褰撲綔鏅氱殑JSON鏉ヨВ鏋愬氨鍙互浜嗐?br />
<script>
    var jsontext = '"http://www.baidu.com"';
    // 鍙樿韓
    var url = JSON.parse(jsontext);
    alert(url);
    // 鍐嶅彉韜?/span>
    var json = JSON.stringify(url);
    alert(json);    
</script>


liuyf8688 2015-08-03 18:33 鍙戣〃璇勮
]]>
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)http://www.tkk7.com/liuyf8688/articles/424679.htmlliuyf8688liuyf8688Sun, 26 Apr 2015 09:44:00 GMThttp://www.tkk7.com/liuyf8688/articles/424679.htmlhttp://www.tkk7.com/liuyf8688/comments/424679.htmlhttp://www.tkk7.com/liuyf8688/articles/424679.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/424679.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/424679.html1. 閫氳繃DMG鏂瑰紡錛屽畨瑁呭畬MySQL鍚庯紝鍦╯hell鍛戒護琛屼腑灝濊瘯浣跨敤mysql -u root榪炴帴MySQL錛屽嚭鐜頒笅闈㈡彁紺恒?/div>
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

鐢變簬鏍規(guī)嵁鏈湴鐜鍙婅蔣浠剁増鏈紝娌℃湁緇熶竴鐨勮В鍐蟲柟妗堬紝涓嬮潰鎴戝皢璇存槑鎴戠殑杞歡鐜銆?/span>

杞歡璇存槑錛?/span>

Mac OS - 10.10.2 (OS X Yosemite)
MySQL - Ver 14.14 Distrib 5.7.7-rc, for osx10.8 (x86_64)

瑙e喅鏂規(guī)錛堟殏鏃舵病鏈夋壘鍒扮悊鎯蟲柟妗堬紝鎵浠ュ皾璇曢噸緗畆oot瀵嗙爜錛?/div>
1. 鍋滄MySQL錛屼嬌鐢ㄨ煩榪囨潈闄愭帶鍒舵柟妗堝惎鍔?/div>
1.1 浣跨敤Preference Pane鍏抽棴MySQL
MySQL Preference Pane: Location
鍙屽嚮MySQL錛屽彲鑳戒細瑕佹眰浣犺緭鍏ュ瘑鐮侊紝杈撳叆瀵嗙爜鍚庯紝灝嗕細鎵撳紑濡備笅紿楀彛銆?/div>

鐐瑰嚮“Stop MySQL Server”錛岃緭鍏ュ瘑鐮佸悗錛岀豢鑹茬殑“running”灝嗕細鍙樻垚綰㈣壊鐨?#8220;stopped” ,璇存槑MySQL琚甯稿叧闂?/div>
1.2閫氳繃璺寵繃鏉冮檺鎺у埗鍚姩
shell鍛戒護琛岃緭鍏ヤ互涓嬪懡浠ゅ洖杞?/div>
sudo mysqld_safe --skip-grant-tables
杈撳叆綆$悊鍛樺瘑鐮佸悗錛屾樉紺哄涓嬫彁紺猴紝璇存槑鍚姩鎴愬姛
150426 13:32:39 mysqld_safe Logging to '/usr/local/mysql/data/xxxMacBook-Pro.local.err'.
150426 13:32:39 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data

2. 濡傛灉浠ヤ笂鍏ㄩ儴鎴愬姛錛岀幇鍦ㄥ彲浠ュ紑濮嬮噸緗畆oot瀵嗙爜浜?/span>
寮鍚柊鐨剆hell紿楀彛錛岃緭鍏ysql -u root錛岀幇鍦ㄥ彲浠ヨ繘鍏ysql浜嗐?/span>
浠婃鎵ц浠ヤ笅鍛戒護銆?/span>
mysql> FLUSH PRIVILEGES;

鏍規(guī)嵁鐗堟湰涓嶅悓錛岃鎵ц涓嶅悓鐨勫懡浠わ細
MySQL 5.7.6 and later:
mysql> ALTER USER root@localhost IDENTITIED BY 123456’;

MySQL 5.7.5 and earlier:
mysql> SET PASSWORD FOR root@localhost = PASSWORD(123456);

3. 鍋滄MySQL鏈嶅姟鍣紝姝e父閲嶅惎銆傜幇鍦ㄤ綘鍙互浣跨敤鏂扮殑瀵嗙爜鐧誨綍root鐢ㄦ埛浜嗐?/span>


liuyf8688 2015-04-26 17:44 鍙戣〃璇勮
]]>Copying a Table in MySQL and including the Primary Keyhttp://www.tkk7.com/liuyf8688/articles/423851.htmlliuyf8688liuyf8688Thu, 26 Mar 2015 03:36:00 GMThttp://www.tkk7.com/liuyf8688/articles/423851.htmlhttp://www.tkk7.com/liuyf8688/comments/423851.htmlhttp://www.tkk7.com/liuyf8688/articles/423851.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/423851.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/423851.htmlCREATE TABLE new_table LIKE old_table;
INSERT INTO new_table SELECT * FROM old_table;


liuyf8688 2015-03-26 11:36 鍙戣〃璇勮
]]>
DefaultCache in Ehcachehttp://www.tkk7.com/liuyf8688/articles/421914.htmlliuyf8688liuyf8688Mon, 29 Dec 2014 06:00:00 GMThttp://www.tkk7.com/liuyf8688/articles/421914.htmlhttp://www.tkk7.com/liuyf8688/comments/421914.htmlhttp://www.tkk7.com/liuyf8688/articles/421914.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/421914.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/421914.htmlDefault Cache configuration. These settings will be applied to caches created programmatically using CacheManager.add(String cacheName).
This element is optional, and using CacheManager.add(String cacheName) when its not present will throw CacheException
The defaultCache has an implicit name "default" which is a reserved cache name.

<defaultCache maxEntriesLocalHeap="0" eternal="false" timeToIdleSeconds="1200" timeToLiveSeconds="1200">
<terracotta/>
</defaultCache>


liuyf8688 2014-12-29 14:00 鍙戣〃璇勮
]]>Changing the project versionhttp://www.tkk7.com/liuyf8688/articles/421275.htmlliuyf8688liuyf8688Thu, 11 Dec 2014 06:23:00 GMThttp://www.tkk7.com/liuyf8688/articles/421275.htmlhttp://www.tkk7.com/liuyf8688/comments/421275.htmlhttp://www.tkk7.com/liuyf8688/articles/421275.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/421275.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/421275.html

liuyf8688 2014-12-11 14:23 鍙戣〃璇勮
]]>
Dependency scope In Mavenhttp://www.tkk7.com/liuyf8688/articles/421227.htmlliuyf8688liuyf8688Tue, 09 Dec 2014 08:49:00 GMThttp://www.tkk7.com/liuyf8688/articles/421227.htmlhttp://www.tkk7.com/liuyf8688/comments/421227.htmlhttp://www.tkk7.com/liuyf8688/articles/421227.html#Feedback0http://www.tkk7.com/liuyf8688/comments/commentRss/421227.htmlhttp://www.tkk7.com/liuyf8688/services/trackbacks/421227.htmlDependency scope is used to limit the transitivity of a dependency, and also to affect the classpath used for various build tasks.

There are 6 scopes available:

  • compile
    This is the default scope, used if none is specified. Compile dependencies are available in all classpaths of a project. Furthermore, those dependencies are propagated to dependent projects.
  • provided
    This is much like compile, but indicates you expect the JDK or a container to provide the dependency at runtime. For example, when building a web application for the Java Enterprise Edition, you would set the dependency on the Servlet API and related Java EE APIs to scope provided because the web container provides those classes. This scope is only available on the compilation and test classpath, and is not transitive.
  • runtime
    This scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath.
  • test
    This scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases.
  • system
    This scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository.
  • import (only available in Maven 2.0.9 or later)
    This scope is only used on a dependency of type pom in the <dependencyManagement> section. It indicates that the specified POM should be replaced with the dependencies in that POM's <dependencyManagement> section. Since they are replaced, dependencies with a scope ofimport do not actually participate in limiting the transitivity of a dependency.

Each of the scopes (except for import) affects transitive dependencies in different ways, as is demonstrated in the table below. If a dependency is set to the scope in the left column, transitive dependencies of that dependency with the scope across the top row will result in a dependency in the main project with the scope listed at the intersection. If no scope is listed, it means the dependency will be omitted.

compileprovidedruntimetest
compilecompile(*)-runtime-
providedprovided-provided-
runtimeruntime-runtime-
testtest-test-

(*) Note: it is intended that this should be runtime scope instead, so that all compile dependencies must be explicitly listed - however, there is the case where the library you depend on extends a class from another library, forcing you to have available at compile time. For this reason, compile time dependencies remain as compile scope even when they are transitive.



liuyf8688 2014-12-09 16:49 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 四虎影视成人永久免费观看视频| 亚洲熟妇无码另类久久久| 桃子视频在线观看高清免费视频| 亚洲国产成人AV网站| 亚洲欧洲日产国码在线观看| 亚洲女同成av人片在线观看| 国产乱人免费视频| 免费看国产成年无码AV片| 污污网站18禁在线永久免费观看| 久久久久久噜噜精品免费直播 | 伊人久久国产免费观看视频| 亚洲高清国产拍精品熟女| 亚洲沟沟美女亚洲沟沟| 亚洲国产精品lv| 国产成人综合亚洲亚洲国产第一页 | 0588影视手机免费看片| 久久午夜无码免费| 精品成人免费自拍视频| 中文字幕久无码免费久久| 青青免费在线视频| 国产成人精品久久亚洲高清不卡| 亚洲一卡2卡3卡4卡国产网站| 337p日本欧洲亚洲大胆色噜噜| 亚洲成AV人片在线观看| 亚洲精品国产字幕久久不卡 | 久久最新免费视频| 国产高潮久久免费观看| 一二三四在线观看免费中文在线观看| 欧美亚洲国产SUV| 自拍偷自拍亚洲精品偷一| 亚洲成av人片天堂网无码】| 亚洲色在线无码国产精品不卡| 久久久久精品国产亚洲AV无码| 亚洲人成高清在线播放| 亚洲毛片基地4455ww| 亚洲日本va在线观看| 一本色道久久88—综合亚洲精品| 亚洲午夜无码毛片av久久京东热| 亚洲乱人伦中文字幕无码| 精品韩国亚洲av无码不卡区| 日韩毛片在线免费观看|