欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

firebug lite for chrome

发布时间:2023/12/20 编程问答 46 豆豆
生活随笔 收集整理的这篇文章主要介绍了 firebug lite for chrome 小编觉得挺不错的,现在分享给大家,帮大家做个参考.
firebug lite for chrome

http://getfirebug.com/releases/lite/chrome/

代码着色

http://code.google.com/p/google-code-prettify/ not support textarea

 

http://codepress.sourceforge.net/index.php this is support textarea

 

http://www.cdolivet.com/editarea/editarea/exemples/exemple_full.html anothoer support textarea edit source ,it's gread to build a web ide solution

 

http://codemirror.net/ 这个看着不错,这个看着比较适,简洁

一个汇总

http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors

 

http://www.mdk-photo.com/editor/ 一个切换编辑大小的特性不错

 

一个web ide努力的方向

An online IDE for the Orc programming language

 

bespin的用户体验还是不错的,不过还不如其它的实用,做web ide可以参考

 

这个网站相当之牛bihttp://kodingen.com/

 

http://gskinner.com/RegExr/ 一个在线正则

 

http://regexlib.com/

http://www.pythonregex.com/ python的在线正则值得学习

 

 

 

 

Pyreb homepage



About the softwareScreenshotsRequirementsLinks
Current versionDownload and Project PageAuthorStatus


About the software 
Pyreb is a wxPython GUI to the re python module; it will speed up the development of Python regular expression (similar to PCRE). 
The GUI is simple and features 3 parts:
  • A text box where the text to be analyzed is displayed
  • A text box where the regular expression to be applied is displayed
  • A tree control where the results are displayed

 

 

cool

 

A Collection of Regular Expressions Cheat Sheets & Quick Reference Guides

http://www.allwebdesignresources.com/webdesignblogs/graphics/a-collection-of-regular-expressions-cheat-sheets-quick-reference-guides/

 

 

 

PYTHON REGULAR EXPRESSION CHEAT SHEET


Published in: Python 


Expand | Embed | Plain Text
  • import re
  • def regexp():
  • s = '<html><head><title>Title</title>'
  • # with pre compiled pattern
  • pattern = re.compile('title')
  • match = pattern.search(s)
  • #check for existence
  • print match
  • # >> <_sre.SRE_Match object at 0x011E0E58>
  • #loop through all matches
  • match = pattern.findall(s)
  • print match
  • # >> ['title', 'title']
  • #grouping matches
  • s = '<html><head><title>Title</title>'
  • pattern = re.compile('(head).*(title)')
  • match = pattern.search(s)
  • print match.group(0)
  • # >>head><title>Title</title
  • print match.group(1)
  • # >>head
  • #replace
  • pattern = re.compile('title')
  • print pattern.sub("ersetzt",s)
  • # >> <html><head><ersetzt>Title</ersetzt>
  • #split
  • pattern = re.compile('title')
  • print pattern.split(s)
  • # >> ['<html><head><', '>Title</', '>']
  • #replace alle lines in file by "eineZeile"
  • f = open('test.txt','r')
  • l= ['eineZeile' for l in f.readlines()]
  • f.close()
  • print l
  • f=open("test.txt", "w")
  • f.writelines(l)
  • f.close()
  • regexp()
  • Report this snippet 

     

     

    c THE dot.de 
    • Projects 
    • About Me 
    • Weblog
    Retest / Re-Try 
    • What Is It 
    • License 
    • Download 
    • Usage 
    • History

    Retest (And Re-Try), Test Python Regular Expressions In A Webbrowser

    What Is It

    A simple Server which enables tests of Python regular expressions ( re module) in a webbrowser. Uses SimpleHTTPServer and AJAX .

    RE-TRY ONLINE APPLICATION

    retest is now also available as re-try online application on GAE.

    RETEST LOCAL BROWSER APPLICATION

    retest is available to be run locally as a browser application.

    retest screenshot:

    You only need: Python , a modern webbrowser like Firefox, IE (from 5.5), Safari or Opera (from 8) which handlesXMLHttpRequest .

    License

     
    This work is licensed under a Creative Commons License .

    Download

    • retest-0.6.1 - 061224

    Tested with Python 2.5, Firefox 1.06/2.0.0.1, Internet Explorer 6/7 and Opera 8.02/8.50 on Windows XP only. Seems to work best with Firefox and Opera, any feedback (success or failure ;) is welcome.

    Paul Bissex reported retest working on OS X 10.4.3 (Python 2.4.1) in Safari, Camino, Opera, and Firefox. Bryon Gill reports retest working fine on Fedora Core 4, Python 2.4.1, Mozilla 1.7.10. James Thiele reports retest v0.5.1 works on OS X 10.3.9 Python 2.3. Erik Knowles reports retest working on Mandriva 10.1.

    Usage

    Start the server with >python reserver.py and open http://localhost:8087/ in your webbrowser (if the browser is not started automatically. You might want to adjust the PORT used in reserver.py.

    The usage of the application itself should be self explanatory, take a look in the Python documentation for the re module .

    Full keyboard usage is enabled. You may have to adjust the shortcuts to your browser or OS environment (e.g. on WindowsALT-T [in Firefox SHIFT-ALT-T ] puts the focus in the " ext" field.). See the titles on the specific items for the keyboard shortcuts which are normally the underlined characters or, in the case of the size adjustment buttons, the characters1-6 .

     

     

    Sometimes when you need to work on regular expression, you may need to look for a sandbox to do your testing. Here are two that I found quite helpful. Enjoy~~~

    http://regex.powertoy.org/

    http://www.rexv.org/

     

     

    posted on 2010-09-22 21:20 lexus 阅读(...) 评论(...) 编辑 收藏

    转载于:https://www.cnblogs.com/lexus/archive/2010/09/22/1833147.html

    总结

    以上是生活随笔为你收集整理的firebug lite for chrome的全部内容,希望文章能够帮你解决所遇到的问题。

    如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。