锘??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-Read Seanhttp://www.67529968.com/sean/Read me, read Sean.zh-cnMon, 25 Feb 2019 15:19:49 GMTMon, 25 Feb 2019 15:19:49 GMT60Mac瀹夎tsockshttp://www.67529968.com/sean/archive/2014/05/07/413382.htmllaogaolaogaoWed, 07 May 2014 15:23:00 GMThttp://www.67529968.com/sean/archive/2014/05/07/413382.htmlhttp://www.67529968.com/sean/comments/413382.htmlhttp://www.67529968.com/sean/archive/2014/05/07/413382.html#Feedback2http://www.67529968.com/sean/comments/commentRss/413382.htmlhttp://www.67529968.com/sean/services/trackbacks/413382.html
vim /usr/local/Library/Formula/tsocks.rb

require 'formula'

class Tsocks < Formula
  # The original is http://tsocks.sourceforge.net/
  # This GitHub repo is a maintained fork with OSX support

  homepage 'http://github.com/pc/tsocks'
  head 'https://github.com/pc/tsocks.git'

  depends_on 'autoconf' => :build if MacOS.xcode_version.to_f >= 4.3

  def install
    system "autoconf""-v"
    system "./configure""--prefix=#{prefix}""--disable-debug""--disable-dependency-tracking""--with-conf=#{config_file}"

    inreplace("tsocks") { |bin| bin.change_make_var! "LIBDIR", lib }

    system "make"
    system "make install"

    etc.install "tsocks.conf.simple.example" => "tsocks.conf" unless config_file.exist?
  end

  def test
    puts 'Your current public ip is:'
    ohai `curl -sS ifconfig.me 2>&1`.chomp
    puts "If your correctly configured #{config_file}, this should show the ip you have trough the proxy"
    puts 'Your ip through the proxy is:'
    ohai `tsocks curl -sS ifconfig.me 2>&1`.chomp
  end

  def config_file
    etc / 'tsocks.conf'
  end
end

鏈?#27996;?#28051;?#26473;formula涔嬪悗锛屽嵆鍙?brew install --HEAD tsocks 銆?img src ="http://www.67529968.com/sean/aggbug/413382.html" width = "1" height = "1" />

