相信积累的力量

摘要: http://en.wikipedia.org/wiki/LR_parserIncomputer science,LR parsersare a type ofbottom-upparsersthat efficiently handledeterministic context-free languagesin guaranteed linear time.[1]TheLALRparsersand theSLRparsersare common variants of LR parsers. LR parsers are often mechanically generated from a 阅读全文
posted @ 2013-08-30 21:07 ThreeF 阅读(539) 评论(0) 推荐(0) 编辑
摘要: http://www.tutorialspoint.com/python/python_further_extensions.htmAny code that you write using any compiled language like C, C++ or Java can be integrated or imported into another Python script. This code is considered as an "extension."A Python extension module is nothing more than a nor 阅读全文
posted @ 2013-08-29 20:56 ThreeF 阅读(949) 评论(0) 推荐(0) 编辑
摘要: OBJDUMP(1) GNU Development Tools OBJDUMP(1)NAME objdump - display information from object files.SYNOPSIS objdump [-a|--archive-headers] [-b bfdname|--target=bfdname] [-C|--demangle[=style] ] [-d|--disassemble] [-D|--disassemble-all]... 阅读全文
posted @ 2013-08-29 19:36 ThreeF 阅读(273) 评论(0) 推荐(0) 编辑
摘要: http://docs.python.org/2/extending/extending.html1. Extending Python with C or C++It is quite easy to add new built-in modules to Python, if you know how to program in C. Suchextension modulescan do two things that can’t be done directly in Python: they can implement new built-in object types, and t 阅读全文
posted @ 2013-08-29 16:58 ThreeF 阅读(447) 评论(0) 推荐(0) 编辑
摘要: http://www.tutorialspoint.com/http/http_methods.htmThe set of common methods for HTTP/1.0 is defined below. Although this set can be expanded.The GET MethodThe GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. If the Request-URI refers to a d 阅读全文
posted @ 2013-08-29 10:12 ThreeF 阅读(286) 评论(0) 推荐(0) 编辑
摘要: http://www.laurentluce.com/posts/python-string-objects-implementation/Python string objects implementationJune 19, 2011This article describes how string objects are managed by Python internally and how string search is done.PyStringObject structureNew string objectSharing string objectsString search 阅读全文
posted @ 2013-08-23 23:17 ThreeF 阅读(344) 评论(0) 推荐(0) 编辑
摘要: http://docs.python.org/2/extending/extending.html 1. Extending Python with C or C++ It is quite easy to add new built-in modules to Python, if you kno 阅读全文
posted @ 2013-08-23 23:16 ThreeF 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 8.17.copy— Shallow and deep copy operations不可变对象总是浅复制?string tuple可变容器对象浅复制?list dic其它可变对象写入深复制?int charAssignment statements in Python do not copy objects, they create bindings between a target and an object. For collections that are mutable or contain mutable items, a copy is sometimes needed so o 阅读全文
posted @ 2013-08-23 23:14 ThreeF 阅读(532) 评论(0) 推荐(0) 编辑
摘要: http://www.laurentluce.com/posts/python-list-implementation/Python list implementationMarch 10, 2011This post describes the CPython implementation of the list object. CPython is the most used Python implementation.Lists in Python are powerful and it is interesting to see how they are implemented int 阅读全文
posted @ 2013-08-23 22:51 ThreeF 阅读(393) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/1546226/the-shortest-way-to-remove-multiple-spaces-in-a-string-in-pythonThe fox jumped over the log.The fox jumped over the log." ".join(foo.split())re.sub(patten, replace, str) 阅读全文
posted @ 2013-08-23 19:24 ThreeF 阅读(347) 评论(0) 推荐(0) 编辑
摘要: Telnetis anetwork protocolused on theInternetorlocal area networksto provide a bidirectional interactive text-oriented communication facility using a virtualterminalconnection. User data is interspersedin-bandwith Telnet control information in an 8-bitbyte orienteddata connection over theTransmissio 阅读全文
posted @ 2013-08-22 23:08 ThreeF 阅读(465) 评论(0) 推荐(0) 编辑
摘要: Incomputer science, thetreapand therandomized binary search treeare two closely related forms ofbinary search treedata structuresthat maintain a dynamic set of ordered keys and allowbinary searchesamong the keys. After any sequence of insertions and deletions of keys, the shape of the tree is arando 阅读全文
posted @ 2013-08-22 15:20 ThreeF 阅读(304) 评论(0) 推荐(0) 编辑
摘要: http://www.tutorialspoint.com/php/php_and_mysql.htmhttp://www.tutorialspoint.com/php/php_tutorial.pdf 阅读全文
posted @ 2013-08-21 11:28 ThreeF 阅读(200) 评论(0) 推荐(0) 编辑
摘要: http://developer.51cto.com/art/201110/299303.htm1:首先安装apache:打开终端(ctrl+Alt+t),输入命令:sudo apt-get install apache2即可安装,安装完后,打开浏览器,在地址栏输入:localhost或者http://127.0.0.1看到It works,表示安装成功!默认根目录:/var/www/2:安装mysql:sudo apt-get install mysql-server-5.0安装完后,会要你新设 入你自己的密码后enter键,再确认密码。3:安装PHP 5 and Apache PHP 5 阅读全文
posted @ 2013-08-21 10:30 ThreeF 阅读(232) 评论(0) 推荐(0) 编辑
摘要: http://zetcode.com/databases/mysqltutorial/introduction/This is a list of handy MySQL commands that I use time and time again. At the bottom are statements, clauses, and functions you can use in MySQL. Below that are PHP and Perl API functions you can use to interface with MySQL. To use those you wi 阅读全文
posted @ 2013-08-21 09:06 ThreeF 阅读(337) 评论(0) 推荐(0) 编辑
摘要: http://zetcode.com/databases/mysqltutorial/introduction/HomeContentsIntroduction to MySQLAbout this tutorialThis is MySQL tutorial. It covers the MySQL database, various mysql command line tools and the SQL language covered by the database engine. It is an introductory tutorial for the beginners.MyS 阅读全文
posted @ 2013-08-21 09:04 ThreeF 阅读(445) 评论(0) 推荐(0) 编辑
摘要: Murray Hill Place—the new Opus Dei World Headquarters and conference center—is located at243 Lexington Avenue in New York City. With a price tag of just over $47 million, the 133,000-square-foot tower is clad in red brick and Indiana limestone. Designed by May & Pinska, thebuilding contains over 阅读全文
posted @ 2013-08-20 22:15 ThreeF 阅读(353) 评论(0) 推荐(0) 编辑
摘要: http://effbot.org/pyfaq/where-do-i-start-if-i-want-to-learn-about-the-cpython-implementation.htmQ. Anyone have any good advice to someone interested in learning about innards of the Python implementation?A. There are only a handful of top level directories that are interesting:Include- include files 阅读全文
posted @ 2013-08-20 11:15 ThreeF 阅读(171) 评论(0) 推荐(0) 编辑
摘要: http://dogschool.tripod.com/cubegroups.html13. Rubik's Cube GroupsIf we consider all sequences of moves on a Rubik's Cube we notice the following:One sequence followed by another sequence is a sequence:Closure.Followed byisassociative.Thedo nothingsequence does nothing:Identity.Every sequenc 阅读全文
posted @ 2013-08-20 10:56 ThreeF 阅读(603) 评论(0) 推荐(0) 编辑
摘要: http://dogschool.tripod.com/rubikscube.html12. Rubik's Magic CubeRubik's CubeIn the early 1980's a puzzle invented by Ernö Rubik of Hungary captivated the world's imagination. Millions of the puzzles were sold, television programs appeared devoted to it and the medical world add 阅读全文
posted @ 2013-08-19 23:17 ThreeF 阅读(354) 评论(0) 推荐(0) 编辑
摘要: Captain Bezu Fache carried himself like an angry ox, with his wide shoulders thrown back and his chin tucked hard into his chest. His dark hair was slicked back with oil, accentuating an arrow-like widow's peak that divided his jutting brow and preceded him like the prow of a battleship. As he a 阅读全文
posted @ 2013-08-19 21:17 ThreeF 阅读(426) 评论(0) 推荐(0) 编辑
摘要: http://docs.python.org/2/library/httplib.html20.7.httplib— HTTP protocol clientNoteThehttplibmodule has been renamed tohttp.clientin Python 3. The2to3tool will automatically adapt imports when converting your sources to Python 3.Source code:Lib/httplib.pyThis module defines classes which implement t 阅读全文
posted @ 2013-08-17 23:18 ThreeF 阅读(431) 评论(0) 推荐(0) 编辑
摘要: Date & timeIn this part of the Windows API tutorial, we will work with date and time.http://zetcode.com/gui/winapi/datetime/TheSYSTEMTIMEstructure is used to work with date and time in Windows API. The time can be either coordinated universal time (UTC) or local time. It has the following member 阅读全文
posted @ 2013-08-17 20:29 ThreeF 阅读(365) 评论(0) 推荐(0) 编辑
摘要: http://blog.163.com/seven_7_one/blog/static/162606412201032955449489/ 阅读全文
posted @ 2013-08-16 20:12 ThreeF 阅读(150) 评论(0) 推荐(0) 编辑
摘要: http://zetcode.com/gui/winapi/strings/The string lengthOne of the most common requirements is to figure out the length of the string. Thelstrlen()function returns the lenght of the specified string in characters. It does not count the terminating null character.int WINAPI lstrlenA(LPCSTR lpString);i 阅读全文
posted @ 2013-08-16 13:30 ThreeF 阅读(452) 评论(0) 推荐(0) 编辑
摘要: http://zetcode.com/gui/winapi/main/ Home Contents Main functions In this part of the Winapi tutorial, we will talk about main functions. The main() fu 阅读全文
posted @ 2013-08-16 13:14 ThreeF 阅读(332) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/en-us/library/ms235636.aspxThis step-by-step walkthrough shows how to create a dynamic link library (DLL) for use with a C++ app. Using a library is a great way to reuse code. Rather than re-implementing the same routines in every program that you create, you write them one 阅读全文
posted @ 2013-08-15 18:38 ThreeF 阅读(512) 评论(0) 推荐(0) 编辑
摘要: http://www.commandlinefu.com/commands/view/1246/git-remove-files-which-have-been-deletedgit remove files which have been deletedTerminal - git remove files which have been deletedgit rm $(git ls-files --deleted)2009-02-26 21:21:02User:technicalpicklesFunctions:rm18UpDowngit remove files which have b 阅读全文
posted @ 2013-08-13 22:03 ThreeF 阅读(353) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/pub/software/scm/git/docs/git-merge.htmlgit-merge(1) Manual PageNAMEgit-merge - Join two or more development histories togetherSYNOPSISgit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit] [-s ] [-X ] [--[no-]rerere-autoupdate] [-m ] […] git merge HEAD … git merge --. 阅读全文
posted @ 2013-08-13 21:38 ThreeF 阅读(1490) 评论(0) 推荐(0) 编辑
摘要: TheGoogle platformrefers to thecomputer softwareand large hardware resourcesGoogleuses to provide their services. This article describes the technologicalinfrastructurebehind Google's websites, as presented in the company's public announcements.Contents[hide]1Hardware1.1Original hardware1.2P 阅读全文
posted @ 2013-08-12 22:03 ThreeF 阅读(351) 评论(0) 推荐(0) 编辑
摘要: HTTP Made Really EasyA Practical Guide to Writing Clients and ServersHome>Web Technology Made Really Easy> HTTP Made Really EasyDonateTable of Contents|FootnotesDecember 10, 2012-- Updated the links about robots.HTTP is the network protocol of the Web. It is both simple and powerful. Knowing H 阅读全文
posted @ 2013-08-11 21:04 ThreeF 阅读(216) 评论(0) 推荐(0) 编辑
摘要: http://en.wikipedia.org/wiki/AA_treevisualization:http://people.ksp.sk/~kuko/bak/index.html这篇文章讲的不错:http://blog.csdn.net/ljsspace/article/details/6547450AnAA treeincomputer scienceis a form ofbalanced treeused for storing and retrieving ordered data efficiently. AA trees are named forArne Andersson, 阅读全文
posted @ 2013-08-11 13:45 ThreeF 阅读(400) 评论(0) 推荐(0) 编辑
摘要: OverviewPackageClassUseTreeDeprecatedIndexHelpJava™PlatformStandardEd.6PREV CLASS NEXT CLASSFRAMES NO FRAMES All ClassesSUMMARY:NESTED|FIELD|CONSTR|METHODDETAIL:FIELD|CONSTR|METHODjava.utilClass Hashtablejava.lang.Object java.util.Dictionary java.util.HashtableAll Implemented Interfaces:Serial... 阅读全文
posted @ 2013-08-11 13:15 ThreeF 阅读(608) 评论(0) 推荐(0) 编辑
摘要: OverviewPackageClassUseTreeDeprecatedIndexHelpJava™PlatformStandardEd.6PREV CLASS NEXT CLASSFRAMES NO FRAMES All ClassesSUMMARY:NESTED|FIELD|CONSTR|METHODDETAIL:FIELD|CONSTR|METHODjava.langClass Objectjava.lang.Objectpublic class ObjectClassObjectis the root of the class hierarchy. Every class hasOb 阅读全文
posted @ 2013-08-11 13:08 ThreeF 阅读(388) 评论(0) 推荐(0) 编辑
摘要: http://en.wikipedia.org/wiki/Pumping_lemma_for_regular_languagesIn the theory offormal languages, thepumpinglemmafor regular languagesdescribes an essential property of allregular languages. Informally, it says that all sufficiently long words in a regular language may bepumped— that is, have a midd 阅读全文
posted @ 2013-08-11 10:28 ThreeF 阅读(541) 评论(0) 推荐(0) 编辑
摘要: In the theory offormal languagesincomputability theory, apumping lemmaorpumping argumentstates that, for a particular language to be a member of a language class, any sufficiently long string in the language contains a section, or sections, that can be removed, or repeated any number of times, with 阅读全文
posted @ 2013-08-10 23:17 ThreeF 阅读(565) 评论(0) 推荐(0) 编辑
摘要: Informal language theory, acontext-free grammar(CFG) is aformal grammarin which everyproduction ruleis of the formV→wwhereVis asinglenonterminalsymbol, andwis a string ofterminalsand/or nonterminals (wcan be empty). A formal grammar is considered "context free" when its production rules ca 阅读全文
posted @ 2013-08-10 23:16 ThreeF 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: This article is about a technical term inmathematicsandcomputer science. For related studies about natural languages, seeGrammar framework. For formal modes of speech in natural languages, seeRegister (sociolinguistics).Inmathematics,computer science, andlinguistics, aformal languageis asetofstrings 阅读全文
posted @ 2013-08-10 22:06 ThreeF 阅读(579) 评论(0) 推荐(0) 编辑
摘要: Incomputer science, acanonical LR parserorLR(1) parseris anLR(k)parser fork=1, i.e. with a singlelookaheadterminal. The special attribute of this parser is that all LR(k) parsers withk>1can be transformed into a LR(1) parser.[1]It can handle alldeterministic context-free languages[1]. In the past 阅读全文
posted @ 2013-08-10 14:10 ThreeF 阅读(394) 评论(0) 推荐(0) 编辑
摘要: Deterministic context-free languageFrom Wikipedia, the free encyclopediaInformal language theory,deterministic context-free languages(DCFL) are aproper subsetofcontext-free languages. They are the context-free languages that can be accepted by adeterministic pushdown automaton.Contents[hide]1Descrip 阅读全文
posted @ 2013-08-10 14:08 ThreeF 阅读(349) 评论(0) 推荐(0) 编辑

相信积累的力量