锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲中文字幕伊人久久无码,亚洲国产片在线观看,精品国产成人亚洲午夜福利http://www.tkk7.com/luedipiaofeng/archive/2011/02/24/345053.htmlBlakeSuBlakeSuThu, 24 Feb 2011 05:03:00 GMThttp://www.tkk7.com/luedipiaofeng/archive/2011/02/24/345053.htmlhttp://www.tkk7.com/luedipiaofeng/comments/345053.htmlhttp://www.tkk7.com/luedipiaofeng/archive/2011/02/24/345053.html#Feedback0http://www.tkk7.com/luedipiaofeng/comments/commentRss/345053.htmlhttp://www.tkk7.com/luedipiaofeng/services/trackbacks/345053.html There are two way to let Maven package your application, either as a single jar with all your dependencies jar.


 <plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-assembly-plugin</artifactId>
  <configuration>
   <descriptorRefs>
    <descriptorRef>jar-with-dependencies</descriptorRef>
   </descriptorRefs>
  </configuration>
 </plugin>



One advantage if you choose to do this way is if you need to sign your application jar.
This is needed if you are building a Java Web Start client and you need more access than connecting back to the server.
To read more about have Maven signing your jar read http://maven.apache.org/plugins/maven-jar-plugin/usage.html.
But if you choose to go this way, make sure that all license agreement are shipped with your one single jar.

Another way is to let Maven package your source code only and then referring the dependent jar file from the MANIFEST file.


 <plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jar-plugin</artifactId>
  <configuration>
   <archive>
    <manifest>
     <addClasspath>true</addClasspath>
     <mainClass>se.msc.adapter.Main</mainClass>
     <classpathPrefix>lib/</classpathPrefix>
    </manifest>
   </archive>
  </configuration>
 </plugin>


BlakeSu 2011-02-24 13:03 鍙戣〃璇勮
]]>
eclipse 緇堜簬鏈変簡鍒楃紪杈戝姛鑳?/title><link>http://www.tkk7.com/luedipiaofeng/archive/2010/10/15/335216.html</link><dc:creator>BlakeSu</dc:creator><author>BlakeSu</author><pubDate>Fri, 15 Oct 2010 03:33:00 GMT</pubDate><guid>http://www.tkk7.com/luedipiaofeng/archive/2010/10/15/335216.html</guid><wfw:comment>http://www.tkk7.com/luedipiaofeng/comments/335216.html</wfw:comment><comments>http://www.tkk7.com/luedipiaofeng/archive/2010/10/15/335216.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/luedipiaofeng/comments/commentRss/335216.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/luedipiaofeng/services/trackbacks/335216.html</trackback:ping><description><![CDATA[eclipse 3.5涔嬪悗緇堜簬鏈変簡鍒楃紪杈戯紝蹇嵎閿槸alt+shift+a,鍐嶆鎸夋蹇嵎閿繑鍥炲父瑙勭紪杈戠姸鎬併?br /> <br /> <img src="file:///C:/DOCUME%7E1/bsu/LOCALS%7E1/Temp/moz-screenshot-1.png" alt="" /><img src="file:///C:/DOCUME%7E1/bsu/LOCALS%7E1/Temp/moz-screenshot-2.png" alt="" /><img src="http://www.tkk7.com/images/blogjava_net/luedipiaofeng/columnedit.png" alt="" border="0" height="289" width="307" /><br /> <img src ="http://www.tkk7.com/luedipiaofeng/aggbug/335216.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/luedipiaofeng/" target="_blank">BlakeSu</a> 2010-10-15 11:33 <a href="http://www.tkk7.com/luedipiaofeng/archive/2010/10/15/335216.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>LineNumberReader 鎸囧畾鏂囦歡緙栫爜http://www.tkk7.com/luedipiaofeng/archive/2010/08/05/327998.htmlBlakeSuBlakeSuThu, 05 Aug 2010 01:13:00 GMThttp://www.tkk7.com/luedipiaofeng/archive/2010/08/05/327998.htmlhttp://www.tkk7.com/luedipiaofeng/comments/327998.htmlhttp://www.tkk7.com/luedipiaofeng/archive/2010/08/05/327998.html#Feedback0http://www.tkk7.com/luedipiaofeng/comments/commentRss/327998.htmlhttp://www.tkk7.com/luedipiaofeng/services/trackbacks/327998.html
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.LineNumberReader;