laogao 2014-05-07 23:23 鍙戣璇勮
]]>
[RPi] 鏍戞娲?#28729;夎?#21301;BMC骞惰鍏舵敮鎸?#28051;?#37826;?/title><link>http://www.67529968.com/sean/archive/2014/04/06/411990.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Sun, 06 Apr 2014 09:45:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2014/04/06/411990.html</guid><wfw:comment>http://www.67529968.com/sean/comments/411990.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2014/04/06/411990.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/411990.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/411990.html</trackback:ping><description><![CDATA[鏈?#27996;RPi褰撶劧鍏?#28051;?#27996;?#29781;佺帺鐜XBMC锛?#26473;?#38322;屾帹鑽怷Bian锛?#28729;夎?#21620;?#23943;疆?#32323;绋嬪涓?#38171;?br /> <br /> 1- 涓嬭浇.img鏂?#28000;?( <span style="font-size: 14px;"><a href="http://www.xbian.org/download/" target="_blank">http://www.xbian.org/download/</a></span><span style="font-size: 14px;"> )锛?/span><br /> 2- 鐢dd鍛?#28000;?#28751;?img锛堟瘮濡俋Bian_beta_2.img锛?#37712;欏叆SD鍗?#38171;?br /> 3- 灏?#28051;?#37826;囧瓧浣?#38171;堟瘮濡wqy-zenhei.ttc锛?#38322;?#37723;藉悕涓篴rial.ttf锛屽鍒?#37714;癝D鍗殑~/.xbmc/media/Fonts鐩?#35120;?#38171;圶Bian榛樿鐢埛涓簒bian锛屽瘑鐮乺aspberry锛?#38171;?br /> 4- ?#31904; <span style="font-size: 14px;"><a href="https://code.google.com/p/xbmc-addons-chinese/downloads/detail?name=repository.googlecode.xbmc-addons-chinese-eden.zip" target="_blank">https://code.google.com/p/xbmc-addons-chinese/downloads/detail?name=repository.googlecode.xbmc-addons-chinese-eden.zip</a> 涓嬭浇璧勬簮鎻?#28000;?#39582;?/span><span style="font-size: 14px;">澶?#37714;?#37714;癝D鍗?#38171;?/span><br /> 5- 灏哠D鍗?#37819;?#37711;RPi骞?#26473;?#37818;HDMI鍒?#37922;?#29785;?#37832;?鏄剧鍣?#38171;?br /> 6- RPi?#32017;鏈?#38171;?#26473;涘叆XBian?#27537;閰嶇疆椤甸潰锛屽彲浠?#37837;噯灞?#39582;?#38171;岄?#23943;疆缃?#32513;?#26473;?#37818;瓑锛?br /> 7- 鍦郴缁熻缃?#28051;?#38315;夋嫨?#29927;浣?#28051;篈rial锛?#29831;?#29815;閫?#28051;?#28051;?#37826;?#38171;屾?#26882;搴?#29831;?#37930;嬪埌鐣岄潰鍙?#23005;父鏄剧涓?#37826;?#38171;?br /> 8- 瀹夎鎵?#28766;?#32459;?#25652;?#38171;岄夋嫨涔嬪墠涓嬭浇鍒癝D鍗殑repository.googlecode.xbmc-addons-chinese-eden.zip鏂?#28000;?#38171;屾墿灞?#28729;夎?#21614;垚鍔熷悗?#23878;鍙?#37734;?#37813;?#28766;?#32459;?#25652;?#37714;?#29723;?#28051;?#37930;嬪埌瀵?#25652;旂殑璧勬簮?#28527;鐩?#38171;岄?#28051;瀹夎?#21613;嵆鍙?#37510;?br /> <br /> 棰?#28598;?#37819;愮锛歑BMC涔?#37721;?#28000;?#38315;氳繃缃?#32513;?#37711;?#27996;?#37822;斁瑙?#26864;?#38171;?#28052;嬪墠?#31393;澶?#28729;舵彁鍒拌繃XBMC鏄剧涓?#37826;囧瓧骞?#37832;夋椂鍑?#37916;?#37825;?#29723;岃?#26591;鍧?#29781;?#37929;栫殑闂?#26864;?#38171;岃鍐虫柟娉?#37828;?#37734;瓧骞?#37826;?#28000;?#28051;煡鎵惧苟鍒?#38340;垨鏇挎崲"…"?#29927;绗?#37510;侲njoy锛?img src ="http://www.67529968.com/sean/aggbug/411990.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2014-04-06 17:45 <a href="http://www.67529968.com/sean/archive/2014/04/06/411990.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>IntelliJ IDEA ?#29238;鐢?#36423;嵎閿?/title><link>http://www.67529968.com/sean/archive/2014/03/09/410781.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Sun, 09 Mar 2014 05:38:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2014/03/09/410781.html</guid><wfw:comment>http://www.67529968.com/sean/comments/410781.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2014/03/09/410781.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/410781.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/410781.html</trackback:ping><description><![CDATA[<br /> 鏁寸悊涓涓?IntelliJ IDEA ?#28214;?#29238;鐢殑蹇嵎閿?#38171;屾寜鐓究浜庤蹇嗙殑?#26591;寮?#37818;?#37714;?#38171;?br /> <br /> <pre> Ctrl-N              Class... (find by name) Ctrl-Shift-N        File... (find by name) Ctrl-Shift-Alt-N    Symbol... (find by name) Ctrl-G              Line... (goto line) Ctrl-H              Type hierarchy (hierarchy) Ctrl-Shift-H        Method hierarchy (hierarchy) Ctrl-Alt-H          Call hierarchy (hierarchy) Ctrl-Q              Quick documentation Ctrl-Alt-I          Auto-indent lines (indent) Ctrl-Alt-L          Reformat code (line up) Ctrl-Alt-O          Optimize imports (optimize) Ctrl-/              Comment with line comment (//) Ctrl-Shift-/        Comment with block comment (/*...*/) Ctrl-W              Select word or block (word) Ctrl-D              Copy line (duplicate line, yyp) Ctrl-X              Cut line (dd) Ctrl-U              Uppercase/lowercase (upper) Ctrl-J              Insert live template Ctrl-Alt-J          Surround with live template Ctrl-Alt-T          Surround with (template) Ctrl-Shift-J        Join lines (join) Ctrl-E              Recent files (editions) Ctrl-Shift-E        Recently changed files (editions) Alt-Shift-C         Recent changes (changes) Ctrl-B              Delcaration Ctrl-Shift-B        Type declaration Ctrl-Alt-B          Implementation(s) Ctrl-P              Parameter info (parameter) Ctrl-Space          Basic completion Ctrl-Shift-Space    Smart completion Ctrl-Alt-Space      Completion lookup Alt-Enter           Auto-complete Alt-Insert          Generate... Ctrl-Shift-Up/Down  Move statement up/down Alt-Shift-Up/Down   Move line up/down Ctrl-Up/Down        Scroll up/down Alt-Up/Down         Previous/next method F2                  Next highlighted error Shift-F2            Previous highlighted error Ctrl-F              Find Ctrl-R              Replace F3                  Next match Shift-F3            Previous match F4                  Jump to source Ctrl-Alt-Shift-T    Refactor this F5                  Refactor copy F6                  Refactor move Ctrl-F6             Refactor change signature Shift-F6            Refactor rename Alt-Delete          Refactor safe delete Ctrl-Alt-V          Refactor extract variable Ctrl-Alt-F          Refactor extract field Ctrl-Alt-P          Refactor extract parameter Ctrl-Alt-M          Refactor extract method Ctrl-Alt-N          Refactor inline </pre> <img src ="http://www.67529968.com/sean/aggbug/410781.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2014-03-09 13:38 <a href="http://www.67529968.com/sean/archive/2014/03/09/410781.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>[RPi] 鏍戞娲?#28729;夎?#21266;rchlinux鍜岃摑鐗?/title><link>http://www.67529968.com/sean/archive/2014/01/01/408333.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Wed, 01 Jan 2014 05:11:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2014/01/01/408333.html</guid><wfw:comment>http://www.67529968.com/sean/comments/408333.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2014/01/01/408333.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/408333.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/408333.html</trackback:ping><description><![CDATA[涓?#28052;呭墠鍏?#27996;?#28051;?Raspberry Pi 涔?#28751;?#37828;?#28598;?#28729;?#29831;寸殑鏍戞娲?#38171;?#28000;?#28051;嬬畝绉癛Pi锛?#38171;屾?#25358;潵鍋氳摑鐗欐祴璇?#38171;?#37922;殑?#25681;鐗dongle鏄疧RICO?#27537;BTA-403-BL <a href="http://item.jd.com/980800.html">http://item.jd.com/980800.html</a> 銆傝繖閲岀畝鍗曡褰?#28051;?#28729;夎?#21616;繃绋?#38171;?br /> <br />棣?#37711;堟槸鎿嶄?#28357;郴缁?#37510;?#28003;?#28051;篈rch閲?#25652;?#37922;埛锛屽?#25782;劧閫堿rchlinux ARM浜? <a href="http://archlinuxarm.org/platforms/armv6/raspberry-pi">http://archlinuxarm.org/platforms/armv6/raspberry-pi</a> 涓嬭浇img鏂?#28000;?#38171;?#37922;dd鍐欏埌SD鍗?#28051;?#38171;?br /> <div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->dd bs=1M <span style="color: #0000FF; ">if</span>=/path/to/archlinux-hf-*.img of=/dev/sdX</div> <br /> ?#21159;?#24727;鐢GParted鎶奡D鍗?#28051;婄殑鍒?#37718;?#37815;?#23114;?#38171;屽厖鍒?#37714;?#37922;?#32460;?#38338;?#37510;傝繖鏍稴D鍗?#28751;卞噯澶囧浜?#38171;屾彃鍒癛Pi涓?#38171;屾帴涓Micro-USB?#27537;鐢|簮鍜?#32515;戠嚎锛屽惎鍔RPi锛屼粠璺?#37922;?#37731;?#28051;?#37813;惧埌RPi?#27537;IP鍦?#37735;锛堟満鍣悕榛樿鏄痑larmpi锛?#38171;宻sh涓婂幓锛?#37922;埛?#24725;root?#30225;鐮乺oot锛?#38171;屼慨鏀瑰瘑鐮?#38171;屽?#28056;闈root璐?#37721;?#38171;屾墽琛岀郴缁熸洿鏂?sudo pacman -Syu 锛?#26473;?#28052;嬪悗?#32017;濮?#28729;夎?#21616;摑鐗?#37929;?#37711;?#23480;?#37711;?#38171;?br /> <div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->sudo pacman -S bluez bluez-utils</div> <br /> 纭?#28103;濊摑鐗dongle鎻?#37714;癛Pi?#27537;USB鎺?#37721;?#38171;岄氳繃 hciconfig 纭?#29825;摑鐗?#29825;惧琚?#29831;?#37714;?#38171;岃緭鍑?#25652;?#29831;?#32491;讳技涓嬮潰杩?#28051;?#37837;?#28699;?#38171;?br /> <div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->[sean<span style="color: #800080; ">@alarmpi</span>]$ hciconfig<br /> hci0:   Type: BR/EDR  Bus: USB<br />         BD Address: <span style="color: #800000; ">84</span>:A6:C8:DC:<span style="color: #800000; ">04</span>:<span style="color: #800000; ">97</span>  ACL MTU: <span style="color: #800000; ">310</span>:<span style="color: #800000; ">10</span>  SCO MTU: <span style="color: #800000; ">64</span>:<span style="color: #800000; ">8</span><br />         DOWN <br />         RX bytes:<span style="color: #800000; ">553</span> acl:<span style="color: #800000; ">0</span> sco:<span style="color: #800000; ">0</span> events:<span style="color: #800000; ">28</span> errors:<span style="color: #800000; ">0</span><br />         TX bytes:<span style="color: #800000; ">384</span> acl:<span style="color: #800000; ">0</span> sco:<span style="color: #800000; ">0</span> commands:<span style="color: #800000; ">27</span> errors:<span style="color: #800000; ">0</span></div> <br /> ?#24782;鍔bluetooth锛?br /> <div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->sudo systemctl start bluetooth</div> <br /> 瀹屾垚浠悗锛屽嵆鍙?#38315;氳繃 bluetoothctl 鍛?#28000;?#37813;撳紑?#25681;鐗?#37818;?#37714;?#37721;?#38171;屾墽琛屽?#21231;?#30789;摑鐗?#37929;?#37711;虫?#23940;綔锛屾瘮濡俿how銆乴ist銆乻can on銆乤gent銆乮nfo?#29905;?#29905;锛?#26473;?#38322;?#28051;嶅睍?#32017;浜?#37510;?br /> <br /> 濡傛灉鎯?#28003;?#37922;浘褰?#37923;岄潰鎿嶄綔RPi锛?#28052;熷?#22562;畝鍗?#38171;屽熀鏈?#23005;骤濡?#28051;?#38171;?br /> <div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->sudo pacman -S xorg xorg-xinit lxde<br />echo <span style="font-weight: bold;">'</span><span style="font-weight: bold;">exec startlxde</span><span style="font-weight: bold;">'</span> > ~/.xinitrc<br /> startx</div><br />Enjoy!<img src ="http://www.67529968.com/sean/aggbug/408333.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2014-01-01 13:11 <a href="http://www.67529968.com/sean/archive/2014/01/01/408333.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>銆?#36423;?#28699;Scala銆嬪嫎璇?/title><link>http://www.67529968.com/sean/archive/2012/11/15/391386.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Thu, 15 Nov 2012 07:56:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2012/11/15/391386.html</guid><description><![CDATA[绗?1椤?#38171;?#32513;?#28052;?#38171;?#38171;?br /> 鍦Scala REPL涓?#38335;?#37711;?锛岀劧?#24727;鎸Tab閿?<strong>搴?#28051;?/strong> 鍦Scala REPL涓?#38335;?#37711;?.锛岀劧?#24727;鎸Tab閿?<br /> <br /> 绗?9椤?#38171;堟鏂?#38171;?#38171;?br /> util?#26591;娉?#26473;斿洖涓涓?#39582;?#28051;嶅?#21613;惈涓?#38340;愮殑鍖?#38338;?<strong>搴?#28051;?/strong> until?#26591;娉?#26473;斿洖涓涓?#39582;?#28051;嶅?#21613;惈涓?#38340;愮殑鍖?#38338;?br /> <br /> 绗?9椤?#38171;?#28000;?#37934;?#38171;?#38171;?br /> 0 util s.length <strong>搴?#28051;?/strong> 0 until s.length<br /> <br /> 绗?1椤?#38171;堟鏂?#38171;?#38171;?br /> util鏄疪ichInt绫荤殑?#26591;娉?<strong>搴?#28051;?/strong> until鏄疪ichInt绫荤殑?#26591;娉?br /> <br /> 绗?4椤?#38171;?#28000;?#37934;?#38171;?#38171;? <div>ArraryBuffer <strong>搴?#28051;?/strong> ArrayBuffer</div> <div>b.sorted(_ < _) <strong>搴?#28051;?/strong> b.sorted</div> <div>b.sorted(_ > _) <strong>搴?#28051;?/strong> b.sortWith(_ > _) </div> <div></div> <div><br /> 绗?4椤?#38171;?#28000;?#37934;?#38171;?#38171;? <div>scala.collections.immutable.SortedMap <strong>搴?#28051;?/strong> scala.collection.immutable.SortedMap</div> <div><br />绗?3椤?#38171;堟鏂?#38171;?#38171;?br />Scala瀵?#23011;?#28051;瓧绔?#38318;?#37819;愪緵getter鍜宻etter?#26591;娉?nbsp;<strong>搴?#28051;?/strong> Scala瀵?#23011;?#28051;瓧娈?#38318;?#37819;愪緵getter鍜宻etter?#26591;娉?br /><br />绗?07椤?#38171;?#28000;?#37934;?#38171;?#38171;?/div> <div>val tokens = source.mkString.split("\\S+") <strong>搴?#28051;?/strong> val tokens = source.mkString.split("\\s+")</div> <div><br /> 绗?41椤?#38171;?#28000;?#37934;?#38171;?#38171;?/div> <div>var count: (Int => Double) => null <strong>搴?#28051;?/strong> var count: (Int => Double) = null</div> <div><br /> // 鏈?#37826;?#28000;?#28003;?#28051;?#28103;?#37805;?#37721;?#29999;冪獥鍙?#38171;屽?#20638;渶璁?#29825;?#27996;祦锛?#29831;?#38315;氳繃閭?#28000;?<a href="mailto:gaoyuxiang.scala@gmail.com">gaoyuxiang.scala@gmail.com</a> ?#22440; QQ缇?132569382 銆?/div> </div><img src ="http://www.67529968.com/sean/aggbug/391386.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2012-11-15 15:56 <a href="http://www.67529968.com/sean/archive/2012/11/15/391386.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>瀛?#28610;?#32514;?#32459;?#38171;屼粠鍐?#28003;紑濮?#37510;?/title><link>http://www.67529968.com/sean/archive/2011/08/03/355717.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Wed, 03 Aug 2011 15:49:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2011/08/03/355717.html</guid><wfw:comment>http://www.67529968.com/sean/comments/355717.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2011/08/03/355717.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/355717.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/355717.html</trackback:ping><description><![CDATA[<p> 鍙?#38003;藉緢澶?#27996;?#28051;?#28000;?#28051;虹劧锛?#37712;?#28003;?#37724;岀紪绋嬭兘鏈?#28000;涔?#37711;崇郴銆?/p> <p> 棣?#37711;?#38171;?#37712;?#28003;?#28103;?#26473;?#37812;?#28000;?#37804;濊?#37510;?#32459;?#25652;?#37723;樻瘡澶殑宸?#28003;?#38171;?#28051;嶈鏄?#28699;?#28052;?#37826;扮煡璇?#37826;?#37814;鏈?#37510;佺?#21978;?#33931;浠堕渶姹?#37510;侀槄璇?#28000;?#37934;?鏂囨銆佽璁?#22935;嗘灦銆佽?#27195;槸瀹?#37916;?#28051;?#37716;?#38315;?#26440;?#38171;?#38318;?#32450;?#28051;嶅紑鎬濊?#37510;?#37929;?#28103;?#23536;?#28598;?#27996;?#38318;?#37832;夎繃杩?#37837;风殑浣撻獙: 瀵?#27996;?#37836;?#28051;?#29825;?#29825;?#37812;栫煡璇嗙偣锛?#28003;?#28000;?#28051;?#38007;?#23480;?#37807;虫?#21614;浜?#38171;?#28003;?#37930;?#29781;佽浣?#29785;?#38322;?#32513;欏埆浜?#37722;?#38171;?#28003;?#37721;堜細瑙夊緱鏃犱粠涓嬫墜锛屽嚑杞繃?#24727;?#27926;鎯?#35120;?#37714;?#38171;?#28052;嬪?#23942;墍鐪嬪埌鍜?#37929;?#28103;殑涓嶈繃鏄?#38335;?#29785;?#38171;屽?#25778;綘瀹屾?#23544;殑鍚?#37711;?#28000;?#27996;?#26462;?#26473;?#28051;閬?#28052;嬪悗锛?#28003;?#37813;嶇鏄?#37930;?#23005;?#37807;?#37828;?#37927;?#27996;?#37510;?#37711;?#28729;?#26473;?#28051;?#38316;撶悊鍜?#28052;?#22935;?#28051;婃斁涓鍙橡鐨腑/濉?#37711;?#37916;?#37707;??#21159;?#24727;鍚?#28729;?#29825;?#26473;?#28003;犵殑鎯虫硶)?#27537;鍋?#23049;?#37828;?#37929;?#38315;氱殑锛屽彧涓嶈繃鍐?#28003;?#37832;韩涓?#37711;夋?#23544;悊浜嗘?#29882;?#38171;?#26473;?#37923;?#28051;?#27996;?#37826;囨锛屽?#23678;椂锛?#37712;?#28003;滅殑?#32323;绋?#28052;?#37828;?#28051;?#37826;?#37716;犳繁鍗拌薄銆佹彁鍗囦俊蹇冪殑?#32323;绋?#38171;屽彲璋?#28051;涓惧寰?#37510;?/p> <p> 鍏舵锛?#37724;?#37712;?#28003;?#28051;鏍?#38171;岀紪绋嬬殑涓?#29781;佺洰?#27537;鏄?#28051;?#28051;栫晫浜祦锛?#28051;嶈杩?#28051;?#28051;栫?#23678;槸鎸囩殑鏈?#37731;殑涓栫晫杩樻槸浜虹殑涓栫晫銆?#29781;佹?#22795;晥鍦?#28051;?#37832;?#37731;?#28051;栫晫浜祦锛?#28003;?#32514;?#37712;欑殑浠?#37934;?#36423;呴绗?#37722;?#28051;瀹氱殑璇?#23049;?#37724;岃寖寮?#38171;屽?#21620;閫?#26440;?#28051;婅寰?#38315;?#38171;?#26473;?#37837;?#37813;嶆?#22795;剰涔?#37510;傝屽熀鏈殑鍐?#28003;滆缁?#37721;?#28000;?#29825;?#37812;?#28000;?#37711;绘垚涓?#37716;?#37923;欐剰閿欏埆?#29927;銆佹牸寮?#37510;佹嫾鍐?#38335;?#29831;?#37510;?#38315;?#26440;?#38335;?#29831;殑涔?#37807;?#37510;?#28641;侰. A. R. Haore鎵璇?#38171;屾垜浠?#28729;?#29781;佹槑鏄?#37827;?#38335;?#29831;殑浠?#37934;?#38171;?#28051;?#29781;佹棤鏄?#37828;?#38335;?#29831;殑浠?#37934;?#37510;傝繖?#20579;娲佺鏄?#28610;?#32459;?#25652;?#37723;?#36423;呴鍏?#28598;囩殑淇?#37711;?#37510;傝繖涔?#37828;?#28051;?#28000;涔堟垜鐪嬪埌鏈?#37828;?#37828;?#37815;?#37712;?#38335;?#29831;殑绋?#25652;?#37723;樼畝鍘嗘椂锛屼細?#27967;鎺?#37814;?#28000;?濂?#28000;?#37815;夐粦銆?#37722;屾牱鍦?#38171;屾垜涓?#27967;鍧?#37816;佽涓?#38171;屽?#20635;灉绋?#25652;?#37723;?#37712;?#28051;嶅嚭缁?#37835;勪?#27199;壇?#27537;?#20989;鏂?#37832;?#37826;囨锛岄偅涔堟垜浠?#28052;?#28051;嶅繀鎸?#37832;?#28000;?濂硅?#34249;鍐欏嚭浼?#38342;呯殑浠?#37934;?#37510;?#38340;?#23005;?#28052;嬪锛屾垜浠?#26473;?#37721;?#28000;?#37712;嶇?#23941;井鍙戞暎涓涓? ?#32017;?#31790;椤?#37929;?#38317;?#28052;?#28598;?#38171;屾弧瓒?#32491;讳技?#28214;瑕佺殑寰寰涓嶆涓涓?#38171;?#28051;?#28000;涔堟?#22796;殑寰堟垚鍔?#38171;屾?#22796;殑鍗?#37827;?#27996;?#38338;?#23090;? 涓诲垱/鐏甸瓊浜虹墿?#27537;鍐?#28003;滆?#34249;姏锛?#28051;嶈鏄?#28000;?#37934;?#37510;?#37826;囨銆?#38317;?#28000;?#26473;樻槸PPT锛屾槸寰?#38322;?#29781;佺殑鍒?#38322;?#37510;?#37812;?#37929;?#28103;?#38171;屾敼鍙?#28051;栫晫銆?#35120;?#37725;嶆洿澶氱殑浜?#38171;屾槸寰?#28598;?#32459;?#25652;?#37723;樻瀵?#28000;?#23033;傜殑锛岃?#29781;?#37707;?#37714;?#26473;?#28051;?#20579;锛岀涓嶅紑鍐?#28003;?#37510;?/p> <p> ?#28214;?#24727;锛?#37712;?#28003;?#38315;氬父鏄?#32459;?#25652;?#37723;樼殑鐭?#37833;?#38171;?#27996;嵆?#28214;瀹?#37828;撲?#24226;垚鏈珮浜?#37713;虹殑鍦版柟銆?#37812;?#28051;?#27967;寰?#28051;嶅枩娆?#27996;?#28051;?#37734;?#32513;?#28051;嶅悓涓?#28051;氳?#23678;櫙?#27537;浜?#29840;?#28051;?#37826;?#32457;?#37724;岀悊绉戠殑鏍囩锛?#28000;?#28003;?#28000;?#28000;?#28052;嬮棿娌?#37832;?#27996;?#38342;嗕技?#27537;銆傝繖鏍?#37707;氱殑?#28214;澶?#38338;?#26864;?#37734;?#37812;戠湅?#28533;鏄?#28051;?#26591;澶劧鍦?#29785;夊緱鍙?#28051;?#26591;?#27537;?#29025;璇?#28725;?#38007;?#23480;?#23052;?#28000;?#37706;?#38171;?#28000;?#38007;?#27996;?#35120;垚浜嗙?#35763;技"鍐?#28003;?#37828;?#37826;?#32457;?#37922;熺殑?#24397;"銆?缂?#32459;?#37828;悊绉戞墠瑕?#28699;殑涓滆"绛夎艾璇?#37510;?#28751;?#37812;戠殑瑙?#28725;?#38171;岃绠?#37832;虹?#25120;彮鍑鸿韩?#27537;鍚屽锛屽寰鏂囧瓧琛?#26440;捐?#34249;姏涓?#28598;?#23534;?#38171;屽彲鑳藉灏?#37724;?#26473;?#32457;嶅?#20906;?#21976;?#26947;鏈?#37711;?#37510;?#28641;?#23005;?#37828;?#37828;剧殑鐭?#37833;?#38171;屽?#20635;?#28358;?#34249;寮?#29863;?#39582;?#28598;?#32459;?#25652;?#37723;?#32519;?#28003;撶殑閲?#29785;?#38171;岃鍦?#37712;?#28003;?#28051;?#37816;?#32513;?#37814;?#37711;?#38171;屾?#22559;灉涓瀹?#37828;?#37807;?#27996;虹殑銆?/p> <img src ="http://www.67529968.com/sean/aggbug/355717.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2011-08-03 23:49 <a href="http://www.67529968.com/sean/archive/2011/08/03/355717.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>[Tips] Windows鐜境涓婣pache?#28214;鍩?#37832;殑璋冧?#27195;柟娉?/title><link>http://www.67529968.com/sean/archive/2011/08/02/355618.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Tue, 02 Aug 2011 13:04:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2011/08/02/355618.html</guid><wfw:comment>http://www.67529968.com/sean/comments/355618.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2011/08/02/355618.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/355618.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/355618.html</trackback:ping><description><![CDATA[<p> 浠?#28598;?#26473;?#32459;嬫敮鎸?#37722;?#27996;?#37734;Windows鐜境璋冧紭Apache鏈嶅姟鍣?#37804;兘锛岃褰?#37734;?#23005;?#38171;屼緵?#28214;瑕佺殑鏈嬪?#23338;?#20637;?#37510;?/p> <p> Java EE搴?#37922;?#38171;屽?#23678;椂閮?#32515;?#37734;?#28051;?#28051;Tomcat(5.5.27)瀹?#28186;?#28051;?#38171;屽墠?#28528;?#25985;浜?#28051;狝pache(httpd-2.2.19-win32-x86-no_ssl)锛岄氳繃mod_jk(1.2.32)鍋氳?#29115;浇鍧?#29723;?#38171;屽悓涓鍙扮墿?#24714;鏈嶅姟鍣?#38171;屾?#23940;?#28357;郴缁?#28051;?4浣嶇殑Windows Server 2003 SP2銆?#37916;拌薄鏄?0+瀹埛绔?#38171;屽?#20914;潎姣?#28051;?#28729;埛绔?#23011;?#32457;?#29831;?#23033;?#37825;?娆?#38171;屽崟涓?#29831;?#23033;?#23005;父?#25655;搴旀椂闂?#37734;?00ms浠?#37712;?#38171;屽嵆姣?#32457;?#37712;?#26473;涙潵120涓?#29831;?#23033;?#38171;屽苟鍙?#38322;忔渶澶?#37734;?0涓?#28051;?#38171;孉pache灏?#23480;?#28051;嶅牚"閲?璐?#38171;岄?#27408;佽?#21228;簮?#25655;搴旀椂闂?#38318;?#29906;呰繃10s锛屽?#23678;椂Tomcat鍜屾暟鎹?#25652;?#37832;嶅姟鍣?#37735;?#23005;父銆?#37713;?#37812;戠殑缁忛獙锛屽?#23678;?#39118;殑鍘嬪姏?#27967;鎺?#37720;嬪埌Tomcat涔?#28051;嶈嚦浜?#26473;?#28052;堥?#21095;湅銆傜湅?#28533;闂?#26864;?#37713;?#37734;Apache銆?/p> <p> 棣?#37711;堜慨?#25980;httpd.conf閰嶇疆鏂?#28000;?#38171;屾?#25779;紑status妯?#37735;?#38171;?/p> <p> <code> LoadModule status_module modules/mod_status.so<br/> <Location /status><br/>   SetHandler server-status<br/>   Order deny,allow<br/>   Deny from all<br/>   Allow from 127.0.0.1 #?#28214;瑕佺殑璇?#28052;?#37721;?#37824;惧紑涓篴ll<br/> </Location> </code></p> <p> 杩?#37837;?#37812;?#28000;?#28751;辫兘閫氳繃/status椤甸潰?#29025;?#28229;鏈嶅姟鍣?#35120;?#37715;嶇殑鐘舵佷俊鎭?#38171;?#32513;撴灉瑙?#28725;?#37714;皐orker(?#23878;?#22158;绋?鏁?#28000;?#28051;?4锛?#37735;戠?#29808;晩锛侀毦鎬?#37822;?#28051;嶄綇銆?#37812;戣?#26495;緱浠墠Windows涓嬮潰?#27537;Apache榛樿?#22158;绋?#37825;版病杩?#28052;?#28751;忕殑銆?#37813;惧噯闂?#26864;?#38171;屾帴涓嬫潵灏?#28610;藉姙浜?#38171;?/p> <p> <code> <IfModule mpm_winnt.c><br/>   ThreadsPerChild 300<br/>   MaxRequestsPerChild 0<br/> </IfModule> </code></p> <p> 绋嶅井瑙?#38322;?#28051;涓?#38171;mpm_winnt.c鏄疉pache涓篧indows NT鎻愪緵?#27537;MPM (Multi-Processing Module)锛屽搴斿埌Linux鐜境涓?#38171;屽垯鏈prefork.c(澶?#26473;?#32459;?姣?#26473;?#32459;?涓嚎绋?鍜寃orker.c(澶?#26473;?#32459;?澶氱嚎绋?涓?#32457;MPM鍙?#38315;?#37510;俉indows涓嬮潰鍙細鏈夌埗涓?#28699;?#28051;?#28051;?#26473;?#32459;?#38171;屽洜姝?#37719;?#28051;?#28699;?#26473;?#32459;嬭?#34249;?#23678;椂璧?#28598;?#28751;戠嚎绋?ThreadsPerChild)灏辨垚浜嗚?#20903;?#27196;殑鍏?#38335;?#37510;?#37721;?#28051;涓?#37721;?#37825;癕axRequestsPerChild?#27537;鍚?#28052;?#37828;?#37719;?#28051;?#28699;?#26473;?#32459;嬬疮璁渶澶?#28598;勭悊鍒?#28751;?#28051;?#29831;?#23033;?#38171;岃?#21616;繃璇?#37706;?#37714;?#38315;鍑?#38322;嶅惎锛?#26473;?#37828;?#37713;?#27996;?#38339;?#23005;?#37712;?#28699;樻?#21231;?#21449;參鎱?#37815;栧灝鏁?#28051;?#37832;嶅姟鍣?#38000;屽仛?#27537;闃?#23536;?#37804;?#37818;?#37826;?#38171;?琛?#32448;?#28051;嶅仛姝?#38340;?#37714;?#37510;?/p> <p> 鏂?#38320;嶇疆涓婄嚎?#24727;锛?#28729;埛绔?#37825;?#38322;?#26916;?#37714;?#37712;?#28051;?00+銆侰ase closed.</p> <img src ="http://www.67529968.com/sean/aggbug/355618.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2011-08-02 21:04 <a href="http://www.67529968.com/sean/archive/2011/08/02/355618.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>pyPdf - 鐢Python?#26591;?#31350;?#27537;澶勭悊PDF鏂囨http://www.67529968.com/sean/archive/2011/07/26/355089.htmllaogaolaogaoTue, 26 Jul 2011 14:25:00 GMThttp://www.67529968.com/sean/archive/2011/07/26/355089.htmlhttp://www.67529968.com/sean/comments/355089.htmlhttp://www.67529968.com/sean/archive/2011/07/26/355089.html#Feedback2http://www.67529968.com/sean/comments/commentRss/355089.htmlhttp://www.67529968.com/sean/services/trackbacks/355089.html 浠?#28598;?#28051;存椂鏈?#28051;渶姹?#38171;岄偅灏?#37828;?#32513;?#37836;怭DF鏂囨鍒?#26440;?#38171;?#28000;柟?#31350;鍦Kindle 3?#27537;6鍚嬪睆涓婇槄璇?#37510;?br />
寰?#28052;呮病Python浜?#38171;?#28051;嶈繃鎴?#37929;?#28103;?#37922;Python涓瀹?#37832;夊姙娉?#29785;?#37712;?#26473;?#28051;渶姹?#38171;?#27996;?#37828;?#32513;忚繃?#30045;鍗曠殑googling锛屼究鍙?#37916;?#27996;?#26473;?#28051;猵yPdf搴?( http://pybrary.net/pyPdf/ ) 锛屾?#23940;綔璧锋潵鐩?#35120;撶洿鎺?#37828;撴锛?#37814;?#28000;?#37934;佽创鍦?#26473;欏効锛屽仛涓?#29825;?#35120;?#37510;?br />
 1 from pyPdf import PdfFileWriter, PdfFileReader
 2 
 3 pdf = PdfFileReader(file('original.pdf''rb'))
 4 out = PdfFileWriter()
 5 
 6 for page in pdf.pages:
 7   page.mediaBox.upperRight = (580,800)
 8   page.mediaBox.lowerLeft = (128,232)
 9   out.addPage(page)
