锘??xml version="1.0" encoding="utf-8" standalone="yes"?>综合久久五月天,456亚洲精品成人影院,久久精品国产亚洲高清剧情介绍http://www.aygfsteel.com/liuyf8688/zh-cnWed, 18 Jun 2025 10:44:52 GMTWed, 18 Jun 2025 10:44:52 GMT60甯哥敤杞歡绔彛鍙?/title><link>http://www.aygfsteel.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.aygfsteel.com/liuyf8688/articles/429900.html</guid><wfw:comment>http://www.aygfsteel.com/liuyf8688/comments/429900.html</wfw:comment><comments>http://www.aygfsteel.com/liuyf8688/articles/429900.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liuyf8688/comments/commentRss/429900.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liuyf8688/services/trackbacks/429900.html</trackback:ping><description><![CDATA[<img src="http://www.aygfsteel.com/images/blogjava_net/liuyf8688/甯哥敤杞歡绔彛鍙?JPG" width="216" height="121" alt="" /><img src ="http://www.aygfsteel.com/liuyf8688/aggbug/429900.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liuyf8688/" target="_blank">liuyf8688</a> 2016-03-30 14:59 <a href="http://www.aygfsteel.com/liuyf8688/articles/429900.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Log4j閰嶇疆RollingFileAppenderhttp://www.aygfsteel.com/liuyf8688/articles/429784.htmlliuyf8688liuyf8688Wed, 23 Mar 2016 09:30:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/429784.htmlhttp://www.aygfsteel.com/liuyf8688/comments/429784.htmlhttp://www.aygfsteel.com/liuyf8688/articles/429784.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/429784.htmlhttp://www.aygfsteel.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.aygfsteel.com/liuyf8688/articles/429783.htmlliuyf8688liuyf8688Wed, 23 Mar 2016 08:12:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/429783.htmlhttp://www.aygfsteel.com/liuyf8688/comments/429783.htmlhttp://www.aygfsteel.com/liuyf8688/articles/429783.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/429783.htmlhttp://www.aygfsteel.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.aygfsteel.com/liuyf8688/articles/429236.htmlliuyf8688liuyf8688Wed, 27 Jan 2016 11:00:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/429236.htmlhttp://www.aygfsteel.com/liuyf8688/comments/429236.htmlhttp://www.aygfsteel.com/liuyf8688/articles/429236.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/429236.htmlhttp://www.aygfsteel.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.aygfsteel.com/liuyf8688/articles/426563.htmlliuyf8688liuyf8688Mon, 03 Aug 2015 10:33:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/426563.htmlhttp://www.aygfsteel.com/liuyf8688/comments/426563.htmlhttp://www.aygfsteel.com/liuyf8688/articles/426563.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/426563.htmlhttp://www.aygfsteel.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.aygfsteel.com/liuyf8688/articles/424679.htmlliuyf8688liuyf8688Sun, 26 Apr 2015 09:44:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/424679.htmlhttp://www.aygfsteel.com/liuyf8688/comments/424679.htmlhttp://www.aygfsteel.com/liuyf8688/articles/424679.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/424679.htmlhttp://www.aygfsteel.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)

鐢變簬鏍規嵁鏈湴鐜鍙婅蔣浠剁増鏈紝娌℃湁緇熶竴鐨勮В鍐蟲柟妗堬紝涓嬮潰鎴戝皢璇存槑鎴戠殑杞歡鐜銆?/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喅鏂規錛堟殏鏃舵病鏈夋壘鍒扮悊鎯蟲柟妗堬紝鎵浠ュ皾璇曢噸緗畆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;

鏍規嵁鐗堟湰涓嶅悓錛岃鎵ц涓嶅悓鐨勫懡浠わ細
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.aygfsteel.com/liuyf8688/articles/423851.htmlliuyf8688liuyf8688Thu, 26 Mar 2015 03:36:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/423851.htmlhttp://www.aygfsteel.com/liuyf8688/comments/423851.htmlhttp://www.aygfsteel.com/liuyf8688/articles/423851.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/423851.htmlhttp://www.aygfsteel.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.aygfsteel.com/liuyf8688/articles/421914.htmlliuyf8688liuyf8688Mon, 29 Dec 2014 06:00:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/421914.htmlhttp://www.aygfsteel.com/liuyf8688/comments/421914.htmlhttp://www.aygfsteel.com/liuyf8688/articles/421914.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/421914.htmlhttp://www.aygfsteel.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.aygfsteel.com/liuyf8688/articles/421275.htmlliuyf8688liuyf8688Thu, 11 Dec 2014 06:23:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/421275.htmlhttp://www.aygfsteel.com/liuyf8688/comments/421275.htmlhttp://www.aygfsteel.com/liuyf8688/articles/421275.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/421275.htmlhttp://www.aygfsteel.com/liuyf8688/services/trackbacks/421275.html

liuyf8688 2014-12-11 14:23 鍙戣〃璇勮
]]>
Dependency scope In Mavenhttp://www.aygfsteel.com/liuyf8688/articles/421227.htmlliuyf8688liuyf8688Tue, 09 Dec 2014 08:49:00 GMThttp://www.aygfsteel.com/liuyf8688/articles/421227.htmlhttp://www.aygfsteel.com/liuyf8688/comments/421227.htmlhttp://www.aygfsteel.com/liuyf8688/articles/421227.html#Feedback0http://www.aygfsteel.com/liuyf8688/comments/commentRss/421227.htmlhttp://www.aygfsteel.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 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 广灵县| 宝山区| 如皋市| 南乐县| 泌阳县| 如东县| 辽阳市| 晋州市| 昌邑市| 威远县| 河曲县| 玉山县| 湘潭县| 东源县| 筠连县| 江西省| 漯河市| 苏州市| 马边| 云安县| 大姚县| 蓝田县| 开远市| 绥宁县| 沂南县| 永清县| 永新县| 永登县| 上思县| 蚌埠市| 察隅县| 临沂市| 乌兰县| 兴国县| 新津县| 芮城县| 东港市| 沐川县| 凯里市| 博湖县| 红桥区|