public class Main {
    
    
public static void main(String[] args) throws IOException {

        InputStreamReader isr 
= new InputStreamReader(new FileInputStream("15370720.pdf4"), "utf-16");
        LineNumberReader lnr
=new LineNumberReader(isr);
        String line 
= null;
        
while((line=lnr.readLine())!=null){  
           System.out.println(lnr.getLineNumber()
+"\t"+line);
        }
   }
}


BlakeSu 2010-08-05 09:13 鍙戣〃璇勮
]]>
Class.getResourceAsStream 鍜?ClassLoader.getResourceAsStreamhttp://www.tkk7.com/luedipiaofeng/archive/2010/07/28/327336.htmlBlakeSuBlakeSuWed, 28 Jul 2010 08:31:00 GMThttp://www.tkk7.com/luedipiaofeng/archive/2010/07/28/327336.htmlhttp://www.tkk7.com/luedipiaofeng/comments/327336.htmlhttp://www.tkk7.com/luedipiaofeng/archive/2010/07/28/327336.html#Feedback0http://www.tkk7.com/luedipiaofeng/comments/commentRss/327336.htmlhttp://www.tkk7.com/luedipiaofeng/services/trackbacks/327336.html 璧勬簮錛岀敤鐨勬槸緇濆璺緞銆?br />
鍦ㄤ嬌鐢–lass.getResourceAsStream 鏃訛紝 璧勬簮璺緞鏈変袱縐嶆柟寮忥紝 涓縐嶄互 / 寮澶達(dá)紝鍒欒繖鏍風(fēng)殑璺緞鏄寚瀹氱粷瀵?br /> 璺緞錛?濡傛灉涓嶄互 / 寮澶達(dá)紝 鍒欒礬寰勬槸鐩稿涓庤繖涓猚lass鎵鍦ㄧ殑鍖呯殑銆?

鍦ㄤ嬌鐢–lassLoader.getResourceAsStream鏃訛紝 璺緞鐩存帴浣跨敤鐩稿浜巆lasspath鐨勭粷瀵硅礬寰勩?

涓句緥錛屼笅闈㈢殑涓変釜璇彞錛屽疄闄呯粨鏋滄槸涓鏍風(fēng)殑錛?
   com.explorers.Test.class.getResourceAsStream("abc.jpg")
= com.explorers.Test.class.getResourceAsStream("/com/explorers/abc.jpg")
= ClassLoader.getResourceAsStream("com/explorers/abc.jpg")

BlakeSu 2010-07-28 16:31 鍙戣〃璇勮
]]>
Standalone Java CAS Clienthttp://www.tkk7.com/luedipiaofeng/archive/2010/07/15/326212.htmlBlakeSuBlakeSuThu, 15 Jul 2010 09:59:00 GMThttp://www.tkk7.com/luedipiaofeng/archive/2010/07/15/326212.htmlhttp://www.tkk7.com/luedipiaofeng/comments/326212.htmlhttp://www.tkk7.com/luedipiaofeng/archive/2010/07/15/326212.html#Feedback0http://www.tkk7.com/luedipiaofeng/comments/commentRss/326212.htmlhttp://www.tkk7.com/luedipiaofeng/services/trackbacks/326212.htmlThere's a variety of clients for CAS. The Java-based clients (JA-SIG, Yale, see JA-SIG website) typically handle the browser-based client interaction with CAS very well through ServletFilter implementations.

Now what about programmatic authentication, i.e. achieving authentication through non-browser based applications? There exists a CAS .NET client but I did not manage to find the appropriate Java implementation. So here goes - it is based on the Apache HttpClient.

In case I missed any existing implementation achieving the same purpose, let's look at the bright side: at least now I understand the CAS protocol :-)