10 
11 ous = file('target.pdf''wb')
12 out.write(ous)
13 ous.close()

Enjoy!


laogao 2011-07-26 22:25 鍙戣璇勮
]]>
"涓婃捣"鏄?#28641;?#28003;?#37721;樻垚"娑撳鎹??#27537;锛?/title><link>http://www.67529968.com/sean/archive/2011/03/29/347243.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Tue, 29 Mar 2011 15:50:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2011/03/29/347243.html</guid><wfw:comment>http://www.67529968.com/sean/comments/347243.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2011/03/29/347243.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/347243.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/347243.html</trackback:ping><description><![CDATA[<br/ /> <p>浠?#28598;?#29999;?#37722;?#27996;嬭鍐?#28051;涓?#38317;?#28000;?#28052;?#37934;佺殑闂?#26864;?#38171;岀畝璁?#27996;?#23005;?#37510;? </p> <p>閭?#28000;舵鏂?#28751;?#28051;嶈创浜?#38171;屾湁涓娈典粠涓?#28051;?#37826;囧垽鏂?#37828;?#37828;?#25652;?#29831;?#37828;?涓婃捣"锛屽嵈鏄剧?#28888;垚浜?娑?.."锛?#27996;?#37828;?#38007;?#37906;惰岀劧?#27537;鎷?#37713;?涓??#29927;鍜?娑??#29927;?#28533;鍒嗘瀽銆? </p> <p>閫氳繃?#30045;鍗曠殑Groovy鑴?#37832;?#28725;?#26473;?#28051;?#28051;?#23033;夊瓧鍒?#37714;?#37816;塯bk鍜寀tf-8缂?#37934;?#38171;屽苟灏嗗緱鍒扮殑byte[]杞崲?#22426;浜?#26473;涘?#24816;绀?#26440;?#37713;?#28641;?#28051;?#38171;? </p> <p><code> == 涓?==<br/ /> 11001001 11001111<br/ /> 11100100 10111000 10001010 <br/ /> == 娑?==<br/ /> 11100100 10111000<br/ /> 11100110 10110110 10010011<br/ /> </code> </p> <p>娉?#37808;?涓??#29927;?#27537;绗?鎺掑墠涓?#32513;?#37724;?娑??#29927;绗?鎺掔殑涓?#32513;byte姝?#28610;?#37929;?#37722;?#38171;?#27996;?#37828;?#38338;?#26864;?#26473;?#37714;?#38000;岃锛?#28052;?#37934;佹槸鐢?#27996;?#38317;?#28000;?#28000;utf-8缂?#37934;佸悗琚?#38335;?#29831;殑浠gbk瑙?#37934;?#38171;堥?#24531;悗鍙?#38322;?#37826;扮紪鐮佹垚utf-8锛夐犳垚?#27537;銆?/p> <p>鍏?#38335;?#28000;?#37934;?#38171;?/p> <p><code> void showBytes(String input) {<br/ />   println("== " + input + " ==")<br/ />   b = input.getBytes("gbk")<br/ />   b.each { print Integer.toBinaryString(it).substring(24) + ' ' }<br/ />   println()<br/ />   b = input.getBytes("utf8")<br/ />   b.each { print Integer.toBinaryString(it).substring(24) + ' ' }<br/ />   println()<br/ /> }<br/ /> </code> </p> <img src ="http://www.67529968.com/sean/aggbug/347243.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2011-03-29 23:50 <a href="http://www.67529968.com/sean/archive/2011/03/29/347243.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>[Tips] 濡?#28003;?#32513;橲VN璧勬簮搴?#38340;嶇骇http://www.67529968.com/sean/archive/2011/02/16/344471.htmllaogaolaogaoWed, 16 Feb 2011 11:34:00 GMThttp://www.67529968.com/sean/archive/2011/02/16/344471.htmlhttp://www.67529968.com/sean/comments/344471.htmlhttp://www.67529968.com/sean/archive/2011/02/16/344471.html#Feedback0http://www.67529968.com/sean/comments/commentRss/344471.htmlhttp://www.67529968.com/sean/services/trackbacks/344471.html