My CAS client works within any application. It uses the HttpClient and behaves like a browser client as CAS requires cookie support.

Here's the code:
import org.apache.commons.httpclient.Header;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpMethod;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.log4j.Logger;

/**
* The CasClient allows users to programmatically login
* to CAS protected services based on the CAS 2 protocol.
* This client behaves like a browser-client in terms of
* cookie handling.<br>
*
@author Mathias Richter
*/
public class CasClient
{
  
   
public static Logger LOG = Logger.getLogger( CasClient.class  );

   
public static final String LOGIN_URL_PART = "login";
   
public static final String SERVICE_VALIDATE_URL_PART = "serviceValidate";
   
public static final String TICKET_BEGIN = "ticket=";
   
private static final String LT_BEGIN = "name="lt" value="";
   public static final String CAS_USER_BEGIN = "<cas:user>";
   
public static final String CAS_USER_END = "</cas:user>";
  
   
private HttpClient fClient;
   
private String fCasUrl;
  
   
/**
    * Construct a new CasClient.
    *
    * 
@param casUrl The base URL of the CAS service to be used.
    
*/
   
public CasClient( String casBaseUrl )
   {
       
thisnew HttpClient(), casBaseUrl );
   }
  
   
/**
    * Construct a new CasClient which uses the specified HttpClient
    * for its HTTP calls.
    *
    * 
@param client
    * 
@param casBaseUrl
    
*/
   
public CasClient( HttpClient client, String casBaseUrl )
   {
       fClient 
= client;
       fCasUrl 
= casBaseUrl;
   }
  
   
/**
    * Authenticate the specified username with the specified password.
    * This will not yield any ticket, as no service is authenticated
    * against. This wil just set the CAS cookie in this client upon
    * successful authentication.
    *
    * 
@param username
    * 
@param password
    
*/
   
public void authenticate( String username, String password )
   {
       authenticate( 
null, username, password );
   }
  
   
/**
    * Validate the specified service ticket against the specified service.
    * If the ticket is valid, this will yield the clear text user name
    * of the autenticated user.<br>
    * Note that each service ticket issued by CAS can be used exactly once
    * to validate.
    *
    * 
@param serviceUrl
    * 
@param serviceTicket
    *
    * 
@return Clear text username of the authenticated user.
    
*/
   
public String validate( String serviceUrl, String serviceTicket )
   {
       String result 
= null;
       PostMethod method 
= new PostMethod( fCasUrl + SERVICE_VALIDATE_URL_PART );
       method.setParameter( 
"service", serviceUrl );
       method.setParameter( 
"ticket", serviceTicket );
       
try
       {
           
int statusCode = fClient.executeMethod(method);
           
if (statusCode != HttpStatus.SC_OK)
           {
               LOG.error( 
"Could not validate: " + method.getStatusLine() );
               method.releaseConnection();
           } 
else
           {   
               result 
= extractUser( new String( method.getResponseBody() ) );
           }
       } 
catch ( Exception x )
       {
           LOG.error( 
"Could not validate: " + x.toString () );
           x.printStackTrace();
       }
       method.releaseConnection();
       
return result;
   }
  
   
/**
    * Authenticate the specified user with the specified password against the
    * specified service.
    *
    * 
@param serviceUrl May be null. If a url is specified, the authentication will happen against this service, yielding a service ticket which can be validated.
    * 
@param username
    * 
@param password
    * 
@return A valid service ticket, if and only if the specified service URL is not null.
    
*/
   
public String authenticate( String serviceUrl, String username, String password )
   {
       String lt 
= getLt( serviceUrl );
       
if ( lt == null )
       {
           LOG.error( 
"Cannot retrieve LT from CAS. Aborting authentication for '" + username + "'" );
           
return null;
       }
       String result 
= null;
       PostMethod method 
= new PostMethod( fCasUrl + LOGIN_URL_PART );
       
if ( serviceUrl != null ) // optional
           method.setParameter( "service", serviceUrl );
       method.setParameter( 
"_eventId""submit" );
       method.setParameter(
"username", username );
       method.setParameter(
"password", password );
       method.setParameter(
"lt", lt );
       method.setParameter( 
"gateway""true" );
       
try
       {
           fClient.executeMethod(method);
           
if ( serviceUrl == null )
           {
               
if ( extractLt( new String( method.getResponseBody() ) ) != null ) // if CAS does not return a login page with an LT authentication was successful
               {
                   LOG.error( 
"Authentication for '" +  username + "' unsuccessful" );
                   
if ( LOG.isDebugEnabled() )
                       LOG.debug( 
"Authentication for '" + username + "' unsuccessful." );
               } 
else
               {
                   
if ( LOG.isDebugEnabled() )
                       LOG.debug( 
"Authentication for '" + username + "' unsuccessful." );
               }
           } 
else
           {
               Header h 
= method.getResponseHeader( "Location" );
               
if ( h != null )
                   result 
= extractServiceTicket( h.getValue() );
               
if ( result == null )
                   LOG.error( 
"Authentication for '" + username + "' unsuccessful." );
           }
       } 
catch ( Exception x )
       {
           LOG.error( 
"Could not authenticate'" + username + "':" + x.toString () );
       }
       method.releaseConnection();
       
return result;
   }
  
   
/**
    * Helper method to extract the user name from a "service validate" call to CAS.
    *
    * 
@param data Response data.
    * 
@return The clear text username, if it could be extracted, null otherwise.
    
*/
   
protected String extractUser( String data )
   {
       String user 
= null;
       
int start = data.indexOf( CAS_USER_BEGIN  );
       
if ( start >= 0 )
       {
           start 
+= CAS_USER_BEGIN.length();
           
int end = data.indexOf( CAS_USER_END );
           
if ( end > start )
               user 
= data.substring( start, end );
           
else
               LOG.warn( 
"Could not extract username from CAS validation response. Raw data is: '" + data + "'" );
       } 
else
       {
           LOG.warn( 
"Could not extract username from CAS validation response. Raw data is: '" + data + "'" );
       }
       
return user;
   }
  
   
/**
    * Helper method to extract the service ticket from a login call to CAS.
    *
    * 
@param data Response data.
    * 
@return The service ticket, if it could be extracted, null otherwise.
    
*/
   
protected String extractServiceTicket( String data )
   {
       String serviceTicket 
= null;
       
int start = data.indexOf( TICKET_BEGIN  );
       
if ( start > 0 )
       {
           start 
+= TICKET_BEGIN.length();
           serviceTicket 
= data.substring( start );
       }
       
return serviceTicket;
   }
  
   
/**
    * Helper method to extract the LT from a login form from CAS.
    *
    * 
@param data Response data.
    * 
@return The LT, if it could be extracted, null otherwise.
    
*/
   