闂?#26864;樿?#23792;洜: 甯?#37722;?#27996;?#37818;煡涓涓猄VN璧勬簮搴?#28725;?#37711;悗鏃?#23049;?#28003;?#37922;殑闂?#26864;?#38171;checkout?#26882;鎶?#38335;?br/ />  Expected FS format '2'; found format '3'
  鏈熷緟鏂?#28000;剁郴缁?FS)鏍?#23534;?“2”锛?#37813;惧埌鏍?#23534;?#8220;3”

鐔熸倝SVN?#27537;鏈嬪弸搴?#29831;煡閬?#38171;孲ubversion澶?#37911;堟湰?#27967;鏂版椂鏈?#37721;?#38003;戒細瀵?#37711;?#37826;?#28000;?#37837;?#23534;?#26473;?#29723;岃皟鏁?#38171;屽洜姝?#37712;?#38318;?#37832;?#37826;?#28000;?#37837;?#23534;?#37911;堟湰?#27537;璇?#23049;?#38171;?#28000;?#28051;?#37814;?#38335;?#28103;?#37805;?#37734;?#32515;?#28051;婃悳涓涓嬪氨?#29025;閬?#38171;?#37911;堟湰2鍜?#37911;堟湰3鍒?#37714;?#28725;?#25652;Subversion?#27537;1.4.x鍜?.5.x锛?#27996;?#37828;?#38338;?#26864;?#35120;?#32513;?#28051;?#28641;?#28003;?#32513;?#29863;勬簮搴?#38340;嶇骇锛屼粠鑰屽緱鍒?#28051;?.4鍏?#28729;圭殑dump鏂?#28000;?#37510;傛柟娉曞?#22562;畝鍗?#38171;岃褰?#28641;?#28051;?#38171;屼緵?#28214;瑕佺殑鏈嬪?#23338;?#20637;?

棣?#37711;?#37734;?.5.x?#27537;Subversion鐜境涓?#37826;?#23524;?#28051;涓?#28051;?.4.x鍏?#28729;圭殑璧勬簮搴?br/ />  svnadmin --pre-1.5-compatible create project01

?#21159;?#24727;灏?#28052;嬪?#23942;棤娉?#23005;父瀵?#37711;?.4.x?#27537;dump鏂?#28000;?dumpfile.old)瀵?#37711;?br/ />  svnadmin load project01 < dumpfile.old

?#28214;?#24727;鍐嶅仛涓娆?#28725;?#37713;哄嵆鍙?br/ />  svnadmin dump project01 > dumpfule.new