protected String extractLt( String data )
   {
       String token 
= null;
       
int start = data.indexOf( LT_BEGIN  );
       
if ( start < 0 )
       {
           LOG.error( 
"Could not obtain LT token from CAS: LT Token not found in response." );
       } 
else
       {
           start 
+= LT_BEGIN.length();
           
int end = data.indexOf( """, start );
           token = data.substring( start, end );
       }       
       
return token;
   }
  
   
/**
    * This method requests the original login form from CAS.
    * This form contains an LT, an initial token that must be
    * presented to CAS upon sending it an authentication request
    * with credentials.<br>
    * If a service URL is provided (which is optional), this method
    * will post the URL such that CAS authenticates against the
    * specified service when a subsequent authentication request is
    * sent.
    *
    * 
@param serviceUrl
    * 
@return The LT token if it could be extracted from the CAS response.
    
*/
   
protected String getLt( String serviceUrl )
   {
       String lt 
= null;
       HttpMethod method 
= null;
       
if ( serviceUrl == null )
           method 
= new GetMethod( fCasUrl + LOGIN_URL_PART );
       
else
       {
           method 
= new PostMethod( fCasUrl + LOGIN_URL_PART );
           ( ( PostMethod ) method ).setParameter( 
"service", serviceUrl );
       }
       
try
       {
           
int statusCode = fClient.executeMethod(method);
           
if (statusCode != HttpStatus.SC_OK)
           {
               LOG.error( 
"Could not obtain LT token from CAS: " + method.getStatusLine() );
               method.releaseConnection();
           } 
else
           {
               Object o 
= method.getResponseHeaders() ;
               
return extractLt( new String( method.getResponseBody() ) );
           }
       } 
catch ( Exception x )
       {
           LOG.error( 
"Could not obtain LT token from CAS: " + x.toString () );
       }
       method.releaseConnection();
       
return lt;
   }
  
}



BlakeSu 2010-07-15 17:59 鍙戣〃璇勮
]]>
java鍙栨枃浠舵崲琛岀http://www.tkk7.com/luedipiaofeng/archive/2010/06/30/324892.htmlBlakeSuBlakeSuWed, 30 Jun 2010 07:45:00 GMThttp://www.tkk7.com/luedipiaofeng/archive/2010/06/30/324892.htmlhttp://www.tkk7.com/luedipiaofeng/comments/324892.htmlhttp://www.tkk7.com/luedipiaofeng/archive/2010/06/30/324892.html#Feedback0http://www.tkk7.com/luedipiaofeng/comments/commentRss/324892.htmlhttp://www.tkk7.com/luedipiaofeng/services/trackbacks/324892.html

BlakeSu 2010-06-30 15:45 鍙戣〃璇勮
]]>
紱佹嫻忚鍣ㄧ紦瀛?/title><link>http://www.tkk7.com/luedipiaofeng/archive/2010/06/25/324386.html</link><dc:creator>BlakeSu</dc:creator><author>BlakeSu</author><pubDate>Fri, 25 Jun 2010 01:06:00 GMT</pubDate><guid>http://www.tkk7.com/luedipiaofeng/archive/2010/06/25/324386.html</guid><wfw:comment>http://www.tkk7.com/luedipiaofeng/comments/324386.html</wfw:comment><comments>http://www.tkk7.com/luedipiaofeng/archive/2010/06/25/324386.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/luedipiaofeng/comments/commentRss/324386.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/luedipiaofeng/services/trackbacks/324386.html</trackback:ping><description><![CDATA[html<br /> <div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">  </span><span style="color: #0000ff;"><</span><span style="color: #800000;">meta </span><span style="color: #ff0000;">http-equiv</span><span style="color: #0000ff;">="pragma"</span><span style="color: #ff0000;"> content</span><span style="color: #0000ff;">="no-cache"</span><span style="color: #0000ff;">></span><span style="color: #000000;"><br />   </span><span style="color: #0000ff;"><</span><span style="color: #800000;">meta </span><span style="color: #ff0000;">http-equiv</span><span style="color: #0000ff;">="cache-control"</span><span style="color: #ff0000;"> content</span><span style="color: #0000ff;">="no-cache"</span><span style="color: #0000ff;">></span><span style="color: #000000;"><br />   </span><span style="color: #0000ff;"><</span><span style="color: #800000;">meta </span><span style="color: #ff0000;">http-equiv</span><span style="color: #0000ff;">="expires"</span><span style="color: #ff0000;"> content</span><span style="color: #0000ff;">="0"</span><span style="color: #0000ff;">></span></div> <br /> <br /> servlet<br /> <div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">          response.setHeader(</span><span style="color: #000000;">"</span><span style="color: #000000;">pragma</span><span style="color: #000000;">"</span><span style="color: #000000;">,</span><span style="color: #000000;">"</span><span style="color: #000000;">no-cache</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br />           response.setHeader(</span><span style="color: #000000;">"</span><span style="color: #000000;">cache-control</span><span style="color: #000000;">"</span><span style="color: #000000;">,</span><span style="color: #000000;">"</span><span style="color: #000000;">no-cache</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br />           response.setDateHeader(</span><span style="color: #000000;">"</span><span style="color: #000000;">expires</span><span style="color: #000000;">"</span><span style="color: #000000;">, </span><span style="color: #000000;">0</span><span style="color: #000000;">);</span></div> <br /> <br /> <img src ="http://www.tkk7.com/luedipiaofeng/aggbug/324386.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/luedipiaofeng/" target="_blank">BlakeSu</a> 2010-06-25 09:06 <a href="http://www.tkk7.com/luedipiaofeng/archive/2010/06/25/324386.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>frame 涓法鍩熻闂甤ookie(java)http://www.tkk7.com/luedipiaofeng/archive/2010/06/25/324385.htmlBlakeSuBlakeSuFri, 25 Jun 2010 01:04:00 GMThttp://www.tkk7.com/luedipiaofeng/archive/2010/06/25/324385.htmlhttp://www.tkk7.com/luedipiaofeng/comments/324385.htmlhttp://www.tkk7.com/luedipiaofeng/archive/2010/06/25/324385.html#Feedback0http://www.tkk7.com/luedipiaofeng/comments/commentRss/324385.htmlhttp://www.tkk7.com/luedipiaofeng/services/trackbacks/324385.html

BlakeSu 2010-06-25 09:04 鍙戣〃璇勮
]]>
vim鐨勫鍒剁矘璐村皬緇?/title><link>http://www.tkk7.com/luedipiaofeng/archive/2010/06/18/323810.html</link><dc:creator>BlakeSu</dc:creator><author>BlakeSu</author><pubDate>Fri, 18 Jun 2010 06:21:00 GMT</pubDate><guid>http://www.tkk7.com/luedipiaofeng/archive/2010/06/18/323810.html</guid><wfw:comment>http://www.tkk7.com/luedipiaofeng/comments/323810.html</wfw:comment><comments>http://www.tkk7.com/luedipiaofeng/archive/2010/06/18/323810.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/luedipiaofeng/comments/commentRss/323810.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/luedipiaofeng/services/trackbacks/323810.html</trackback:ping><description><![CDATA[<span id="ctl00_MainContentPlaceholder_ctl01_ctl00_lblEntry"> <p><span id="ctl00_MainContentPlaceholder_ctl01_ctl00_lblTrackbacks">鍘熸枃鍦板潃銆http://lsong17.spaces.live.com/blog/cns!556C21919D77FB59!603.trak</span></p> <p><br /> </p> <p>鐢╲im榪欎箞涔? 浜嗭紝濮嬬粓涔熶笉鐭ラ亾鎬庝箞鍦╲im涓嬌鐢ㄧ郴緇熺矘璐存澘錛岄氬父瑕佸湪緗戜笂澶嶅埗涓孌典唬鐮侀兘鏄厛gedit鎵撳紑鏂囦歡錛屼腑閿矘璐村悗鍏抽棴錛岀劧鍚庡啀鐢╲im鎵撳紑緙栬緫錛岀湡鐨勪笉 鐖斤紱涓婃璁哄潧涓婃湁浜洪棶鍒頒簡鎬庝箞鍦╲im涓嬌鐢ㄧ郴緇熺矘璐存澘錛屽嵃璞¢噷鍥炲寰堝錛屾湁濂藉嚑欏電殑鍥炲鍗存病鏈夎В鍐抽棶棰橈紝浠婂ぉ瀹炲湪鍙椾笉浜嗕簡鍙堝湪緗戜笂鎵懼姙娉曪紝绔熸剰澶栧湴鎵懼埌 浜嗭紝璐村嚭鏉ュ垎浜竴涓嬨? </p> <p>濡傛灉鍙槸鎯充嬌鐢ㄧ郴緇熺矘璐存澘鐨勮瘽鐩存帴鍦ㄨ緭鍏ユā寮忔寜Shift+Inset灝卞彲浠ヤ簡錛屼笅闈㈣涓涓媣im鐨勭矘璐存澘鐨勫熀紜鐭ヨ瘑錛屾湁鍏磋叮鐨勫彲浠ョ湅鐪嬶紝 搴旇浼?xì)鏈夋墍鏀惰幏鐨勩?br /> vim甯姪鏂囨。閲屼笌綺樿創(chuàng)鏉挎湁鍏崇殑鍐呭濡備笅錛? </p> <ol> <li>vim鏈?2涓矘璐存澘錛屽垎鍒槸0銆?銆?銆?..銆?銆乤銆?#8220;銆侊紜錛涚敤:reg鍛戒護(hù)鍙互鏌ョ湅鍚勪釜綺樿創(chuàng)鏉塊噷鐨勫唴瀹廣傚湪vim涓畝鍗曠敤y鍙槸澶嶅埗鍒? “錛堝弻寮曞彿)綺樿創(chuàng)鏉塊噷錛屽悓鏍風(fēng)敤p綺樿創(chuàng)鐨勪篃鏄繖涓矘璐存澘閲岀殑鍐呭錛? <p> </p> </li> <li>瑕佸皢vim鐨勫唴瀹瑰鍒跺埌鏌愪釜綺樿創(chuàng)鏉匡紝闇瑕侀鍑虹紪杈戞ā寮忥紝榪涘叆姝e父妯″紡鍚庯紝閫夋嫨瑕佸鍒剁殑鍐呭錛岀劧鍚庢寜"Ny瀹屾垚澶嶅埗錛屽叾涓璑涓虹矘 璐存澘鍙?娉ㄦ剰鏄寜涓涓嬪弻寮曞彿鐒跺悗鎸夌矘璐存澘鍙鋒渶鍚庢寜y)錛屼緥濡傝鎶婂唴瀹瑰鍒跺埌綺樿創(chuàng)鏉縜錛岄変腑鍐呭鍚庢寜"ay灝卞彲浠ヤ簡錛屾湁涓ょ偣闇瑕佽鏄庝竴涓嬶細(xì) <ul> <li>“鍙風(fēng)矘璐存澘錛堜復(fù)鏃剁矘璐存澘錛夋瘮杈冪壒孌婏紝鐩存帴鎸墆灝卞鍒跺埌榪欎釜綺樿創(chuàng)鏉夸腑浜嗭紝鐩存帴鎸塸灝辯矘璐磋繖涓矘璐存澘涓殑鍐呭錛? </li> <li>+鍙風(fēng)矘璐存澘鏄郴緇熺矘璐存澘錛岀敤"+y灝嗗唴瀹瑰鍒跺埌璇ョ矘璐存澘鍚庡彲浠ヤ嬌鐢–trl錛媀灝嗗叾綺樿創(chuàng)鍒板叾浠栨枃妗o紙濡俧irefox銆乬edit錛? 涓紝鍚岀悊錛岃鎶婂湪鍏朵粬鍦版柟鐢–trl錛婥鎴栧彸閿鍒剁殑鍐呭澶嶅埗鍒皏im涓紝闇瑕佸湪姝e父妯″紡涓嬫寜"+p錛?</li> </ul> <p> </p> </li> <li>瑕佸皢vim鏌愪釜綺樿創(chuàng)鏉塊噷鐨勫唴瀹圭矘璐磋繘鏉ワ紝闇瑕侀鍑虹紪杈戞ā寮忥紝鍦ㄦ甯告ā寮忔寜"Np錛屽叾涓璑涓虹矘璐存澘鍙鳳紝濡備笂鎵榪幫紝鍙互鎸?5p灝? 5鍙風(fēng)矘璐存澘閲岀殑鍐呭綺樿創(chuàng)榪涙潵錛屼篃鍙互鎸?+p灝嗙郴緇熷叏灞綺樿創(chuàng)鏉塊噷鐨勫唴瀹圭矘璐磋繘鏉ャ?</li> </ol> <p><font color="lime">娉ㄦ剰錛氬湪鎴戣繖閲岋紝鍙湁vim.gtk鎴杤im.gnome鎵嶈兘浣跨敤緋葷粺鍏ㄥ眬綺樿創(chuàng)鏉匡紝榛樿鐨? vim.basic鐪嬩笉鍒?鍙峰瘎瀛樺櫒銆?/font></p> </span> <img src ="http://www.tkk7.com/luedipiaofeng/aggbug/323810.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/luedipiaofeng/" target="_blank">BlakeSu</a> 2010-06-18 14:21 <a href="http://www.tkk7.com/luedipiaofeng/archive/2010/06/18/323810.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://tedegold.com" target="_blank">久久国产乱子伦精品免费不卡</a>| <a href="http://chuadang.com" target="_blank">好先生在线观看免费播放 </a>| <a href="http://222dv.com" target="_blank">亚洲av日韩av欧v在线天堂</a>| <a href="http://cc19123.com" target="_blank">一区二区三区视频免费观看</a>| <a href="http://vankiz.com" target="_blank">亚洲综合在线视频</a>| <a href="http://kkm55.com" target="_blank">狼友av永久网站免费观看</a>| <a href="http://0917xzb.com" target="_blank">中文字幕视频在线免费观看</a>| <a href="http://caita88.com" target="_blank">久久亚洲精品人成综合网</a>| <a href="http://941sese.com" target="_blank">永久免费bbbbbb视频</a>| <a href="http://j2eesp.com" target="_blank">日本三级在线观看免费</a>| <a href="http://tltcn.com" target="_blank">一本色道久久88亚洲精品综合</a>| <a href="http://bnb989.com" target="_blank">在线亚洲人成电影网站色www</a>| <a href="http://616kb.com" target="_blank">免费国产成人高清在线观看网站</a>| <a href="http://xy167.com" target="_blank">日本永久免费a∨在线视频</a>| <a href="http://14743592.com" target="_blank">亚洲网站在线播放</a>| <a href="http://lyaa60.com" target="_blank">久久综合亚洲色HEZYO国产</a>| <a href="http://jack-fx.com" target="_blank">黄色片在线免费观看</a>| <a href="http://0755szyxcm.com" target="_blank">成人无码视频97免费</a>| <a href="http://wwwby1378.com" target="_blank">亚洲色成人WWW永久在线观看</a>| <a href="http://www96pg.com" target="_blank">九月丁香婷婷亚洲综合色</a>| <a href="http://gangxiangli.com" target="_blank">热99re久久免费视精品频软件</a>| <a href="http://hubmba.com" target="_blank">四虎国产精品永久免费网址</a>| <a href="http://hbjpxnyqckj.com" target="_blank">国产亚洲精品国产福利在线观看</a>| <a href="http://www52a.com" target="_blank">亚洲国产人成在线观看</a>| <a href="http://qihongxia.com" target="_blank">在线亚洲午夜理论AV大片</a>| <a href="http://3344088.com" target="_blank">国产成人免费片在线视频观看</a>| <a href="http://hnshlt.com" target="_blank">最近高清中文字幕免费</a>| <a href="http://www-01313.com" target="_blank">WWW免费视频在线观看播放</a>| <a href="http://ziniurj.com" target="_blank">亚洲欧美不卡高清在线</a>| <a href="http://ycjs999.com" target="_blank">亚洲国产av高清无码</a>| <a href="http://4p5e.com" target="_blank">亚洲国产综合91精品麻豆</a>| <a href="http://gepuw.com" target="_blank">国产AV无码专区亚洲AV漫画</a>| <a href="http://leeszewan.com" target="_blank">暖暖免费高清日本中文</a>| <a href="http://haigoumama.com" target="_blank">成人免费大片免费观看网站</a>| <a href="http://ghiearning.com" target="_blank">中国一级特黄高清免费的大片中国一级黄色片 </a>| <a href="http://ahjmdd.com" target="_blank">亚洲网站在线播放</a>| <a href="http://1880531.com" target="_blank">久久精品国产精品亚洲精品</a>| <a href="http://wowo123.com" target="_blank">免费一级特黄特色大片在线 </a>| <a href="http://jjwgzx.com" target="_blank">亚洲欧洲日产国码高潮αv</a>| <a href="http://hzsprfm.com" target="_blank">日本成人免费在线</a>| <a href="http://chuoche.com" target="_blank">国产精品免费观看久久</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>