?#27926;鍒?.4.x?#27537;Subversion鐜境锛屾?#25198;殑dump鏂?#28000;?dumpfile.new)灏?#37721;?#28000;?#23005;父瀵?#37711;?#37724;?#28003;?#37922;?#27996;?#37510;?/p>

laogao 2011-02-16 19:34 鍙戣璇勮
]]>
ssh+tsocks - 杩?#32459;嬪姙鍏?#37714;?#37731;?/title><link>http://www.67529968.com/sean/archive/2011/02/09/343994.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Wed, 09 Feb 2011 14:37:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2011/02/09/343994.html</guid><wfw:comment>http://www.67529968.com/sean/comments/343994.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2011/02/09/343994.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/343994.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/343994.html</trackback:ping><description><![CDATA[<br /> <p>璁?#37807;?#28051;涓?#26473;?#37837;风殑鍦烘櫙: 浣?#37713;?#23480;?#37734;?#28598;?#38171;屾垨鑰?#37922;?#37925;?#37734;?#28729;?#38171;屾湁涓?#32497;?#37804;殑?#28214;姹?#29781;?#28598;勭悊锛屾秹鍙?#37714;?#37825;?#28051;簮浠?#37934;?#37826;?#28000;剁殑?#25980;鍔?#38171;?#28003;?#27996;?#38007;?#28103;敼?#28214;瑕?0鍒嗛挓锛?#37922;?#29831;?#37724;?#37734;?#37711;?#37721;哥殑鍚屼?#23384;閫氱劧?#24727;鐢?#28000;?濂规潵淇敼鍒欓渶瑕?灏忔椂銆?#37711;?#37721;竤vn鏈嶅姟浠呮敮鎸乻vn://鍗?#29825;?#38171;?#28051;?#28000;呴檺鍐?#32515;戣闂?#38171;岃?#28003;?#37721;?#37832;?#28051;涓猻sh璐?#37721;?#37721;?#28000;?#26473;?#32459;嬬褰?#37714;?#37711;?#37721;?#37836;?#37721;癓inux/UNIX鏈嶅姟鍣?#37510;?/p> <p>浣犳?#26948;嚜搴?#39582;?#38171;屽濂?#32480;悊鍛樻湁鍏?#29785;?#28052;?#37828;?#38171;?#28051;?#28003;犵暀浜?#28051;猻sh鍙?#28699;?#38171;?#26473;?#37837;?#38007;?#28751;?#28003;?#26473;?#37721;?#28000;ssh涓婂幓閫氳繃鍛?#28000;?#29723;岀殑?#26591;寮?#37734;?#37832;嶅姟鍣?#28051;?#37707;歴vn checkout锛寁im ...鍜宻vn commit銆?#28051;嶈繃濡傛灉浣?#29825;?#28051;?#26473;欏氨鏄?#37711;?#38318;?#38171;岄偅灏?#28598;?#28751;忕ssh浜?#37510;?/p> <p>ssh鏈?#28051;?#37723;?#28000;?#29723;屽弬鏁?-D [鍦?#37735;:]绔?#37721;?#38171;屽惈涔?#37828;?#37734;?#37836;?#28051;?#37832;?#37734;?#37734;?#37735;?#27537;鏌?#28051;?#32468;?#37721;?#28051;婂紑SOCKS鏈嶅姟杩?#29723;?#37929;?#37722;?#38171;?#37814;?#26473;?#28051;?#32468;?#37721;殑鏁?#37817;?#38315;?#28103;?#28000;?#37716;犲瘑褰?#23534;?#26462;?#37721;?#37714;ssh?#27537;鍙?#28051;绔?#37510;?#28003;?#29831;?#28610;?#38171;屾垜鏈?#27996;?#28051;涓猄OCKS鏈嶅姟鍣?#38171;?#28003;嗘垜鍙?#28051;嶆槸瑕?#28051;?#32515;戣浠悊锛宻vn涔?#39582;?#28051;?#28598;?#37906;舵敮鎸丼OCKS?#26217;锛屾湁浠涔?#37922;?#37723;? 鍡?#38171;?#26473;?#23005;?#37828;痶socks?#27537;鐢?#23005;?#28052;?#37734;?#38171;?#28729;冭兘閫?#37828;庣殑璁?#37829;?#38315;?#25652;?#37922;?#32459;?#25652;?#28052;?#29863;癝OCKS锛?#28729;夎?#21614;柟娉曞?#22562;畝鍗? 涓?#23092;佺殑Linux鍙戣鐗?#38171;屽?#20401;ebian銆丄rchlinux?#29905;?#27537;榛樿?#33931;浠?#28000;?#25652;?#23480;?#32513;?#38007;?#29999;?#27996;唗socks锛岄氬父鍙渶瑕乤pt-get install?#22440;pacman -S?#23878;鍙?#38171;孧ac OS X涓嬪?#27407;彲浠?#37714;?#37922;MacPorts瀹夎锛岀劧?#24727;淇敼閰嶇疆鏂?#28000;?etc/tsocks.conf(MacPorts?#32048;瀹夎鍒?opt/local/etc鐩?#35120;?锛屽彲浠?#37734;?#37837;?#37832;?#37826;?#28000;tsocks.conf.sample?#27537;鍩虹涓?#28103;敼锛岄氬父鍙?#29781;侀?#23943;疆server = 127.0.0.1?#23878;鍙?#38171;屽叾浠?#38318;?#37721;?#28000;?#27035;樿銆?/p> <p>鏈?#27996;?#26473;?#27996;?#37813;?#25652;?#38171;屽墿涓嬬殑灏?#23536;堢畝鍗?#27996;? 棣?#37711;?ssh -D 1080 -f -N 鐢埛?#24725;@鍏?#37721;?#37832;嶅姟鍣殑鍏?#32515;?#37734;?#37735; 鍦?#37832;?#37832;虹殑1080绔?#37721;紑?#24782;SOCKS鏈嶅姟锛涚劧?#24727;鎸?#37907;?#28003;?#39582;虫椂浣?#37922;svn?#27537;涔?#37807;?#38171;屽彧鏄?#37734;?#37723;?#28000;?#37715;嶅姞涓tsocks锛岀?#35763;技杩?#37837;? tsocks svn up ?#22440;鑰?tsocks svn ci -m 'blahblahblah' ?#29905;绛夊嵆鍙?#38171;屾湰鍦扮殑svn sandbox涓嶉渶瑕?#28000;?#28003;曚慨?#25980;銆?/p> <p>杩?#28051;?#28186;嬪瓙鍙?#28000;?#29831;?#37721;?#37828;?#37712;?#28766;?#28051;瑙?#38171;?#28051;嶈鏄痵sh杩樻槸tsocks閮?#26473;樻?#22795;洿楂樼骇?#27537;鐢?#23049;?#38171;岃?#26473;?#28051;?#38315;?#38316;?#28051;鏃?#37813;?#38315;?#38171;?#28729;冪殑鏁堟灉灏卞儚鏄畝鍖栫?#22562;殑VPN锛岄櫎浜唒ing涔嬬?#33636;殑灏戞暟鍛?#28000;?#28598;?#38171;屽嚑涔?#28751;辫窡浣?#37734;?#37711;?#37721;?#37707;?#37722;?#32457;嶆?#23940;綔娌?#37832;?#28051;?#37837;?#38171;屾墍浠?#38171;屽彂鎸?#28003;犵殑鎯宠薄鍔涘惂 :)</p> <img src ="http://www.67529968.com/sean/aggbug/343994.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2011-02-09 22:37 <a href="http://www.67529968.com/sean/archive/2011/02/09/343994.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>濡?#28003;曡缁?#28051;鐗堟湰?#27537;Eclipse RCP搴?#37922;?#37722;屾椂?#25966;鎸?#28598;?#28051;?#39582;?#37721;?/title><link>http://www.67529968.com/sean/archive/2011/01/30/343769.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Sun, 30 Jan 2011 04:17:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2011/01/30/343769.html</guid><wfw:comment>http://www.67529968.com/sean/comments/343769.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2011/01/30/343769.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/343769.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/343769.html</trackback:ping><description><![CDATA[<br/ /><p>鍜孲wing搴?#37922;殑?#27967;鎺?#29882;?#39582;?#37721;?#28051;嶅悓锛孲WT/RCP搴?#37922;?#29781;佹?#20914;?#23678;椂?#25966;鎸?#28051;嶅?#23677;钩鍙?#38171;岄渶瑕?#37707;?#27996;?#37911;规?#23108;殑閰嶇疆锛?#28051;嶈繃骞?#28051;?#28598;嶆锛岃褰?#37734;?#23005;?#38171;屽?#23678;湜鑳藉鍒?#37832;夐渶瑕佺殑鏈嬪弸銆?#37929;墠win32銆?2浣峀inux銆?4浣峀inux鍜孧ac OS X鍩?#37832;?#28051;?#28751;?#29781;?#37929;?#27996;嗘墍鏈?#28051;?#23092;佺殑妗岄潰鎿嶄?#28357;郴缁?#38171;屾湰鏂?#28751;?#28000;?#37722;屾椂?#25966;鎸佽?#27407;绉OS涓轰?#23339;潵杩?#29723;岃瑙?#37510;?/p> <p>棣?#37711;堟槸涓嬭浇瀵?#25652;?#37911;堟湰?#27537;RCP妗嗘灦鍦?#28051;嶅?#23678;?#23940;?#28357;郴缁熺殑鎻?#28000;?#38171;屽皢瀹?#28000;斁鍦?#37722;?#28051;涓猵lugins鐩?#35120;?#38171;屾瘮濡?#28003;?#37721;?#28000;?#37922;win32涓?#37737;虹锛岀劧?#24727;?#22346;鍔犻拡瀵?#37711;?#28000;?#39582;?#37721;扮殑濡?#28051;?#37819;?#28000;? </p> <p>org.eclipse.core.filesystem<br/ />org.eclipse.core.filesystem.win32.x86<br/ />org.eclipse.core.filesystem.linux.x86<br/ />org.eclipse.core.filesystem.linux.x86_64<br/ />org.eclipse.core.filesystem.macosx</p> <p>org.eclipse.core.net<br/ />org.eclipse.core.net.win32.x86<br/ />org.eclipse.core.net.linux.x86</p> <p>org.eclipse.core.resources<br/ />org.eclipse.core.resources.win32.x86</p> <p>org.eclipse.equinox.launcher<br/ />org.eclipse.equinox.launcher.win32.win32.x86<br/ />org.eclipse.equinox.launcher.gtk.linux.x86<br/ />org.eclipse.equinox.launcher.gtk.linux.x86_64<br/ />org.eclipse.equinox.launcher.carbon.macosx</p> <p>org.eclipse.equinox.security<br/ />org.eclipse.equinox.security.win32.x86<br/ />org.eclipse.equinox.security.macosx</p> <p>org.eclipse.swt<br/ />org.eclipse.swt.win32.win32.x86<br/ />org.eclipse.swt.gtk.linux.x86<br/ />org.eclipse.swt.gtk.linux.x86_64<br/ />org.eclipse.swt.carbon.macosx</p> <p>鎺?#28051;嬫潵灏?#28051;嶅?#23677;钩鍙?#28051;嬬殑eclipse鍙?#37813;?#29723;屾枃浠?Windows涓嬮潰鏄痚clipe.exe锛孡inux涓?#37828;痚clipse锛孧ac OS X涓嬮潰鏄疎clipse.app)鏀惧埌涓嶅?#23680;殑瀛?#37929;?#35120;?#28051;?#38171;屽?#25782;劧锛屽?#20635;灉浣犵殑RCP搴?#37922;?#37832;夊埆?#27537;鍚嶇锛?#28052;?#37721;?#28000;?#38322;?#37723;藉悕eclipse鍙?#37813;?#29723;屾枃浠?#38171;屾寜鐓?#28051;嶅?#23677;钩鍙扮殑瑙勮寖?#27967;?#23858;?#27992;鏍?#38171;岀劧?#24727;淇敼.ini鏂?#28000;惰瀹冪殑-startup鍜?startup.libraray鍙?#37825;?#37816;囧悜鐩?#28725;?#29882;?#23536;?#28051;?#23005;?#32429;?#37911;堟湰?#27537;鎻?#28000;跺嵆鍙?#37510;?/p> <p>?#28214;?#24727;鍒?#27996;?#28051;涓?#37812;?#28000;蒋浠?#38318;?#32515;茬殑鏈?#37714;? 鎸?#37907;墠?#28528;浠嬬?#23943;殑?#26591;寮?#37813;?#37718;呯殑搴?#37922;?#32459;?#25652;?#38171;?#27996;?#37714;?#37922;埛鎵嬮?#23677;苟涓嶆槸寰?#37721;嬪锛屽洜涓洪渶瑕?#28000;?濂?#38007;?#23480;?#37712;嶅仛涓娆?#37714;?#37826;?#38171;屽綋鍓嶇殑鎿嶄?#28357;郴缁?#37828;?#28000;涔?#38171;岀劧?#24727;鎵撳紑涓嶅?#23680;殑鐩?#35120;曞幓鐐瑰嚮涓嶅?#23680;殑鍙?#37813;?#29723;屾枃浠?#37510;?#37812;?#28000;殑鍋?#23049;?#37828;?#37719;曠鎻愪緵涓涓猄wing绋?#25652;?#38171;?#37734;?#28729;埛绔?#38007;?#37716;?#37714;?#37826;璒S锛岀劧?#24727;鑷?#37716;?#29835;?#37922;?#28051;嶅悓鐗堟湰?#27537;鍙?#37813;?#29723;屾枃浠?#38171;屽?#23678;椂锛?#26473;?#28051;猄wing绋?#25652;?#29722;?#37707;氭垚Java Web Start锛?#37814;?#37825;?#28051;RCP瀹埛绔殑涓嬭浇鍜屽?#23678;涔?#28598;勭悊鎺?#38171;?#26473;?#37837;?#38171;屽鐢埛鑰岃锛屾暣涓繃绋嬪氨閫?#37828;?#27996;?#38171;屽彧?#28214;瑕?#28051;涓狫NLP锛屽墿涓嬬殑宸?#28003;?#28729;屽叏鑷?#37716;?#37718;?#37510;?/p> <img src ="http://www.67529968.com/sean/aggbug/343769.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2011-01-30 12:17 <a href="http://www.67529968.com/sean/archive/2011/01/30/343769.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>Java鍛?#28000;?#29723;?#28729;?#37922;?#23480;?#37711;穓ps鍜宩stathttp://www.67529968.com/sean/archive/2011/01/27/343620.htmllaogaolaogaoThu, 27 Jan 2011 04:04:00 GMThttp://www.67529968.com/sean/archive/2011/01/27/343620.htmlhttp://www.67529968.com/sean/comments/343620.htmlhttp://www.67529968.com/sean/archive/2011/01/27/343620.html#Feedback0http://www.67529968.com/sean/comments/commentRss/343620.htmlhttp://www.67529968.com/sean/services/trackbacks/343620.html

鍦Linux?#22440;鍏?#28000;朥NIX鍜岀被UNIX鐜境涓?#38171;ps鍛?#28000;?#37807;冲繀澶?#28729;?#38318;?#28051;?#38340;?#37922;?#38171;屾垜鐩?#28103;?#28052;?#37832;?#28051;?#28751;?#37722;屽鍐欒繃 ps aux | grep java | grep -v grep | awk '{print $2}' 杩?#37837;风殑绠?#38316;?#37723;?#28000;潵鎵惧嚭Java杩?#32459;嬬殑pid銆傚父瑷閬?#38171;Java骞?#38344;?#37930;熺殑"璺?#39582;?#37721;?锛?#28729;?#38007;?#23480;?#28751;?#37828;?#39582;?#37721;?#37510;?#28003;?#28051;?#39582;?#37721;?#38171;屽?#25782;劧涔?#37832;?#27996;涘熀鏈殑宸?#37711;?#38171;岃鎴?#28000;?#37721;?#28000;?#37922;洿?#30045;鍗?#37510;佹洿缁?#28051;锛屽?#23678;椂鍙堟槸闈?#28186;?#37711;殑?#26591;寮忔潵?#29025;璇?#26473;?#32459;嬬浉鍏?#28103;?#37805;?#37510;?#28000;?#28598;?#37812;?#28000;?#28751;辨潵璁?#29831;?#28051;涓嬪叾涓殑涓?#28051;?#37510;?/p>

jps

椤惧?#23942;?#28052;?#38171;?#28729;?#28725;?#25652;斿埌UNIX?#27537;ps鍛?#28000;?#37510;?#37922;?#23049;?#28641;?#28051;?

jps [ options ] [ hostid ]

鍏?#28051;?#38171;宱ptions鍙?#28000;?#37922;?-q (瀹夐潤) -m (杈?#37713;轰紶閫?#32513;main?#26591;娉曠殑鍙?#37825;? -l (鏄剧瀹屾?#30923;矾寰? -v (鏄剧?#36720;紶閫?#32513;JVM?#27537;鍛?#28000;?#29723;屽弬鏁? -V (鏄剧閫氳繃flag鏂?#28000;朵紶閫?#32513;JVM?#27537;鍙?#37825;? -J (鍜屽叾浠朖ava宸?#37711;?#32491;讳技鐢?#27996;庝紶閫?#37721;?#37825;?#32513;欏懡浠?#37832;韩瑕佽皟鐢殑java杩?#32459;?锛沨ostid鏄?#28051;?#37832;篿d锛岄?#27199;localhost銆?/p>

jstat

鐢?#27996;庤緭鍑?#32513;?#28729;java杩?#32459;嬬殑缁熻淇?#37805;?#37510;?#37922;?#23049;?#28641;?#28051;?

jstat -options 鍙?#28000;?#37714;楀嚭褰撳墠JVM鐗堟湰?#25966;鎸佺殑閫夐锛屽父瑙佺殑鏈?-class (绫?#37716;犺浇鍣? -compiler (JIT) -gc (GC鍫嗙?#33333;? -gccapacity (鍚勫尯澶?#28751;? -gccause (?#28214;杩?#28051;娆GC缁熻鍜屽?#29111;洜) -gcnew (鏂?#37718;?#32513;熻) -gcnewcapacity (鏂?#37718;?#28598;?#28751;? -gcold (鑰?#37718;?#32513;熻) -gcoldcapacity (鑰?#37718;?#28598;?#28751;? -gcpermcapacity (姘?#28052;?#37718;?#28598;?#28751;? -gcutil (GC缁熻姹囨? -printcompilation (HotSpot缂?#29831;?#32513;熻)

鍋?#28729;?#28003;?#29781;佺洃鎺殑Java杩?#32459;嬪彿鏄?2345锛岄偅涔?br /> jstat -gcutil -t 12345 200 300 ?#23878;鍙?#23011;?00姣?#32457;?#26473;?#32513;?#37813;?#37719;?00娆?#29999;?#37832;夋椂闂?#37812;崇殑GC缁熻淇?#37805;?#37510;?/p>

?#30045;鍗?#29785;?#38322;?#28051;涓? -gcutil鏄?#28028;?#37711;殑option锛涘?#21620;?#38171;?t鏄?#37813;?#37719;版椂闂?#37812;?#38171;屾槸浠?#37929;?#37837;嘕VM?#24782;鍔椂闂?#28051;?#29863;风偣璁?#32480;楃殑锛屽彲閫?#38171;?2345鏄痸mid/pid锛?#37724;屾垜浠粠jps鎷?#37714;扮殑鏄?#28051;鏍风殑锛屽?#21620;?#38171;?00鏄?#37929;?#37818;椂闂?#38338;撮殧锛屽彲閫?#38171;?#28051;嶆?#24874;?#28056;氨鎰?#37723;崇潃鍗曟杈?#37713;?#38171;?00鏄渶澶?#26440;?#37713;烘鏁?#38171;屽彲閫?#38171;?#28051;嶆?#24874;緵涓?#37929;?#37818;椂闂?#38338;撮殧鏈?#37706;肩殑璇?#38171;屽氨鏄?#37827;?#38340;?#37832;?#37813;?#37719;?#28051;嬪幓銆?/p>

鍏?#28003;?#26440;?#37713;?#37828;?#32513;嗙殑瑙?#38322;婅鍙傝?#28729;樻柟鏂囨 http://download.oracle.com/javase/6/docs/technotes/tools/share/jstat.html



laogao 2011-01-27 12:04 鍙戣璇勮
]]>
[Tips] Emacs?#29927;绗?#32514;?#37934;佺浉鍏?#37816;?#28000;?/title><link>http://www.67529968.com/sean/archive/2011/01/05/342345.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Wed, 05 Jan 2011 05:31:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2011/01/05/342345.html</guid><wfw:comment>http://www.67529968.com/sean/comments/342345.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2011/01/05/342345.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/342345.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/342345.html</trackback:ping><description><![CDATA[<br /> <p>鍦Vim涓?#38171;屾垜浠?#37721;?#28000;?#38315;氳繃set fencs=utf-8,gbk鍛婅瘔瀹?#37816;?#37907;?#37711;utf-8?#24727;gbk?#27537;椤?#25652;?#38007;?#37716;?#29831;?#37714;?#37813;撳紑鏂?#28000;剁殑?#29927;绗?#32514;?#37934;?#37510;侲macs涔?#37832;?#28051;缁勫瓧绗?#32514;?#37934;佺浉鍏?#37816;?#28000;?#38171;屾?#23544;悊濡?#28051;?#38171;?/p> <p>鎸?#28000;?#37711;悕锛歴et-buffer-file-coding-system<br /> 鎸?#28000;?#28003;?#37922;?#38171;氭敼鍙?#35120;撳墠buffer?#27537;缂?#37934;?br /> 璋?#37922;柟娉?#38171;?浠?#37929;?#37837;囩紪鐮乬bk涓轰緥)<br /> C-x <RET> f gbk <RET><br /> 璇?#37816;?#28000;?#26473;?#37721;?#28000;?#37922;?#27996;庢敼鍙?#35120;撳墠buffer?#27537;?#23858;琛?#28052;?#37807;?缂?#37934;?#37721;?#37825;?#37922;dos?#22440;unix锛屽搴擻r\n?#22440;\n)銆?/p> <p>鎸?#28000;?#37711;悕锛歶niversal-coding-system-argument<br /> 鎸?#28000;?#28003;?#37922;?#38171;?#37816;?#28729;氱揣闅?#37711;跺悗?#27537;鍛?#28000;?濡侰-x C-f?#22440;C-x C-w?#29905;)鎵閲?#37922;殑缂?#37934;?br /> 璋?#37922;柟娉?#38171;?浠?#37929;?#37837;囩紪鐮乬bk涓轰緥)<br /> C-x <RET> c gbk <RET></p> <p>鎸?#28000;?#37711;悕锛歳evert-buffer-with-coding-system<br /> 鎸?#28000;?#28003;?#37922;?#38171;?#37922;?#37816;?#28729;?#32514;?#37934;?#38322;?#29831;?#35120;撳墠buffer(濡傛灉鎵撳紑?#26882;鐢?#38335;?#27996;嗙紪鐮?<br /> 璋?#37922;柟娉?#38171;?浠?#37929;?#37837;囩紪鐮乬bk涓轰緥)<br /> C-x <RET> r gbk <RET></p> <p>鎸?#28000;?#37711;悕锛歳ecode-region<br /> 鎸?#28000;?#28003;?#37922;?#38171;?#28751;?#28000;?#38335;?#29831;?#32514;?#37934;佽鐮佺殑閫夊尯浠?#37816;?#28729;?#32514;?#37934;?#38322;?#37826;?#29785;?#37934;?br /> 璋?#37922;柟娉?#38171;?浠?#37929;?#37837;囩紪鐮乬bk涓轰緥)<br /> M-x recode-region <RET> gbk <RET> utf-8 <RET></p> <p>闄?#27996;?#26473;?#27996;?#37823;嶄綔澶?#38171;?#26473;樻湁涓绉嶆柟娉?#38171;岄偅灏?#37828;?#37734;?#37826;?#28000;跺紑濮嬬殑閮?#37714;?#32513;欏嚭濡?#28051;嬪舰寮忕殑鎸?#28000;?#38171;岀洿鎺?#37723;婅?#22796;紪杈?#37731;?#37734;?#37813;撳紑鍜屼繚瀛樻椂搴?#38322;?#37922;殑缂?#37934;?#38171;?br /> -*- coding: gbk -*-<br /> 鎺?#29785;繃Python?#27537;鍚屽鏄?#28051;嶆槸瑙夊?#26944;緢鐪肩?</p> <p>[琛?#37711;] ?#29025;鐪嬪綋鍓嶇紪鐮?#38315;夋嫨?#27537;鍛?#28000;?#28051;?#38171;?br /> M-x describe-coding-system <RET> ?#22440; C-h C <RET><br /> 涔?#37721;?#37734;洖杞墠杈?#37711;?#37711;?#28003;撶殑缂?#37934;?#37722;嶇(濡俫bk)浠煡?#28229;璇?#32513;?#29831;?#37828;?#37510;?/p> <img src ="http://www.67529968.com/sean/aggbug/342345.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2011-01-05 13:31 <a href="http://www.67529968.com/sean/archive/2011/01/05/342345.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>2011骞?#29781;?#37707;氱殑浜?/title><link>http://www.67529968.com/sean/archive/2011/01/02/342169.html</link><dc:creator>laogao</dc:creator><author>laogao</author><pubDate>Sun, 02 Jan 2011 12:08:00 GMT</pubDate><guid>http://www.67529968.com/sean/archive/2011/01/02/342169.html</guid><wfw:comment>http://www.67529968.com/sean/comments/342169.html</wfw:comment><comments>http://www.67529968.com/sean/archive/2011/01/02/342169.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.67529968.com/sean/comments/commentRss/342169.html</wfw:commentRss><trackback:ping>http://www.67529968.com/sean/services/trackbacks/342169.html</trackback:ping><description><![CDATA[<br/ /><p>涓?#37711;?#37832;嶆嫋寤?#37925;?#38171;?#37734;?#23005;?#37714;楀嚭2011骞?#29781;?#37707;氱殑浜?#38171;?#32513;?#37832;潵?#27537;鑷?#23480;?#37929;戠潱锛?/p><p>1- 缁?#32513;幓骞?#37832;?#28729;屾垚?#27537;浜?#37725;佹敼閫?#38171;屾崲涓绉嶆洿绋?#28641;殑?#26591;寮?#37818;?#26473;?#38171;?br/ />2- 绉?#37835;?#37721;?#28051;?#32448;惧尯浜?#23092;佹鍔?#38171;?#28051;嶈?#34425;嚎涓?#26473;樻槸?#22158;涓?#38171;?br/ />3- ?#32321;鍏?#28699;?#28052;Scala锛岃緟浠Clojure鍜孒askell锛?br/ />4- ?#37108;缁?#28699;?#28052;PostgreSQL锛?br/ />5- 鍏潰浣?#37922;Emacs锛?br/ />6- ?#32017;濮?#29831;Linux?#31790;鐮?#38171;?br/ />7- 閲?#29831;?#37510;?#32510;?#22948;?#22986;?#37510;?#38171;?br/ />8- 鑷?#28751;戣涓?#37832;嫳鏂囧?#29115;锛?br/ />9- 甯?#37710;?#28699;愬洖涓瓒熻?#28729;?#37510;?br/ /></p><p>灏?#26473;?#37837;?#37510;?/p><img src ="http://www.67529968.com/sean/aggbug/342169.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/sean/" target="_blank">laogao</a> 2011-01-02 20:08 <a href="http://www.67529968.com/sean/archive/2011/01/02/342169.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item></channel></rss> <a href="http://www.67529968.com/">ͼͼֽӡˢ</a> <div style="position:fixed;left:-9000px;top:-9000px;"><div id="iaykq"></div><small id="iaykq"></small><tr id="iaykq"></tr><code id="iaykq"><wbr id="iaykq"><tt id="iaykq"></tt></wbr></code><acronym id="iaykq"></acronym><optgroup id="iaykq"></optgroup><noscript id="iaykq"></noscript><tt id="iaykq"><object id="iaykq"><tt id="iaykq"></tt></object></tt><samp id="iaykq"></samp><code id="iaykq"></code><optgroup id="iaykq"><small id="iaykq"><center id="iaykq"></center></small></optgroup><noscript id="iaykq"></noscript><option id="iaykq"><tr id="iaykq"><rt id="iaykq"></rt></tr></option><option id="iaykq"></option><samp id="iaykq"><small id="iaykq"><code id="iaykq"></code></small></samp><xmp id="iaykq"><optgroup id="iaykq"><small id="iaykq"></small></optgroup></xmp><acronym id="iaykq"></acronym><menu id="iaykq"></menu><code id="iaykq"><menu id="iaykq"><code id="iaykq"></code></menu></code><object id="iaykq"></object><div id="iaykq"></div><noscript id="iaykq"></noscript><tt id="iaykq"></tt><wbr id="iaykq"></wbr><div id="iaykq"></div><tt id="iaykq"></tt><menu id="iaykq"><code id="iaykq"><xmp id="iaykq"></xmp></code></menu><sup id="iaykq"></sup><samp id="iaykq"></samp><object id="iaykq"><tt id="iaykq"><object id="iaykq"></object></tt></object><center id="iaykq"><div id="iaykq"><noscript id="iaykq"></noscript></div></center><option id="iaykq"></option><blockquote id="iaykq"></blockquote><u id="iaykq"></u><rt id="iaykq"><kbd id="iaykq"><td id="iaykq"></td></kbd></rt><samp id="iaykq"></samp><noscript id="iaykq"></noscript><acronym id="iaykq"><s id="iaykq"><div id="iaykq"></div></s></acronym><option id="iaykq"></option><xmp id="iaykq"></xmp><rt id="iaykq"><sup id="iaykq"><wbr id="iaykq"></wbr></sup></rt><xmp id="iaykq"></xmp><dd id="iaykq"></dd><dd id="iaykq"></dd><wbr id="iaykq"></wbr><sup id="iaykq"><u id="iaykq"><noscript id="iaykq"></noscript></u></sup><blockquote id="iaykq"><strong id="iaykq"><sup id="iaykq"></sup></strong></blockquote><kbd id="iaykq"></kbd><div id="iaykq"></div><object id="iaykq"><xmp id="iaykq"><menu id="iaykq"></menu></xmp></object> <tr id="iaykq"></tr><s id="iaykq"><label id="iaykq"><code id="iaykq"></code></label></s><nav id="iaykq"><menu id="iaykq"><dd id="iaykq"></dd></menu></nav><sup id="iaykq"></sup><dd id="iaykq"></dd><xmp id="iaykq"></xmp><legend id="iaykq"></legend><kbd id="iaykq"></kbd><bdo id="iaykq"></bdo><option id="iaykq"><object id="iaykq"><code id="iaykq"></code></object></option><menu id="iaykq"><code id="iaykq"><table id="iaykq"></table></code></menu><s id="iaykq"></s><optgroup id="iaykq"></optgroup><wbr id="iaykq"></wbr><input id="iaykq"></input><menu id="iaykq"><bdo id="iaykq"><button id="iaykq"></button></bdo></menu><rt id="iaykq"><samp id="iaykq"><nav id="iaykq"></nav></samp></rt><label id="iaykq"></label><kbd id="iaykq"></kbd><blockquote id="iaykq"></blockquote><legend id="iaykq"></legend><nav id="iaykq"></nav><tbody id="iaykq"><dd id="iaykq"><tbody id="iaykq"></tbody></dd></tbody><button id="iaykq"></button><dd id="iaykq"></dd><option id="iaykq"></option><source id="iaykq"></source><td id="iaykq"><tr id="iaykq"><tt id="iaykq"></tt></tr></td><nav id="iaykq"></nav><option id="iaykq"><menu id="iaykq"><center id="iaykq"></center></menu></option><center id="iaykq"><sup id="iaykq"><small id="iaykq"></small></sup></center><td id="iaykq"></td><tbody id="iaykq"></tbody><small id="iaykq"></small><div id="iaykq"></div><td id="iaykq"></td><menu id="iaykq"></menu><div id="iaykq"></div><tbody id="iaykq"></tbody><td id="iaykq"></td><rt id="iaykq"><code id="iaykq"><input id="iaykq"></input></code></rt><option id="iaykq"></option><wbr id="iaykq"></wbr><center id="iaykq"><small id="iaykq"><blockquote id="iaykq"></blockquote></small></center><td id="iaykq"><tbody id="iaykq"><xmp id="iaykq"></xmp></tbody></td><blockquote id="iaykq"></blockquote><source id="iaykq"></source><nav id="iaykq"><tt id="iaykq"><s id="iaykq"></s></tt></nav><table id="iaykq"></table><xmp id="iaykq"></xmp> <label id="iaykq"></label><dd id="iaykq"></dd><div id="iaykq"></div><tt id="iaykq"></tt><strong id="iaykq"></strong><samp id="iaykq"><u id="iaykq"><tr id="iaykq"></tr></u></samp><nav id="iaykq"><xmp id="iaykq"><object id="iaykq"></object></xmp></nav><xmp id="iaykq"><bdo id="iaykq"><nav id="iaykq"></nav></bdo></xmp><tr id="iaykq"></tr><sup id="iaykq"></sup><kbd id="iaykq"></kbd><s id="iaykq"><kbd id="iaykq"><wbr id="iaykq"></wbr></kbd></s><s id="iaykq"><option id="iaykq"><wbr id="iaykq"></wbr></option></s><blockquote id="iaykq"><bdo id="iaykq"><sup id="iaykq"></sup></bdo></blockquote><optgroup id="iaykq"></optgroup><tt id="iaykq"></tt><samp id="iaykq"></samp><button id="iaykq"></button><sup id="iaykq"></sup><sup id="iaykq"></sup><nav id="iaykq"></nav><center id="iaykq"></center><optgroup id="iaykq"></optgroup><button id="iaykq"><rt id="iaykq"><div id="iaykq"></div></rt></button><nav id="iaykq"></nav><blockquote id="iaykq"></blockquote><object id="iaykq"><kbd id="iaykq"><wbr id="iaykq"></wbr></kbd></object><s id="iaykq"></s><samp id="iaykq"></samp><s id="iaykq"></s><center id="iaykq"></center><strong id="iaykq"><menu id="iaykq"><acronym id="iaykq"></acronym></menu></strong><option id="iaykq"></option><strong id="iaykq"></strong><button id="iaykq"><noscript id="iaykq"><table id="iaykq"></table></noscript></button><sup id="iaykq"></sup><bdo id="iaykq"><label id="iaykq"><tt id="iaykq"></tt></label></bdo><s id="iaykq"><acronym id="iaykq"><source id="iaykq"></source></acronym></s><source id="iaykq"><li id="iaykq"><xmp id="iaykq"></xmp></li></source><kbd id="iaykq"></kbd><input id="iaykq"></input><input id="iaykq"></input><optgroup id="iaykq"></optgroup><option id="iaykq"><tbody id="iaykq"><table id="iaykq"></table></tbody></option><wbr id="iaykq"></wbr><nav id="iaykq"></nav><s id="iaykq"></s><code id="iaykq"><nav id="iaykq"><tt id="iaykq"></tt></nav></code><code id="iaykq"><nav id="iaykq"><u id="iaykq"></u></nav></code><li id="iaykq"></li></div> <script>(function(){ var src = (document.location.protocol == "") ? "//js.passport.qihucdn.com/11.0.1.js?f7a6bc378844a5df707c414e6b6fea33":"https://jspassport.ssl.qhimg.com/11.0.1.js?f7a6bc378844a5df707c414e6b6fea33"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <div style="position:fixed;left:-9000px;top:-9000px;"><div id="iaykq"></div><small id="iaykq"></small><tr id="iaykq"></tr><code id="iaykq"><wbr id="iaykq"><tt id="iaykq"></tt></wbr></code><acronym id="iaykq"></acronym><optgroup id="iaykq"></optgroup><noscript id="iaykq"></noscript><tt id="iaykq"><object id="iaykq"><tt id="iaykq"></tt></object></tt><samp id="iaykq"></samp><code id="iaykq"></code><optgroup id="iaykq"><small id="iaykq"><center id="iaykq"></center></small></optgroup><noscript id="iaykq"></noscript><option id="iaykq"><tr id="iaykq"><rt id="iaykq"></rt></tr></option><option id="iaykq"></option><samp id="iaykq"><small id="iaykq"><code id="iaykq"></code></small></samp><xmp id="iaykq"><optgroup id="iaykq"><small id="iaykq"></small></optgroup></xmp><acronym id="iaykq"></acronym><menu id="iaykq"></menu><code id="iaykq"><menu id="iaykq"><code id="iaykq"></code></menu></code><object id="iaykq"></object><div id="iaykq"></div><noscript id="iaykq"></noscript><tt id="iaykq"></tt><wbr id="iaykq"></wbr><div id="iaykq"></div><tt id="iaykq"></tt><menu id="iaykq"><code id="iaykq"><xmp id="iaykq"></xmp></code></menu><sup id="iaykq"></sup><samp id="iaykq"></samp><object id="iaykq"><tt id="iaykq"><object id="iaykq"></object></tt></object><center id="iaykq"><div id="iaykq"><noscript id="iaykq"></noscript></div></center><option id="iaykq"></option><blockquote id="iaykq"></blockquote><u id="iaykq"></u><rt id="iaykq"><kbd id="iaykq"><td id="iaykq"></td></kbd></rt><samp id="iaykq"></samp><noscript id="iaykq"></noscript><acronym id="iaykq"><s id="iaykq"><div id="iaykq"></div></s></acronym><option id="iaykq"></option><xmp id="iaykq"></xmp><rt id="iaykq"><sup id="iaykq"><wbr id="iaykq"></wbr></sup></rt><xmp id="iaykq"></xmp><dd id="iaykq"></dd><dd id="iaykq"></dd><wbr id="iaykq"></wbr><sup id="iaykq"><u id="iaykq"><noscript id="iaykq"></noscript></u></sup><blockquote id="iaykq"><strong id="iaykq"><sup id="iaykq"></sup></strong></blockquote><kbd id="iaykq"></kbd><div id="iaykq"></div><object id="iaykq"><xmp id="iaykq"><menu id="iaykq"></menu></xmp></object> <tr id="iaykq"></tr><s id="iaykq"><label id="iaykq"><code id="iaykq"></code></label></s><nav id="iaykq"><menu id="iaykq"><dd id="iaykq"></dd></menu></nav><sup id="iaykq"></sup><dd id="iaykq"></dd><xmp id="iaykq"></xmp><legend id="iaykq"></legend><kbd id="iaykq"></kbd><bdo id="iaykq"></bdo><option id="iaykq"><object id="iaykq"><code id="iaykq"></code></object></option><menu id="iaykq"><code id="iaykq"><table id="iaykq"></table></code></menu><s id="iaykq"></s><optgroup id="iaykq"></optgroup><wbr id="iaykq"></wbr><input id="iaykq"></input><menu id="iaykq"><bdo id="iaykq"><button id="iaykq"></button></bdo></menu><rt id="iaykq"><samp id="iaykq"><nav id="iaykq"></nav></samp></rt><label id="iaykq"></label><kbd id="iaykq"></kbd><blockquote id="iaykq"></blockquote><legend id="iaykq"></legend><nav id="iaykq"></nav><tbody id="iaykq"><dd id="iaykq"><tbody id="iaykq"></tbody></dd></tbody><button id="iaykq"></button><dd id="iaykq"></dd><option id="iaykq"></option><source id="iaykq"></source><td id="iaykq"><tr id="iaykq"><tt id="iaykq"></tt></tr></td><nav id="iaykq"></nav><option id="iaykq"><menu id="iaykq"><center id="iaykq"></center></menu></option><center id="iaykq"><sup id="iaykq"><small id="iaykq"></small></sup></center><td id="iaykq"></td><tbody id="iaykq"></tbody><small id="iaykq"></small><div id="iaykq"></div><td id="iaykq"></td><menu id="iaykq"></menu><div id="iaykq"></div><tbody id="iaykq"></tbody><td id="iaykq"></td><rt id="iaykq"><code id="iaykq"><input id="iaykq"></input></code></rt><option id="iaykq"></option><wbr id="iaykq"></wbr><center id="iaykq"><small id="iaykq"><blockquote id="iaykq"></blockquote></small></center><td id="iaykq"><tbody id="iaykq"><xmp id="iaykq"></xmp></tbody></td><blockquote id="iaykq"></blockquote><source id="iaykq"></source><nav id="iaykq"><tt id="iaykq"><s id="iaykq"></s></tt></nav><table id="iaykq"></table><xmp id="iaykq"></xmp> <label id="iaykq"></label><dd id="iaykq"></dd><div id="iaykq"></div><tt id="iaykq"></tt><strong id="iaykq"></strong><samp id="iaykq"><u id="iaykq"><tr id="iaykq"></tr></u></samp><nav id="iaykq"><xmp id="iaykq"><object id="iaykq"></object></xmp></nav><xmp id="iaykq"><bdo id="iaykq"><nav id="iaykq"></nav></bdo></xmp><tr id="iaykq"></tr><sup id="iaykq"></sup><kbd id="iaykq"></kbd><s id="iaykq"><kbd id="iaykq"><wbr id="iaykq"></wbr></kbd></s><s id="iaykq"><option id="iaykq"><wbr id="iaykq"></wbr></option></s><blockquote id="iaykq"><bdo id="iaykq"><sup id="iaykq"></sup></bdo></blockquote><optgroup id="iaykq"></optgroup><tt id="iaykq"></tt><samp id="iaykq"></samp><button id="iaykq"></button><sup id="iaykq"></sup><sup id="iaykq"></sup><nav id="iaykq"></nav><center id="iaykq"></center><optgroup id="iaykq"></optgroup><button id="iaykq"><rt id="iaykq"><div id="iaykq"></div></rt></button><nav id="iaykq"></nav><blockquote id="iaykq"></blockquote><object id="iaykq"><kbd id="iaykq"><wbr id="iaykq"></wbr></kbd></object><s id="iaykq"></s><samp id="iaykq"></samp><s id="iaykq"></s><center id="iaykq"></center><strong id="iaykq"><menu id="iaykq"><acronym id="iaykq"></acronym></menu></strong><option id="iaykq"></option><strong id="iaykq"></strong><button id="iaykq"><noscript id="iaykq"><table id="iaykq"></table></noscript></button><sup id="iaykq"></sup><bdo id="iaykq"><label id="iaykq"><tt id="iaykq"></tt></label></bdo><s id="iaykq"><acronym id="iaykq"><source id="iaykq"></source></acronym></s><source id="iaykq"><li id="iaykq"><xmp id="iaykq"></xmp></li></source><kbd id="iaykq"></kbd><input id="iaykq"></input><input id="iaykq"></input><optgroup id="iaykq"></optgroup><option id="iaykq"><tbody id="iaykq"><table id="iaykq"></table></tbody></option><wbr id="iaykq"></wbr><nav id="iaykq"></nav><s id="iaykq"></s><code id="iaykq"><nav id="iaykq"><tt id="iaykq"></tt></nav></code><code id="iaykq"><nav id="iaykq"><u id="iaykq"></u></nav></code><li id="iaykq"></li></div> <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>