├── Antlr ├── Java │ ├── main │ ├── main.exe.bat │ └── make.bat ├── Python │ ├── main │ ├── main.exe.bat │ └── makefile ├── C++ │ ├── pch.cpp │ ├── input.txt │ ├── pch.h │ └── make.bat └── C# │ └── Expr │ └── makefile ├── C++ ├── CryptoAlgo │ ├── aes.h │ ├── ras.h │ ├── createBigFile.sh │ └── makefile_var ├── CompressionAlgo │ ├── lzma.h │ ├── pch.cpp │ ├── createBigFile.sh │ ├── make.bat │ └── makefile_var ├── 光线追踪 │ ├── .clang_complete │ ├── pch.cpp │ ├── Light.h │ ├── Mesh.h │ ├── Util.h │ ├── Light.cpp │ ├── Matrix.h │ ├── Mesh.cpp │ ├── 模型和场景.rar │ ├── Camera.cpp │ ├── Geometry.cpp │ ├── Geometry.h │ ├── Material.h │ ├── Renderer.cpp │ ├── Sampler.cpp │ ├── SceneObj.cpp │ ├── SceneObj.h │ ├── MeshBuilder.h │ ├── Traceable.cpp │ ├── Apps │ │ ├── readme.txt │ │ └── Frame_GLUT.cpp │ ├── MeshBuilder.cpp │ ├── SceneManager.cpp │ ├── TriGeometry.cpp │ ├── TriTraceAccelerator_KDTree.cpp │ ├── pch.h │ ├── make.bat │ └── makefile_var ├── 数独 │ └── Console │ │ ├── console.qrc │ │ ├── stdafx.h │ │ ├── Console.cpp │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ └── Console.vcproj ├── 软件渲染 │ ├── .clang_complete │ ├── pch.cpp │ ├── Light.h │ ├── Mesh.h │ ├── Util.h │ ├── Light.cpp │ ├── Matrix.h │ ├── Mesh.cpp │ ├── 模型和场景.rar │ ├── Geometry.cpp │ ├── Geometry.h │ ├── Rasterizer.h │ ├── Renderer.cpp │ ├── Sampler.cpp │ ├── SceneObj.cpp │ ├── SceneObj.h │ ├── Rasterizer.cpp │ ├── Apps │ │ ├── Frame_GLUT.cpp │ │ └── readme.txt │ ├── pch.h │ ├── make.bat │ └── makefile_var ├── AStar │ └── Console │ │ ├── console.qrc │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── Console.cpp │ │ └── Console.vcproj ├── AStar2 │ └── Console │ │ ├── console.qrc │ │ ├── stdafx.h │ │ ├── AstarAlgo.h │ │ ├── Console.cpp │ │ ├── ReadMe.txt │ │ ├── min_heap.h │ │ ├── stdafx.cpp │ │ ├── Console.vcproj │ │ └── ordered_vector.h ├── AlgoAndADT │ ├── pch.cpp │ ├── .clang_complete │ ├── Reports │ │ └── skipListReport.txt │ ├── make.bat │ └── makefile_var ├── BigInteger │ ├── pch.cpp │ ├── .clang_complete │ ├── make.bat │ └── makefile_var ├── ByzantineC │ ├── 3rdLib │ │ └── CMakeLists.txt │ ├── App │ │ ├── CMakeLists.txt │ │ └── UnitTests │ │ │ ├── TestArray.c │ │ │ └── main.c │ └── Build │ │ └── build.sh ├── MemAlloc │ ├── pch.cpp │ ├── make.bat │ └── makefile_var ├── SkipList │ ├── .clang_complete │ ├── pch.cpp │ ├── make.bat │ └── makefile_var ├── Trie │ ├── pch.cpp │ ├── makefile_var │ ├── make.bat │ └── pch.h ├── 同城游服装查看 │ └── Console │ │ ├── console.qrc │ │ ├── stdafx.h │ │ ├── Console.cpp │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ └── Console.vcproj ├── HashLib │ ├── pch.cpp │ ├── createBigFile.sh │ ├── make.bat │ └── makefile_var ├── OGL_万花筒 │ ├── pch.cpp │ ├── util.h │ └── pch.h ├── RegexTest │ └── Console │ │ ├── console.qrc │ │ ├── stdafx.h │ │ ├── Console.cpp │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ └── Console.vcproj ├── SSEMemcpy │ ├── pch.cpp │ ├── make.bat │ ├── makefile_var │ └── pch.h ├── SkipListArray │ ├── .clang_complete │ ├── pch.cpp │ ├── make.bat │ └── makefile_var ├── Codec │ ├── src │ │ ├── Sampler.cpp │ │ ├── BitStream.cpp │ │ ├── Main.cpp │ │ └── Test.h │ ├── .gitignore │ └── CMakeLists.txt ├── SSECompilerFlag │ ├── pch.cpp │ ├── make.bat │ ├── makefile_var │ └── pch.h ├── CompilerStudy │ ├── Lesson18_Lua1 │ │ ├── .clang_complete │ │ ├── GeneratedCode.cpp │ │ ├── make.bat │ │ ├── README.markdown │ │ └── test │ │ │ └── io.lua │ ├── Lesson14_YaccJSLang │ │ ├── .clang_complete │ │ ├── makefile_var │ │ └── make.bat │ ├── Lesson15_MyYacc │ │ ├── .clang_complete │ │ ├── makefile_var │ │ ├── UnitTest.h │ │ └── make.bat │ ├── Lesson17_StrongType │ │ ├── .clang_complete │ │ └── make.bat │ ├── Lesson27_TinyC │ │ ├── pch.cpp │ │ ├── make.bat │ │ ├── makefile_var │ │ ├── pch.h │ │ └── test.c │ ├── Lesson11_Regexp │ │ └── Regexp2 │ │ │ ├── .clang_complete │ │ │ ├── pch.cpp │ │ │ ├── makefile_var │ │ │ └── make.bat │ ├── Lesson13_LRSyntaxParser │ │ ├── pch.cpp │ │ ├── source.txt │ │ └── Common.h │ ├── Lesson24_VariousEval │ │ ├── pch.cpp │ │ ├── make.bat │ │ ├── pch.h │ │ └── makefile_var │ ├── Lesson32_VariousThreadedInterpreter │ │ ├── pch.cpp │ │ ├── make.bat │ │ ├── makefile_var │ │ └── pch.h │ ├── Lesson33_VariousThreadedInterpreter2 │ │ ├── pch.cpp │ │ ├── README │ │ ├── make.bat │ │ └── makefile_var │ ├── Lesson22_LLVMCMinus │ │ ├── README │ │ └── make.bat │ ├── Lesson9_JSONParser │ │ └── 1.txt │ ├── Lesson23_NASMCMinus │ │ ├── README │ │ ├── make.bat │ │ ├── run_mac.sh │ │ ├── BEx86ASMSerializer.h │ │ └── run.sh │ ├── Lesson16_ByteCode │ │ ├── UnitTest.h │ │ └── make.bat │ ├── Lesson30_SimpleEval │ │ ├── makefile_var │ │ └── pch.h │ ├── Lesson5_CSyntaxLang │ │ ├── makefile_var │ │ └── pch.h │ ├── Lesson28_SimpleJsonParser │ │ ├── makefile_var │ │ └── pch.h │ ├── Lesson20_Lua3 │ │ ├── README.md │ │ ├── make.bat │ │ ├── test │ │ │ └── io.lua │ │ ├── test.lua │ │ └── AST.cpp │ ├── Lesson19_Lua2 │ │ ├── make.bat │ │ ├── README.md │ │ ├── test │ │ │ └── io.lua │ │ └── AST.cpp │ ├── Lesson21_AntlrLang │ │ ├── make.bat │ │ └── test.js │ ├── Lesson25_AsmJitEval │ │ ├── pch.h │ │ └── makefile_var │ ├── Lesson29_SimpleInterpreter │ │ ├── makefile_var │ │ └── pch.h │ └── Lesson26_ImageFilteringJIT │ │ └── makefile_var ├── LineCounter │ └── Addin_LineCounter │ │ ├── stdafx.h │ │ ├── stdafx.cpp │ │ ├── Addin_LineCounter.rc │ │ ├── DlgLineCounter.cpp │ │ ├── Addin_LineCounter.aps │ │ ├── Addin_LineCounter.ico │ │ ├── DlgLineCounter.qrc │ │ └── Resources │ │ └── qtcreator_logo_32.png ├── SchemeInterpreter │ ├── 4_Class │ │ ├── VM1 │ │ │ ├── pch.cpp │ │ │ ├── GeneratedCode.cpp │ │ │ ├── .clang_complete │ │ │ ├── make.bat │ │ │ └── SValue.cpp │ │ ├── VM2 │ │ │ ├── pch.cpp │ │ │ ├── GeneratedCode.cpp │ │ │ ├── .clang_complete │ │ │ ├── make.bat │ │ │ └── SValue.cpp │ │ ├── i_vm1 │ │ ├── i_vm2 │ │ ├── interpreter │ │ └── compiler │ ├── 3_CompilingByteCode │ │ ├── pch.cpp │ │ ├── .clang_complete │ │ ├── make.bat │ │ └── SParser.h │ └── 1_Simple │ │ ├── main.cpp │ │ ├── SchemePrinter.cpp │ │ └── SchemePrinter.h ├── SinglePatternMatching │ ├── pch.cpp │ ├── makefile_var │ ├── make.bat │ └── pch.h ├── DynamicProgramming │ ├── main.cpp │ └── makefile_var ├── CPUSoftwareRenderer │ ├── README.md │ ├── data │ │ └── config.txt │ └── .gitignore ├── MemChk │ ├── 说明.txt │ ├── test03 │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── test03.cpp │ │ └── test03.vcproj │ └── hookDll03 │ │ ├── FuncHook.h │ │ ├── ReadMe.txt │ │ ├── ScanUtil.h │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ ├── APIHook.cpp │ │ ├── hookDll03.cpp │ │ ├── hookDll03.vcproj │ │ └── CrtMemAllocHook.cpp ├── MemChk2 │ ├── APIHook.h │ ├── stdafx.h │ ├── test.cpp │ ├── test.suo │ ├── APIHook.cpp │ ├── FuncHook.h │ ├── ReadMe.txt │ ├── ScanUtil.h │ ├── stdafx.cpp │ ├── test.vcproj │ ├── ObjTrace.cpp │ ├── CrtAllocationHook.cpp │ └── CrtAllocationHook.h ├── TCPSocket │ ├── .clang_complete │ ├── makefile_var │ └── Scripts │ │ ├── c2sTaskGen.py │ │ └── taskGen.py ├── TestUtil │ └── Util.h ├── 台球 │ ├── Test │ │ ├── Test.cpp │ │ ├── Test.suo │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── SoundWorld.cpp │ │ ├── PhysicsWorld.cpp │ │ └── Graphics3DWorld.cpp │ └── Bin │ │ └── media_billiard.7z ├── 2010DemoTools │ ├── Any.h │ ├── Math.h │ ├── Timer.h │ ├── Delegate.h │ ├── Factory.h │ ├── Message.h │ ├── Profile.h │ ├── ScanUtil.h │ ├── Timer.cpp │ ├── Utility.h │ ├── Algorithms.h │ ├── Delegate.cpp │ ├── Exception.h │ ├── FileUtility.h │ ├── MemoryCheck.h │ ├── MetaProgram.h │ ├── Profile.cpp │ ├── PropertySet.h │ ├── Serialize.h │ ├── Singleton.h │ ├── DataStructure.h │ ├── EnumStringize.h │ ├── Preprocessor.h │ ├── SerializeFile.h │ ├── StringUtility.h │ ├── MemoryAllocation.h │ ├── PlatformDepends.h │ ├── SerializeFile.cpp │ ├── SerializeSimple.h │ ├── StringUtility.cpp │ ├── CompileEnvironment.h │ ├── MemoryAllocation.cpp │ ├── SerializeComposite.h │ ├── SerializeContainer.h │ ├── MarkedDelegateQueue.h │ ├── SerializeNameValuePair.h │ ├── SerializeSerializeable.h │ └── SerializeExtend_AttriXml.cpp ├── Md5 │ └── Test05 │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── Rle │ └── Test05 │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── 后缀表达式 │ └── Test05 │ │ ├── Util.h │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── 表达式绘制器 │ └── Console.cpp ├── Base64 │ └── Test05 │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── GetHostByName │ ├── Test13.c │ └── makefile_var ├── Gobang │ ├── Gobang │ │ ├── stdafx.h │ │ ├── Gobang.cpp │ │ ├── IPlayer.h │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── Gobang.vcproj │ │ ├── IPlayer.cpp │ │ ├── Level1Ex.cpp │ │ └── WinSetsTemplate.cpp │ └── GobangUI │ │ ├── stdafx.h │ │ ├── GobangUI.h │ │ ├── GobangUI.rc │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── DlgGobangUI.h │ │ ├── GobangUI.aps │ │ ├── GobangUI.cpp │ │ ├── DlgGobangUI.cpp │ │ ├── GobangUI.vcproj │ │ └── res │ │ ├── GobangUI.ico │ │ └── GobangUI.rc2 ├── ScanFFT │ ├── Benchmark.png │ ├── .gitignore │ └── ScanFFT_UnrolledFFTGen │ │ └── App.config ├── TreeDumper │ └── pch.h ├── lz77 │ └── Test05 │ │ ├── CopyBits.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ ├── Test05.vcproj │ │ └── Test_CopyBits.cpp ├── 内存搜索修改 │ └── Test05 │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── 推箱子 │ └── Console │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ ├── Console.cpp │ │ ├── images │ │ ├── 墙.jpg │ │ ├── 平地.jpg │ │ ├── 玩家.jpg │ │ ├── 目标.jpg │ │ ├── 目标箱子.jpg │ │ ├── 箱子.jpg │ │ └── Thumbs.db │ │ └── TXZFindPathAlgo.cpp ├── COSGame │ ├── COSGame │ │ ├── stdafx.h │ │ ├── COSGame.cpp │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ └── COSGame.vcproj │ ├── COSUnitTest │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── COSUnitTest.cpp │ │ ├── Test_Property.cpp │ │ ├── Test_Signal.cpp │ │ ├── Test_Utility.cpp │ │ ├── COSUnitTest.vcproj │ │ ├── Test_StringHash.cpp │ │ └── Test_MarshalSignal.cpp │ └── COSFoundationLib │ │ ├── Signal.h │ │ ├── Utility.h │ │ ├── stdafx.h │ │ ├── Property.h │ │ ├── ReadMe.txt │ │ ├── TypeDefine.h │ │ ├── Utility.cpp │ │ ├── stdafx.cpp │ │ ├── MarshalHelp.h │ │ ├── MarshalSignal.cpp │ │ ├── MarshalSignal.h │ │ └── COSFoundationLib.vcproj ├── IOCP拷贝文件 │ └── Test05 │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── SearchFile │ └── Test05 │ │ ├── Util.h │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── SmtpLib │ ├── SmtpLib │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── SmtpLib.cpp │ │ ├── base64.cpp │ │ ├── stdafx.cpp │ │ ├── SmtpLib.vcproj │ │ ├── openssl-0.9.8l.7z │ │ └── base64.h │ └── SmtpTest │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ ├── SmtpTest.cpp │ │ └── SmtpTest.vcproj ├── 自动迷宫生成 │ └── MazeDemo │ │ ├── Vector.h │ │ ├── stdafx.h │ │ ├── MazeDemo.h │ │ ├── MazeDemo.rc │ │ ├── ReadMe.txt │ │ ├── TypeDef.h │ │ ├── stdafx.cpp │ │ ├── MazeDemo.cpp │ │ ├── MazeDemoDlg.h │ │ ├── MazeDemo.vcproj │ │ ├── MazeDemoDlg.cpp │ │ └── res │ │ ├── MazeDemo.ico │ │ └── MazeDemo.rc2 ├── Fractal │ └── rect.vert ├── Sunday搜索算法 │ └── Test05 │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── HuffmanCodec │ └── Test05 │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── LeetCode │ ├── 192_WordFrequency.cpp │ ├── 175_CombineTwoTables.cpp │ └── 27_RemoveElement.cpp ├── MyShell │ └── makefile_var ├── Windows进程内存查看 │ └── Test05 │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── Test05.cpp │ │ ├── stdafx.cpp │ │ └── Test05.vcproj ├── mmapOfPosix │ ├── makefile_var │ └── pch.h ├── AutoReleasePool │ ├── makefile_var │ └── pch.h ├── RandomStrGen │ ├── makefile_var │ └── pch.h ├── BitonicSort │ └── CUDAUtils.cu ├── MyMalloc │ ├── fsecs.h │ ├── short1-bal.rep │ └── short2-bal.rep ├── BigInteger2 │ └── .gitignore ├── BuddyAllocator │ └── makefile ├── LuaConfig │ ├── config.lua │ └── makefile_var ├── SimpleRegExpr │ ├── makefile_var │ └── pch.h ├── posix_backtrace │ ├── pch.h │ └── makefile_var ├── SimpleTimingWheel │ └── makefile_var ├── UseOfLibReadline │ └── makefile_var ├── C99ADT │ ├── makefile_var │ └── pch.h ├── EqualRange │ └── makefile_var ├── GuardPtr │ └── makefile_var ├── LazyValue │ └── makefile_var ├── BufferedFile │ └── makefile_var ├── ListRemoveIf │ └── makefile_var ├── StringInterning │ └── makefile_var ├── CmdRunAndRetrieve │ └── makefile_var ├── MemCompactBenchmark │ └── makefile_var ├── ThreadPool │ └── makefile_var ├── EliminationSeries │ └── makefile_var ├── ReaderWriterLock │ └── makefile_var ├── Currying │ ├── makefile_var │ └── pch.h ├── Random │ └── makefile_var ├── TemplateMetaProgramming │ └── CompileTimeComputation │ │ └── makefile_var ├── TypeList │ ├── makefile_var │ └── pch.h ├── BloomFilter │ └── makefile_var ├── Channel │ └── makefile_var ├── Cpp11Range │ └── makefile_var ├── FindMaxPrime │ └── makefile_var ├── NonIntrusiveAutoReleasePool │ └── makefile_var ├── STLAllocator │ └── makefile_var ├── VCPS │ └── bstTraverse │ │ └── makefile_var └── CompactionWithHandle │ └── makefile_var ├── Web ├── OpenComic │ ├── src │ │ ├── __init__.py │ │ ├── models │ │ │ └── __init__.py │ │ ├── views │ │ │ └── __init__.py │ │ └── static │ │ │ └── img │ │ │ └── loading.gif │ ├── .gitignore │ └── TODO.markdown ├── WorldCharts_php │ ├── runServer.bat │ └── data.rar ├── WorldCharts │ ├── runServer.bat │ └── data.rar └── FileBrowser │ └── runServer.bat ├── Rust └── algorithms │ ├── .gitignore │ ├── Cargo.toml │ └── src │ └── main.rs ├── Python ├── AlgoAndADT │ └── main ├── Calendar │ └── main ├── FindMaxPrime │ └── main ├── UITest │ ├── Mac │ │ ├── main │ │ └── build.sh │ └── Windows │ │ ├── main.exe.bat │ │ ├── build.bat │ │ └── setup.py ├── HHComicDownloader │ └── main ├── Log2Fibonacci │ └── main ├── ComicWebServer │ └── main ├── Currying │ └── main ├── FileSystemWebServer │ └── main.exe.bat ├── SmoothTexturedPolygon │ ├── main │ ├── mirrow2.bmp │ └── vs.glsl ├── Y_Combinator │ └── main ├── SimpleHTTPServerImpl │ └── main ├── MultiprocessPoolMap │ └── main ├── UniqLineCounter │ └── main ├── SchemeInterpreter │ ├── 4_CPS │ │ └── main │ ├── 2_Simple │ │ └── main │ ├── 5_OptimalCPS │ │ └── main │ ├── 1_SExpressionDriven │ │ └── main │ ├── 3_UnifiedCodeAndData │ │ └── main │ └── 6_CPSTransformInterpreter │ │ ├── dsi │ │ └── cpsi ├── 背单词 │ └── test.py ├── Ping │ └── test.py ├── lzw压缩 │ └── main.py ├── 俄罗斯方块 │ └── main.py ├── 文件头添加 │ └── test.py ├── 百度过滤搜索 │ └── test.py ├── DLL拷贝工具 │ └── test.py ├── TestUtil │ └── util.py ├── 漫画html生成 │ └── test.py ├── CompilerStudy │ ├── Lesson4_LLVMCMinus │ │ ├── README │ │ └── makefile │ └── Lesson3_LuaNetProtocolCodeGen │ │ └── 1.txt ├── Python脚本调度 │ └── test.py ├── 图片提取_错看漫画网 │ └── test.py └── 常见练习题 │ ├── main_斐波那契数列 │ ├── main_99乘法表 │ ├── main_3位水仙花数 │ └── main_n位水仙花数 ├── Misc ├── fish_config │ └── config.fish ├── readline_config │ └── _inputrc ├── vim_config │ └── Windows │ │ └── _vimrc ├── makefile_java │ └── Test │ │ └── makefile ├── makefile_c++ │ ├── Windows │ │ └── make.bat │ └── Linux │ │ └── makefile_var ├── gdb_config │ └── gdbinit ├── LexYacc │ └── Prefix2Infix │ │ └── lex.l └── python_config │ └── _pythonrc.py ├── CSAPP ├── 2 │ └── 1_FloatLimits │ │ ├── .clang_complete │ │ └── makefile ├── 3 │ └── 3.39_full_umul │ │ ├── makefile_var │ │ └── pch.h ├── 3_Bomb_Lab │ ├── bomb │ └── input.txt ├── 3_Buffer_Lab │ ├── bufbomb.tar │ ├── level0.txt │ ├── level3.txt │ ├── level2.txt │ └── level1.txt └── 10_Malloc_Lab │ ├── fsecs.h │ ├── short1-bal.rep │ └── short2-bal.rep ├── Lisp ├── Continuation │ ├── via_callcc │ │ └── callcc.ss │ ├── via_yield │ │ └── yield.py │ └── via_coroutine │ │ └── coroutine.lua ├── SqrtN │ └── main ├── Currying │ └── main ├── Fibonacci │ └── main ├── InfixPrint │ └── main ├── Sort │ └── main.exe.bat ├── TestMacro │ └── main ├── UnitTest │ └── main ├── VariousEqual │ └── main ├── ListComprehension │ └── main ├── Combinator │ └── 2_Parser │ │ └── main ├── CPSTransform │ ├── main │ └── run ├── CPSTransform2 │ ├── main │ └── run ├── SchemeInterpreter │ ├── 2_CPSInterpreter │ │ └── main │ ├── 3_VCPSInterpreter │ │ └── main │ ├── 4_LambdaCalculus │ │ ├── dsi │ │ └── cpsi │ └── 5_NormalOrder │ │ ├── main │ │ └── scripts │ │ └── test.rkt ├── LibraryFormExpander │ └── main ├── 99Problems │ ├── index.html │ ├── 38.rkt │ ├── 33.rkt │ ├── 02.rkt │ └── 01.rkt └── ProjectEuler │ ├── 07.rkt │ ├── 05.rkt │ ├── 03.rkt │ ├── 28.rkt │ ├── 06.rkt │ ├── 10.rkt │ └── 29.rkt ├── Lua ├── Currying │ └── main ├── MemoizeOfRecursion │ └── main ├── SchemeInterpreter │ ├── 4_CPS │ │ └── main │ ├── 1_Simple │ │ └── main │ ├── 3_Simple2 │ │ └── main │ └── 2_LambdaCalculus │ │ └── main ├── 24点 │ └── test.lua ├── 全排列 │ ├── scan.lua │ ├── readme.txt │ └── scan │ │ ├── lfs_ext.lua │ │ ├── table_ext.lua │ │ └── string_ext.lua ├── 计算器 │ ├── scan.lua │ ├── dropCpp.bat │ └── scan │ │ ├── lfs_ext.lua │ │ ├── table_ext.lua │ │ └── string_ext.lua ├── 各种快排序 │ └── test.lua ├── 漫画分册 │ └── test.lua ├── 行计数器 │ ├── scan.lua │ ├── test.lua │ ├── dropCpp.bat │ └── scan │ │ ├── lfs_ext.lua │ │ ├── string_ext.lua │ │ └── table_ext.lua ├── 词法分析 │ ├── Util.lua │ ├── test.lua │ └── dropCpp.bat ├── TestUtil │ ├── scan.lua │ ├── scan │ │ ├── lfs_ext.lua │ │ ├── table_ext.lua │ │ └── string_ext.lua │ └── ScanCFunc │ │ └── ScanCFunc │ │ ├── stdafx.h │ │ ├── ReadMe.txt │ │ ├── stdafx.cpp │ │ ├── ScanCFunc.cpp │ │ └── ScanCFunc.vcproj ├── lzw压缩解压缩 │ ├── test.lua │ └── dropCpp.bat ├── nba技术统计 │ ├── test.lua │ ├── nba_mysql.lua │ ├── nba_network.lua │ ├── html2xml │ │ └── html2xml.rar │ └── mysqldb │ │ └── nba │ │ └── 110424161842.psc ├── tags文件瘦身 │ └── test.lua ├── 漫画下载工具 │ └── test.lua ├── 简单光线追踪 │ └── Lua1.lua ├── VCTempCleaner │ ├── Util.lua │ ├── dropCpp.bat │ └── VCTempCleaner.lua ├── QtMocHelper │ ├── dropCpp.bat │ └── MocHelper.lua └── Trie │ └── README ├── F# ├── Interpreter │ ├── .gitignore │ └── 01_TypedLambdaCalculus │ │ └── App.config └── Algorithms │ ├── Data │ ├── FN.rar │ └── MST.rar │ ├── packages.config │ ├── App.config │ └── Program.fs ├── Java └── CompilerStudy │ └── Lesson1_AntlrLang │ ├── main │ ├── main.exe.bat │ └── test │ └── test.js ├── Haskell ├── AlgoAndADT │ └── main ├── ProjectEuler │ ├── 05.hs │ ├── 07.hs │ ├── 10.hs │ ├── 01.hs │ ├── 03.hs │ ├── 20.hs │ ├── 04.hs │ ├── 06.hs │ ├── 09.hs │ ├── 02.hs │ ├── 12.hs │ ├── 25.hs │ ├── 24.hs │ ├── 16.hs │ ├── 14.hs │ └── 31.hs ├── LinkedList │ └── main.hs └── BinarySearchTree │ └── main.hs ├── MachineLearning ├── SimpleClassifiers │ └── main.exe.bat ├── DLFrameworkClassifiers │ └── main.exe.bat ├── .gitignore └── DataLoader │ └── README.txt ├── SICP ├── chapter_5 │ └── simulator ├── chapter_2 │ ├── 24.scm │ ├── 55.scm │ ├── 26.scm │ └── 23.scm ├── chapter_4 │ ├── 28.rkt │ ├── 34.rkt │ └── 19.rkt └── chapter_1 │ └── 1_41.lisp ├── JavaScript ├── WebPageImageDownloader │ └── main ├── SchemeInterpreter │ └── 1_Simple │ │ └── main └── ParticleSystem │ └── utils.js ├── C# ├── SourceLocalization │ ├── Samples │ │ ├── 03_UpgradeWeaponCfgXls │ │ │ ├── 05.bat │ │ │ ├── 04.bat │ │ │ └── 06.bat │ │ ├── 02_UpgradeLocalizationJson │ │ │ ├── 01.bat │ │ │ ├── 03.bat │ │ │ ├── 04.bat │ │ │ └── 05.bat │ │ └── 01_ReplaceStringLiterals │ │ │ ├── Localization.cs │ │ │ ├── Replace.bat │ │ │ └── Program.cs │ └── Src │ │ ├── Json2Excel │ │ └── App.config │ │ ├── JsonMerge │ │ └── App.config │ │ ├── LiteralReplace │ │ └── App.config │ │ └── Common │ │ └── DataSheet.cs ├── 卸载工具 │ └── CSharp08 │ │ └── Icon.7z ├── 垃圾文件清理 │ └── CSharp08 │ │ └── exeIcon.rar ├── TimelineRenderer │ └── Output │ │ ├── History.png │ │ ├── Scientists.png │ │ ├── Philosophers.png │ │ ├── WorldHistory.png │ │ ├── ChineseHistory.png │ │ └── Mathematicians.png ├── 局域网数据传输 │ └── LANFileTransfer │ │ ├── ExeIcon.rar │ │ └── LANFT_config.xml ├── MonteCarloPi │ └── report.txt ├── CompilerStudy │ └── Lesson1_AntlrLang │ │ └── JSMinus │ │ ├── README │ │ ├── makefile │ │ └── test │ │ └── test.js └── SchemeInterpreter │ ├── 2_CPS │ └── 2_CPS │ │ └── App.config │ ├── 6_JIT │ └── 6_JIT │ │ └── App.config │ ├── 1_Simple │ └── 1_Simple │ │ └── App.config │ ├── 3_OptimalCPS │ └── 3_OptimalCPS │ │ └── App.config │ ├── 4_ComplingAST │ └── 4_ComplingAST │ │ └── App.config │ └── 5_CompilingByteCode │ └── 5_CompilingByteCode │ └── App.config └── Scala ├── Compiler ├── src │ ├── test │ │ └── drafts │ │ │ └── Main.scala │ ├── parsing │ │ └── LLParser.scala │ └── benchmark │ │ └── demo │ │ └── lua │ │ └── scripts │ │ └── TestScanReport.txt └── build.sbt └── Interpreter └── 11_RegularExpression └── Test.scala /Antlr/Java/main: -------------------------------------------------------------------------------- 1 | java Main 2 | -------------------------------------------------------------------------------- /C++/CryptoAlgo/aes.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /C++/CryptoAlgo/ras.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Web/OpenComic/src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Antlr/Java/main.exe.bat: -------------------------------------------------------------------------------- 1 | java Main 2 | -------------------------------------------------------------------------------- /Antlr/Java/make.bat: -------------------------------------------------------------------------------- 1 | make.exe %* 2 | -------------------------------------------------------------------------------- /Antlr/Python/main: -------------------------------------------------------------------------------- 1 | python main.py 2 | -------------------------------------------------------------------------------- /C++/CompressionAlgo/lzma.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /C++/光线追踪/.clang_complete: -------------------------------------------------------------------------------- 1 | -Iinclude 2 | -------------------------------------------------------------------------------- /C++/数独/Console/console.qrc: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /C++/软件渲染/.clang_complete: -------------------------------------------------------------------------------- 1 | -Iinclude 2 | -------------------------------------------------------------------------------- /Rust/algorithms/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | -------------------------------------------------------------------------------- /Web/OpenComic/src/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Web/OpenComic/src/views/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Antlr/C++/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/AStar/Console/console.qrc: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /C++/AStar2/Console/console.qrc: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /C++/AlgoAndADT/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /C++/BigInteger/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /C++/ByzantineC/3rdLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /C++/MemAlloc/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /C++/SkipList/.clang_complete: -------------------------------------------------------------------------------- 1 | -std=c++11 2 | -------------------------------------------------------------------------------- /C++/Trie/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/同城游服装查看/Console/console.qrc: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Python/AlgoAndADT/main: -------------------------------------------------------------------------------- 1 | python sort.py 2 | -------------------------------------------------------------------------------- /Python/Calendar/main: -------------------------------------------------------------------------------- 1 | python main.py 2 | -------------------------------------------------------------------------------- /Python/FindMaxPrime/main: -------------------------------------------------------------------------------- 1 | python main.py 2 | -------------------------------------------------------------------------------- /Python/UITest/Mac/main: -------------------------------------------------------------------------------- 1 | python ./main.py 2 | -------------------------------------------------------------------------------- /Antlr/Python/main.exe.bat: -------------------------------------------------------------------------------- 1 | python main.py 2 | -------------------------------------------------------------------------------- /C++/HashLib/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/OGL_万花筒/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | -------------------------------------------------------------------------------- /C++/RegexTest/Console/console.qrc: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /C++/SSEMemcpy/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/SkipList/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/SkipListArray/.clang_complete: -------------------------------------------------------------------------------- 1 | -std=c++11 2 | -------------------------------------------------------------------------------- /Misc/fish_config/config.fish: -------------------------------------------------------------------------------- 1 | fish_vi_mode 2 | -------------------------------------------------------------------------------- /Python/HHComicDownloader/main: -------------------------------------------------------------------------------- 1 | python main.py 2 | -------------------------------------------------------------------------------- /Python/Log2Fibonacci/main: -------------------------------------------------------------------------------- 1 | python main.py 2 | -------------------------------------------------------------------------------- /Web/OpenComic/.gitignore: -------------------------------------------------------------------------------- 1 | data 2 | log 3 | *.pyc -------------------------------------------------------------------------------- /C++/Codec/src/Sampler.cpp: -------------------------------------------------------------------------------- 1 | #include "Sampler.h" 2 | -------------------------------------------------------------------------------- /C++/CompressionAlgo/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/SSECompilerFlag/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/SkipListArray/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /CSAPP/2/1_FloatLimits/.clang_complete: -------------------------------------------------------------------------------- 1 | -std=c++0x 2 | -------------------------------------------------------------------------------- /Lisp/Continuation/via_callcc/callcc.ss: -------------------------------------------------------------------------------- 1 | ; builtin 2 | -------------------------------------------------------------------------------- /Lisp/Continuation/via_yield/yield.py: -------------------------------------------------------------------------------- 1 | # builtin 2 | -------------------------------------------------------------------------------- /Lisp/SqrtN/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | racket main.lisp 3 | -------------------------------------------------------------------------------- /Lua/Currying/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | lua main.lua 3 | -------------------------------------------------------------------------------- /Python/UITest/Windows/main.exe.bat: -------------------------------------------------------------------------------- 1 | python main.py 2 | -------------------------------------------------------------------------------- /C++/Codec/src/BitStream.cpp: -------------------------------------------------------------------------------- 1 | #include "BitStream.h" 2 | -------------------------------------------------------------------------------- /Lisp/Currying/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | racket main.rkt 3 | -------------------------------------------------------------------------------- /Lisp/Fibonacci/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | racket main.scm 3 | -------------------------------------------------------------------------------- /Lisp/InfixPrint/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | racket main.scm 3 | -------------------------------------------------------------------------------- /Lisp/Sort/main.exe.bat: -------------------------------------------------------------------------------- 1 | E:\Racket\Racket.exe main.rkt 2 | -------------------------------------------------------------------------------- /Lisp/TestMacro/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | racket main.rkt 3 | -------------------------------------------------------------------------------- /Lisp/UnitTest/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | racket main.rkt 3 | -------------------------------------------------------------------------------- /Python/ComicWebServer/main: -------------------------------------------------------------------------------- 1 | /usr/bin/env python main.py 2 | -------------------------------------------------------------------------------- /Python/Currying/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | python main.py 3 | -------------------------------------------------------------------------------- /Python/FileSystemWebServer/main.exe.bat: -------------------------------------------------------------------------------- 1 | python main.py 2 | -------------------------------------------------------------------------------- /Python/SmoothTexturedPolygon/main: -------------------------------------------------------------------------------- 1 | python ./main.py 2 | -------------------------------------------------------------------------------- /Web/WorldCharts_php/runServer.bat: -------------------------------------------------------------------------------- 1 | php -S localhost:8000 -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson18_Lua1/.clang_complete: -------------------------------------------------------------------------------- 1 | -std=c++0x 2 | -------------------------------------------------------------------------------- /C++/LineCounter/Addin_LineCounter/stdafx.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM1/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM2/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /C++/SinglePatternMatching/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /F#/Interpreter/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | bin/ 3 | obj/ 4 | 5 | .suo 6 | -------------------------------------------------------------------------------- /Java/CompilerStudy/Lesson1_AntlrLang/main: -------------------------------------------------------------------------------- 1 | java -ea Main $* 2 | -------------------------------------------------------------------------------- /Lisp/VariousEqual/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | racket main.scm 3 | -------------------------------------------------------------------------------- /Lua/MemoizeOfRecursion/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | lua main.lua 3 | -------------------------------------------------------------------------------- /Python/Y_Combinator/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | python main.py 3 | -------------------------------------------------------------------------------- /Web/WorldCharts/runServer.bat: -------------------------------------------------------------------------------- 1 | python -m SimpleHTTPServer 8000 -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson14_YaccJSLang/.clang_complete: -------------------------------------------------------------------------------- 1 | -std=c++0x 2 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson15_MyYacc/.clang_complete: -------------------------------------------------------------------------------- 1 | -std=c++0x 2 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson17_StrongType/.clang_complete: -------------------------------------------------------------------------------- 1 | -std=c++0x 2 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson27_TinyC/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/DynamicProgramming/main.cpp: -------------------------------------------------------------------------------- 1 | #include "shortestPalindrome.h" 2 | -------------------------------------------------------------------------------- /C++/LineCounter/Addin_LineCounter/stdafx.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | -------------------------------------------------------------------------------- /C++/光线追踪/pch.cpp: -------------------------------------------------------------------------------- 1 | // vim: fileencoding=gbk 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/软件渲染/pch.cpp: -------------------------------------------------------------------------------- 1 | // vim: fileencoding=gbk 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /Haskell/AlgoAndADT/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | ghc -e main $* 4 | -------------------------------------------------------------------------------- /Lisp/ListComprehension/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | racket main.rkt 3 | -------------------------------------------------------------------------------- /MachineLearning/SimpleClassifiers/main.exe.bat: -------------------------------------------------------------------------------- 1 | python test.py 2 | -------------------------------------------------------------------------------- /Python/SimpleHTTPServerImpl/main: -------------------------------------------------------------------------------- 1 | /usr/bin/env python main.py 2 | -------------------------------------------------------------------------------- /Antlr/C++/input.txt: -------------------------------------------------------------------------------- 1 | 5 2 | x=1 3 | y=2 4 | 3*(x+y) 5 | x=x+10 6 | x*y 7 | -------------------------------------------------------------------------------- /C++/ByzantineC/App/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | add_subdirectory(UnitTests) 3 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson11_Regexp/Regexp2/.clang_complete: -------------------------------------------------------------------------------- 1 | -std=c++0x 2 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson11_Regexp/Regexp2/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson13_LRSyntaxParser/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson24_VariousEval/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/3_CompilingByteCode/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /Java/CompilerStudy/Lesson1_AntlrLang/main.exe.bat: -------------------------------------------------------------------------------- 1 | java -ea Main %* 2 | -------------------------------------------------------------------------------- /Lisp/Combinator/2_Parser/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | racket parser.rkt 4 | -------------------------------------------------------------------------------- /MachineLearning/DLFrameworkClassifiers/main.exe.bat: -------------------------------------------------------------------------------- 1 | python test.py 2 | -------------------------------------------------------------------------------- /Python/MultiprocessPoolMap/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | python main.py 4 | -------------------------------------------------------------------------------- /Python/UniqLineCounter/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | python main.py $* 4 | -------------------------------------------------------------------------------- /MachineLearning/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | 3 | __pycache__/ 4 | data/ 5 | temp/ 6 | -------------------------------------------------------------------------------- /SICP/chapter_5/simulator: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | racket simulator.rkt $* 4 | -------------------------------------------------------------------------------- /JavaScript/WebPageImageDownloader/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | node main.js $* 4 | -------------------------------------------------------------------------------- /Lua/SchemeInterpreter/4_CPS/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | lua main.lua 4 | -------------------------------------------------------------------------------- /C++/AlgoAndADT/.clang_complete: -------------------------------------------------------------------------------- 1 | -I/usr/include/i386-linux-gnu/c++/4.8/ 2 | -std=c++11 3 | -------------------------------------------------------------------------------- /C++/BigInteger/.clang_complete: -------------------------------------------------------------------------------- 1 | -I/usr/include/i386-linux-gnu/c++/4.8/ 2 | -std=c++11 3 | -------------------------------------------------------------------------------- /C++/CPUSoftwareRenderer/README.md: -------------------------------------------------------------------------------- 1 | # TODO 2 | 3 | - Refactor 4 | - 整理成软渲染库和 sample 5 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson32_VariousThreadedInterpreter/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson33_VariousThreadedInterpreter2/pch.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/1_Simple/main.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | int main() { 4 | } 5 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/i_vm1: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | ./compiler $* | ./VM1/main 4 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/i_vm2: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | ./compiler $* | ./VM2/main 4 | -------------------------------------------------------------------------------- /C++/光线追踪/Light.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Light.h -------------------------------------------------------------------------------- /C++/光线追踪/Mesh.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Mesh.h -------------------------------------------------------------------------------- /C++/光线追踪/Util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Util.h -------------------------------------------------------------------------------- /C++/软件渲染/Light.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Light.h -------------------------------------------------------------------------------- /C++/软件渲染/Mesh.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Mesh.h -------------------------------------------------------------------------------- /C++/软件渲染/Util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Util.h -------------------------------------------------------------------------------- /JavaScript/SchemeInterpreter/1_Simple/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | node main.js $* 4 | -------------------------------------------------------------------------------- /Lua/24点/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/24点/test.lua -------------------------------------------------------------------------------- /Lua/SchemeInterpreter/1_Simple/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | cat script.rkt | lua main.lua 3 | -------------------------------------------------------------------------------- /Lua/SchemeInterpreter/3_Simple2/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | lua main.lua 4 | -------------------------------------------------------------------------------- /Lua/全排列/scan.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/全排列/scan.lua -------------------------------------------------------------------------------- /Lua/计算器/scan.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/计算器/scan.lua -------------------------------------------------------------------------------- /Python/SchemeInterpreter/4_CPS/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | python main.py 4 | -------------------------------------------------------------------------------- /Web/FileBrowser/runServer.bat: -------------------------------------------------------------------------------- 1 | php -S 0.0.0.0:8000 -dextension=ext\php_fileinfo.dll 2 | -------------------------------------------------------------------------------- /C++/Codec/src/Main.cpp: -------------------------------------------------------------------------------- 1 | #include "Test.h" 2 | 3 | int main() 4 | { 5 | Test(); 6 | } -------------------------------------------------------------------------------- /C++/MemChk/说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/说明.txt -------------------------------------------------------------------------------- /C++/光线追踪/Light.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Light.cpp -------------------------------------------------------------------------------- /C++/光线追踪/Matrix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Matrix.h -------------------------------------------------------------------------------- /C++/光线追踪/Mesh.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Mesh.cpp -------------------------------------------------------------------------------- /C++/光线追踪/模型和场景.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/模型和场景.rar -------------------------------------------------------------------------------- /C++/软件渲染/Light.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Light.cpp -------------------------------------------------------------------------------- /C++/软件渲染/Matrix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Matrix.h -------------------------------------------------------------------------------- /C++/软件渲染/Mesh.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Mesh.cpp -------------------------------------------------------------------------------- /C++/软件渲染/模型和场景.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/模型和场景.rar -------------------------------------------------------------------------------- /Haskell/ProjectEuler/05.hs: -------------------------------------------------------------------------------- 1 | 2 | main = print output 3 | 4 | output = foldl1 lcm [1..20] 5 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/07.hs: -------------------------------------------------------------------------------- 1 | import Utils 2 | 3 | main = print $ Utils.primes !! 10000 4 | -------------------------------------------------------------------------------- /Lua/全排列/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/全排列/readme.txt -------------------------------------------------------------------------------- /Lua/各种快排序/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/各种快排序/test.lua -------------------------------------------------------------------------------- /Lua/漫画分册/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/漫画分册/test.lua -------------------------------------------------------------------------------- /Lua/行计数器/scan.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/行计数器/scan.lua -------------------------------------------------------------------------------- /Lua/行计数器/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/行计数器/test.lua -------------------------------------------------------------------------------- /Lua/词法分析/Util.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/词法分析/Util.lua -------------------------------------------------------------------------------- /Lua/词法分析/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/词法分析/test.lua -------------------------------------------------------------------------------- /Python/SchemeInterpreter/2_Simple/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | python main.py 4 | -------------------------------------------------------------------------------- /Python/SchemeInterpreter/5_OptimalCPS/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | python main.py 4 | -------------------------------------------------------------------------------- /Python/UITest/Windows/build.bat: -------------------------------------------------------------------------------- 1 | rm -rf build dist 2 | python setup.py py2exe 3 | pause 4 | -------------------------------------------------------------------------------- /Python/背单词/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/背单词/test.py -------------------------------------------------------------------------------- /C++/Codec/src/Test.h: -------------------------------------------------------------------------------- 1 | #ifndef TEST_H 2 | #define TEST_H 3 | 4 | void Test(); 5 | 6 | #endif -------------------------------------------------------------------------------- /C++/HashLib/createBigFile.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | dd if=/dev/zero of=bigFile bs=1M count=$1 4 | -------------------------------------------------------------------------------- /C++/MemChk2/APIHook.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/APIHook.h -------------------------------------------------------------------------------- /C++/MemChk2/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/stdafx.h -------------------------------------------------------------------------------- /C++/MemChk2/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/test.cpp -------------------------------------------------------------------------------- /C++/MemChk2/test.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/test.suo -------------------------------------------------------------------------------- /C++/TCPSocket/.clang_complete: -------------------------------------------------------------------------------- 1 | -I/usr/include/i386-linux-gnu/c++/4.8/ 2 | -I. 3 | -std=c++11 4 | -------------------------------------------------------------------------------- /C++/TestUtil/Util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/TestUtil/Util.h -------------------------------------------------------------------------------- /C++/光线追踪/Camera.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Camera.cpp -------------------------------------------------------------------------------- /C++/光线追踪/Geometry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Geometry.cpp -------------------------------------------------------------------------------- /C++/光线追踪/Geometry.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Geometry.h -------------------------------------------------------------------------------- /C++/光线追踪/Material.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Material.h -------------------------------------------------------------------------------- /C++/光线追踪/Renderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Renderer.cpp -------------------------------------------------------------------------------- /C++/光线追踪/Sampler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Sampler.cpp -------------------------------------------------------------------------------- /C++/光线追踪/SceneObj.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/SceneObj.cpp -------------------------------------------------------------------------------- /C++/光线追踪/SceneObj.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/SceneObj.h -------------------------------------------------------------------------------- /C++/台球/Test/Test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/台球/Test/Test.cpp -------------------------------------------------------------------------------- /C++/台球/Test/Test.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/台球/Test/Test.suo -------------------------------------------------------------------------------- /C++/台球/Test/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/台球/Test/stdafx.h -------------------------------------------------------------------------------- /C++/软件渲染/Geometry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Geometry.cpp -------------------------------------------------------------------------------- /C++/软件渲染/Geometry.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Geometry.h -------------------------------------------------------------------------------- /C++/软件渲染/Rasterizer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Rasterizer.h -------------------------------------------------------------------------------- /C++/软件渲染/Renderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Renderer.cpp -------------------------------------------------------------------------------- /C++/软件渲染/Sampler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Sampler.cpp -------------------------------------------------------------------------------- /C++/软件渲染/SceneObj.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/SceneObj.cpp -------------------------------------------------------------------------------- /C++/软件渲染/SceneObj.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/SceneObj.h -------------------------------------------------------------------------------- /CSAPP/3_Bomb_Lab/bomb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/CSAPP/3_Bomb_Lab/bomb -------------------------------------------------------------------------------- /Lisp/CPSTransform/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | sed -s "/^#lang/d" | racket main.rkt 4 | -------------------------------------------------------------------------------- /Lisp/CPSTransform2/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | sed -s "/^#lang/d" | racket main.rkt 4 | -------------------------------------------------------------------------------- /Lisp/SchemeInterpreter/2_CPSInterpreter/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | racket interpreter.rkt $* 4 | -------------------------------------------------------------------------------- /Lisp/SchemeInterpreter/3_VCPSInterpreter/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | racket interpreter.rkt $* 4 | -------------------------------------------------------------------------------- /Lua/SchemeInterpreter/2_LambdaCalculus/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | cat script.rkt | lua main.lua 3 | -------------------------------------------------------------------------------- /Lua/TestUtil/scan.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/TestUtil/scan.lua -------------------------------------------------------------------------------- /Lua/lzw压缩解压缩/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/lzw压缩解压缩/test.lua -------------------------------------------------------------------------------- /Lua/nba技术统计/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/nba技术统计/test.lua -------------------------------------------------------------------------------- /Lua/tags文件瘦身/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/tags文件瘦身/test.lua -------------------------------------------------------------------------------- /Lua/漫画下载工具/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/漫画下载工具/test.lua -------------------------------------------------------------------------------- /Lua/简单光线追踪/Lua1.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/简单光线追踪/Lua1.lua -------------------------------------------------------------------------------- /Lua/行计数器/dropCpp.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/行计数器/dropCpp.bat -------------------------------------------------------------------------------- /Lua/计算器/dropCpp.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/计算器/dropCpp.bat -------------------------------------------------------------------------------- /Lua/词法分析/dropCpp.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/词法分析/dropCpp.bat -------------------------------------------------------------------------------- /Misc/readline_config/_inputrc: -------------------------------------------------------------------------------- 1 | set editing-mode vi 2 | set keymap vi 3 | set convert-meta off 4 | -------------------------------------------------------------------------------- /Python/Ping/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/Ping/test.py -------------------------------------------------------------------------------- /Python/lzw压缩/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/lzw压缩/main.py -------------------------------------------------------------------------------- /Python/俄罗斯方块/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/俄罗斯方块/main.py -------------------------------------------------------------------------------- /Python/文件头添加/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/文件头添加/test.py -------------------------------------------------------------------------------- /Python/百度过滤搜索/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/百度过滤搜索/test.py -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/03_UpgradeWeaponCfgXls/05.bat: -------------------------------------------------------------------------------- 1 | ..\..\Bin\Release\JsonMerge.exe 05.json 2 | -------------------------------------------------------------------------------- /C++/2010DemoTools/Any.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Any.h -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson22_LLVMCMinus/README: -------------------------------------------------------------------------------- 1 | TODO: 2 | # Windows support 3 | # memory leaks 4 | -------------------------------------------------------------------------------- /C++/CryptoAlgo/createBigFile.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | dd if=/dev/zero of=bigFile bs=1M count=$1 4 | -------------------------------------------------------------------------------- /C++/Md5/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Md5/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/MemChk2/APIHook.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/APIHook.cpp -------------------------------------------------------------------------------- /C++/MemChk2/FuncHook.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/FuncHook.h -------------------------------------------------------------------------------- /C++/MemChk2/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/ReadMe.txt -------------------------------------------------------------------------------- /C++/MemChk2/ScanUtil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/ScanUtil.h -------------------------------------------------------------------------------- /C++/MemChk2/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/stdafx.cpp -------------------------------------------------------------------------------- /C++/MemChk2/test.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/test.vcproj -------------------------------------------------------------------------------- /C++/Rle/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Rle/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM1/GeneratedCode.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | #include "parser.yy.dummy" 3 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM2/GeneratedCode.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | #include "parser.yy.dummy" 3 | -------------------------------------------------------------------------------- /C++/光线追踪/MeshBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/MeshBuilder.h -------------------------------------------------------------------------------- /C++/光线追踪/Traceable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Traceable.cpp -------------------------------------------------------------------------------- /C++/台球/Test/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/台球/Test/ReadMe.txt -------------------------------------------------------------------------------- /C++/台球/Test/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/台球/Test/stdafx.cpp -------------------------------------------------------------------------------- /C++/后缀表达式/Test05/Util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/后缀表达式/Test05/Util.h -------------------------------------------------------------------------------- /C++/数独/Console/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/数独/Console/stdafx.h -------------------------------------------------------------------------------- /C++/表达式绘制器/Console.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/表达式绘制器/Console.cpp -------------------------------------------------------------------------------- /C++/软件渲染/Rasterizer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Rasterizer.cpp -------------------------------------------------------------------------------- /Lisp/Continuation/via_coroutine/coroutine.lua: -------------------------------------------------------------------------------- 1 | -- builtin 2 | -- coroutine.wrap, coroutine.yield 3 | -------------------------------------------------------------------------------- /Lisp/LibraryFormExpander/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | racket main.rkt | sed -e "s/^'//1" 4 | -------------------------------------------------------------------------------- /Python/DLL拷贝工具/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/DLL拷贝工具/test.py -------------------------------------------------------------------------------- /Python/SchemeInterpreter/1_SExpressionDriven/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | python main.py 4 | -------------------------------------------------------------------------------- /Python/SchemeInterpreter/3_UnifiedCodeAndData/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | python main.py 4 | -------------------------------------------------------------------------------- /Python/TestUtil/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/TestUtil/util.py -------------------------------------------------------------------------------- /Python/漫画html生成/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/漫画html生成/test.py -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/02_UpgradeLocalizationJson/01.bat: -------------------------------------------------------------------------------- 1 | ..\..\Bin\Release\Json2Excel.exe 01.json 2 | -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/02_UpgradeLocalizationJson/03.bat: -------------------------------------------------------------------------------- 1 | ..\..\Bin\Release\Json2Excel.exe 03.json 2 | -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/02_UpgradeLocalizationJson/04.bat: -------------------------------------------------------------------------------- 1 | ..\..\Bin\Release\JsonMerge.exe 04.json 2 | -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/03_UpgradeWeaponCfgXls/04.bat: -------------------------------------------------------------------------------- 1 | ..\..\Bin\Release\Json2Excel.exe 04.json 2 | -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/03_UpgradeWeaponCfgXls/06.bat: -------------------------------------------------------------------------------- 1 | ..\..\Bin\Release\Json2Excel.exe 06.json 2 | -------------------------------------------------------------------------------- /C#/卸载工具/CSharp08/Icon.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/卸载工具/CSharp08/Icon.7z -------------------------------------------------------------------------------- /C++/2010DemoTools/Math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Math.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Timer.h -------------------------------------------------------------------------------- /C++/AStar/Console/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar/Console/stdafx.h -------------------------------------------------------------------------------- /C++/Base64/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Base64/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/CompressionAlgo/createBigFile.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | dd if=/dev/zero of=bigFile bs=1M count=$1 4 | -------------------------------------------------------------------------------- /C++/GetHostByName/Test13.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/GetHostByName/Test13.c -------------------------------------------------------------------------------- /C++/Gobang/Gobang/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/Gobang/stdafx.h -------------------------------------------------------------------------------- /C++/Md5/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Md5/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/Md5/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Md5/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/Md5/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Md5/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/MemChk/test03/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/test03/stdafx.h -------------------------------------------------------------------------------- /C++/MemChk2/ObjTrace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/ObjTrace.cpp -------------------------------------------------------------------------------- /C++/Rle/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Rle/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/Rle/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Rle/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/Rle/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Rle/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/ScanFFT/Benchmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/ScanFFT/Benchmark.png -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/interpreter: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | ./compiler $* | racket interpreter.rkt 4 | -------------------------------------------------------------------------------- /C++/TreeDumper/pch.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef PCH_H 3 | #define PCH_H 4 | 5 | #include 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /C++/lz77/Test05/CopyBits.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/lz77/Test05/CopyBits.h -------------------------------------------------------------------------------- /C++/lz77/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/lz77/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/lz77/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/lz77/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/lz77/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/lz77/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/lz77/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/lz77/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/光线追踪/Apps/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Apps/readme.txt -------------------------------------------------------------------------------- /C++/光线追踪/MeshBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/MeshBuilder.cpp -------------------------------------------------------------------------------- /C++/光线追踪/SceneManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/SceneManager.cpp -------------------------------------------------------------------------------- /C++/光线追踪/TriGeometry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/TriGeometry.cpp -------------------------------------------------------------------------------- /C++/内存搜索修改/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/内存搜索修改/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/台球/Test/SoundWorld.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/台球/Test/SoundWorld.cpp -------------------------------------------------------------------------------- /C++/后缀表达式/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/后缀表达式/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/推箱子/Console/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/ReadMe.txt -------------------------------------------------------------------------------- /C++/推箱子/Console/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/stdafx.cpp -------------------------------------------------------------------------------- /C++/推箱子/Console/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/stdafx.h -------------------------------------------------------------------------------- /C++/数独/Console/Console.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/数独/Console/Console.cpp -------------------------------------------------------------------------------- /C++/数独/Console/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/数独/Console/ReadMe.txt -------------------------------------------------------------------------------- /C++/数独/Console/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/数独/Console/stdafx.cpp -------------------------------------------------------------------------------- /F#/Algorithms/Data/FN.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/F#/Algorithms/Data/FN.rar -------------------------------------------------------------------------------- /F#/Algorithms/Data/MST.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/F#/Algorithms/Data/MST.rar -------------------------------------------------------------------------------- /Lisp/99Problems/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lisp/99Problems/index.html -------------------------------------------------------------------------------- /Lua/VCTempCleaner/Util.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/VCTempCleaner/Util.lua -------------------------------------------------------------------------------- /Lua/lzw压缩解压缩/dropCpp.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/lzw压缩解压缩/dropCpp.bat -------------------------------------------------------------------------------- /Lua/nba技术统计/nba_mysql.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/nba技术统计/nba_mysql.lua -------------------------------------------------------------------------------- /Lua/全排列/scan/lfs_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/全排列/scan/lfs_ext.lua -------------------------------------------------------------------------------- /Lua/全排列/scan/table_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/全排列/scan/table_ext.lua -------------------------------------------------------------------------------- /Lua/行计数器/scan/lfs_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/行计数器/scan/lfs_ext.lua -------------------------------------------------------------------------------- /Lua/计算器/scan/lfs_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/计算器/scan/lfs_ext.lua -------------------------------------------------------------------------------- /Lua/计算器/scan/table_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/计算器/scan/table_ext.lua -------------------------------------------------------------------------------- /Python/CompilerStudy/Lesson4_LLVMCMinus/README: -------------------------------------------------------------------------------- 1 | TODO: 2 | # Windows support 3 | # memory leaks 4 | -------------------------------------------------------------------------------- /Python/Python脚本调度/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/Python脚本调度/test.py -------------------------------------------------------------------------------- /Python/SchemeInterpreter/6_CPSTransformInterpreter/dsi: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | python main.py 4 | -------------------------------------------------------------------------------- /Python/图片提取_错看漫画网/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/图片提取_错看漫画网/test.py -------------------------------------------------------------------------------- /Scala/Compiler/src/test/drafts/Main.scala: -------------------------------------------------------------------------------- 1 | package test.drafts 2 | 3 | object Main extends App { 4 | } 5 | -------------------------------------------------------------------------------- /Web/WorldCharts/data.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Web/WorldCharts/data.rar -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/02_UpgradeLocalizationJson/05.bat: -------------------------------------------------------------------------------- 1 | ..\..\Bin\Release\LiteralReplace.exe 05.json 2 | -------------------------------------------------------------------------------- /C++/2010DemoTools/Delegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Delegate.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Factory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Factory.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Message.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Message.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Profile.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Profile.h -------------------------------------------------------------------------------- /C++/2010DemoTools/ScanUtil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/ScanUtil.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Timer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Timer.cpp -------------------------------------------------------------------------------- /C++/2010DemoTools/Utility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Utility.h -------------------------------------------------------------------------------- /C++/AStar/Console/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar/Console/ReadMe.txt -------------------------------------------------------------------------------- /C++/AStar/Console/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar/Console/stdafx.cpp -------------------------------------------------------------------------------- /C++/AStar2/Console/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar2/Console/stdafx.h -------------------------------------------------------------------------------- /C++/Base64/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Base64/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/Base64/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Base64/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/Base64/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Base64/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/COSGame/COSGame/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSGame/stdafx.h -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson33_VariousThreadedInterpreter2/README: -------------------------------------------------------------------------------- 1 | TODO list: 2 | sb - jit 3 | rb - jit 4 | -------------------------------------------------------------------------------- /C++/Gobang/Gobang/Gobang.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/Gobang/Gobang.cpp -------------------------------------------------------------------------------- /C++/Gobang/Gobang/IPlayer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/Gobang/IPlayer.h -------------------------------------------------------------------------------- /C++/Gobang/Gobang/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/Gobang/ReadMe.txt -------------------------------------------------------------------------------- /C++/Gobang/Gobang/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/Gobang/stdafx.cpp -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/stdafx.h -------------------------------------------------------------------------------- /C++/IOCP拷贝文件/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/IOCP拷贝文件/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/Md5/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Md5/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/MemChk/test03/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/test03/ReadMe.txt -------------------------------------------------------------------------------- /C++/MemChk/test03/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/test03/stdafx.cpp -------------------------------------------------------------------------------- /C++/MemChk/test03/test03.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/test03/test03.cpp -------------------------------------------------------------------------------- /C++/Rle/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Rle/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/compiler: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | racket compiler.rkt | sed -e "s/^'//1" 4 | -------------------------------------------------------------------------------- /C++/SearchFile/Test05/Util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SearchFile/Test05/Util.h -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpLib/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpLib/stdafx.h -------------------------------------------------------------------------------- /C++/光线追踪/Apps/Frame_GLUT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/Apps/Frame_GLUT.cpp -------------------------------------------------------------------------------- /C++/内存搜索修改/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/内存搜索修改/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/内存搜索修改/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/内存搜索修改/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/内存搜索修改/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/内存搜索修改/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/台球/Bin/media_billiard.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/台球/Bin/media_billiard.7z -------------------------------------------------------------------------------- /C++/台球/Test/PhysicsWorld.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/台球/Test/PhysicsWorld.cpp -------------------------------------------------------------------------------- /C++/同城游服装查看/Console/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/同城游服装查看/Console/stdafx.h -------------------------------------------------------------------------------- /C++/后缀表达式/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/后缀表达式/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/后缀表达式/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/后缀表达式/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/后缀表达式/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/后缀表达式/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/推箱子/Console/Console.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/Console.cpp -------------------------------------------------------------------------------- /C++/推箱子/Console/images/墙.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/images/墙.jpg -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/Vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/Vector.h -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/stdafx.h -------------------------------------------------------------------------------- /C++/软件渲染/Apps/Frame_GLUT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/软件渲染/Apps/Frame_GLUT.cpp -------------------------------------------------------------------------------- /Lisp/SchemeInterpreter/4_LambdaCalculus/dsi: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | racket directStyleInterpreter.rkt 4 | -------------------------------------------------------------------------------- /Lisp/SchemeInterpreter/5_NormalOrder/main: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat scripts/library.rkt $* | racket main.rkt 4 | -------------------------------------------------------------------------------- /Lua/QtMocHelper/dropCpp.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/QtMocHelper/dropCpp.bat -------------------------------------------------------------------------------- /Lua/nba技术统计/nba_network.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/nba技术统计/nba_network.lua -------------------------------------------------------------------------------- /Lua/全排列/scan/string_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/全排列/scan/string_ext.lua -------------------------------------------------------------------------------- /Lua/行计数器/scan/string_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/行计数器/scan/string_ext.lua -------------------------------------------------------------------------------- /Lua/行计数器/scan/table_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/行计数器/scan/table_ext.lua -------------------------------------------------------------------------------- /Lua/计算器/scan/string_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/计算器/scan/string_ext.lua -------------------------------------------------------------------------------- /Web/WorldCharts_php/data.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Web/WorldCharts_php/data.rar -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/01_ReplaceStringLiterals/Localization.cs: -------------------------------------------------------------------------------- 1 | public static class Localization 2 | { 3 | } -------------------------------------------------------------------------------- /C#/垃圾文件清理/CSharp08/exeIcon.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/垃圾文件清理/CSharp08/exeIcon.rar -------------------------------------------------------------------------------- /C++/2010DemoTools/Algorithms.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Algorithms.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Delegate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Delegate.cpp -------------------------------------------------------------------------------- /C++/2010DemoTools/Exception.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Exception.h -------------------------------------------------------------------------------- /C++/2010DemoTools/FileUtility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/FileUtility.h -------------------------------------------------------------------------------- /C++/2010DemoTools/MemoryCheck.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/MemoryCheck.h -------------------------------------------------------------------------------- /C++/2010DemoTools/MetaProgram.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/MetaProgram.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Profile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Profile.cpp -------------------------------------------------------------------------------- /C++/2010DemoTools/PropertySet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/PropertySet.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Serialize.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Serialize.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Singleton.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Singleton.h -------------------------------------------------------------------------------- /C++/AStar/Console/Console.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar/Console/Console.cpp -------------------------------------------------------------------------------- /C++/AStar2/Console/AstarAlgo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar2/Console/AstarAlgo.h -------------------------------------------------------------------------------- /C++/AStar2/Console/Console.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar2/Console/Console.cpp -------------------------------------------------------------------------------- /C++/AStar2/Console/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar2/Console/ReadMe.txt -------------------------------------------------------------------------------- /C++/AStar2/Console/min_heap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar2/Console/min_heap.h -------------------------------------------------------------------------------- /C++/AStar2/Console/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar2/Console/stdafx.cpp -------------------------------------------------------------------------------- /C++/Base64/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Base64/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/COSGame/COSGame/COSGame.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSGame/COSGame.cpp -------------------------------------------------------------------------------- /C++/COSGame/COSGame/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSGame/ReadMe.txt -------------------------------------------------------------------------------- /C++/COSGame/COSGame/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSGame/stdafx.cpp -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson18_Lua1/GeneratedCode.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | #include "lex.c" 4 | #include "yacc.c" 5 | -------------------------------------------------------------------------------- /C++/Fractal/rect.vert: -------------------------------------------------------------------------------- 1 | void main() 2 | { 3 | gl_Position = gl_ProjectionMatrix * gl_ModelViewMatrix * gl_Vertex; 4 | } -------------------------------------------------------------------------------- /C++/Gobang/Gobang/Gobang.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/Gobang/Gobang.vcproj -------------------------------------------------------------------------------- /C++/Gobang/Gobang/IPlayer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/Gobang/IPlayer.cpp -------------------------------------------------------------------------------- /C++/Gobang/Gobang/Level1Ex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/Gobang/Level1Ex.cpp -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/GobangUI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/GobangUI.h -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/GobangUI.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/GobangUI.rc -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/ReadMe.txt -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/stdafx.cpp -------------------------------------------------------------------------------- /C++/IOCP拷贝文件/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/IOCP拷贝文件/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/IOCP拷贝文件/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/IOCP拷贝文件/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/IOCP拷贝文件/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/IOCP拷贝文件/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/LineCounter/Addin_LineCounter/Addin_LineCounter.rc: -------------------------------------------------------------------------------- 1 | IDI_ICON1 ICON DISCARDABLE "Addin_LineCounter.ico" 2 | 3 | -------------------------------------------------------------------------------- /C++/MemChk/hookDll03/FuncHook.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/hookDll03/FuncHook.h -------------------------------------------------------------------------------- /C++/MemChk/hookDll03/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/hookDll03/ReadMe.txt -------------------------------------------------------------------------------- /C++/MemChk/hookDll03/ScanUtil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/hookDll03/ScanUtil.h -------------------------------------------------------------------------------- /C++/MemChk/hookDll03/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/hookDll03/stdafx.cpp -------------------------------------------------------------------------------- /C++/MemChk/hookDll03/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/hookDll03/stdafx.h -------------------------------------------------------------------------------- /C++/MemChk/test03/test03.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/test03/test03.vcproj -------------------------------------------------------------------------------- /C++/RegexTest/Console/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/RegexTest/Console/stdafx.h -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM1/.clang_complete: -------------------------------------------------------------------------------- 1 | -I/usr/include/i386-linux-gnu/c++/4.8/ 2 | -I. 3 | -std=c++11 4 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM2/.clang_complete: -------------------------------------------------------------------------------- 1 | -I/usr/include/i386-linux-gnu/c++/4.8/ 2 | -I. 3 | -std=c++11 4 | -------------------------------------------------------------------------------- /C++/SearchFile/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SearchFile/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpLib/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpLib/ReadMe.txt -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpLib/SmtpLib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpLib/SmtpLib.cpp -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpLib/base64.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpLib/base64.cpp -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpLib/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpLib/stdafx.cpp -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpTest/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpTest/ReadMe.txt -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpTest/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpTest/stdafx.cpp -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpTest/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpTest/stdafx.h -------------------------------------------------------------------------------- /C++/Sunday搜索算法/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Sunday搜索算法/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/Trie/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | -------------------------------------------------------------------------------- /C++/lz77/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/lz77/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/内存搜索修改/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/内存搜索修改/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/台球/Test/Graphics3DWorld.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/台球/Test/Graphics3DWorld.cpp -------------------------------------------------------------------------------- /C++/同城游服装查看/Console/Console.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/同城游服装查看/Console/Console.cpp -------------------------------------------------------------------------------- /C++/同城游服装查看/Console/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/同城游服装查看/Console/ReadMe.txt -------------------------------------------------------------------------------- /C++/同城游服装查看/Console/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/同城游服装查看/Console/stdafx.cpp -------------------------------------------------------------------------------- /C++/后缀表达式/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/后缀表达式/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/推箱子/Console/images/平地.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/images/平地.jpg -------------------------------------------------------------------------------- /C++/推箱子/Console/images/玩家.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/images/玩家.jpg -------------------------------------------------------------------------------- /C++/推箱子/Console/images/目标.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/images/目标.jpg -------------------------------------------------------------------------------- /C++/推箱子/Console/images/目标箱子.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/images/目标箱子.jpg -------------------------------------------------------------------------------- /C++/推箱子/Console/images/箱子.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/images/箱子.jpg -------------------------------------------------------------------------------- /C++/数独/Console/Console.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/数独/Console/Console.vcproj -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/MazeDemo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/MazeDemo.h -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/MazeDemo.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/MazeDemo.rc -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/ReadMe.txt -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/TypeDef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/TypeDef.h -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/stdafx.cpp -------------------------------------------------------------------------------- /CSAPP/2/1_FloatLimits/makefile: -------------------------------------------------------------------------------- 1 | 2 | build: 3 | g++ -Wall main.cpp -std=c++11 -o main 4 | clean: 5 | rm -f main 6 | -------------------------------------------------------------------------------- /CSAPP/3_Buffer_Lab/bufbomb.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/CSAPP/3_Buffer_Lab/bufbomb.tar -------------------------------------------------------------------------------- /Haskell/ProjectEuler/10.hs: -------------------------------------------------------------------------------- 1 | import Data.Numbers.Primes 2 | 3 | main = print $ sum $ takeWhile (< 2000000) primes 4 | -------------------------------------------------------------------------------- /Lua/QtMocHelper/MocHelper.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/QtMocHelper/MocHelper.lua -------------------------------------------------------------------------------- /Lua/TestUtil/scan/lfs_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/TestUtil/scan/lfs_ext.lua -------------------------------------------------------------------------------- /Lua/TestUtil/scan/table_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/TestUtil/scan/table_ext.lua -------------------------------------------------------------------------------- /Lua/VCTempCleaner/dropCpp.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/VCTempCleaner/dropCpp.bat -------------------------------------------------------------------------------- /Misc/vim_config/Windows/_vimrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Misc/vim_config/Windows/_vimrc -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/01_ReplaceStringLiterals/Replace.bat: -------------------------------------------------------------------------------- 1 | ..\..\Bin\Release\LiteralReplace.exe Replace.json 2 | -------------------------------------------------------------------------------- /C++/2010DemoTools/DataStructure.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/DataStructure.h -------------------------------------------------------------------------------- /C++/2010DemoTools/EnumStringize.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/EnumStringize.h -------------------------------------------------------------------------------- /C++/2010DemoTools/Preprocessor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/Preprocessor.h -------------------------------------------------------------------------------- /C++/2010DemoTools/SerializeFile.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/SerializeFile.h -------------------------------------------------------------------------------- /C++/2010DemoTools/StringUtility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/StringUtility.h -------------------------------------------------------------------------------- /C++/AStar/Console/Console.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar/Console/Console.vcproj -------------------------------------------------------------------------------- /C++/AStar2/Console/Console.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar2/Console/Console.vcproj -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/stdafx.h -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson9_JSONParser/1.txt: -------------------------------------------------------------------------------- 1 | 2 | { 3 | 1 :2, 4 | '3': [1, 2, 3], 5 | [1,2] : {'4':5, '6':7} 6 | } 7 | -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/DlgGobangUI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/DlgGobangUI.h -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/GobangUI.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/GobangUI.aps -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/GobangUI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/GobangUI.cpp -------------------------------------------------------------------------------- /C++/HuffmanCodec/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/HuffmanCodec/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/IOCP拷贝文件/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/IOCP拷贝文件/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/LeetCode/192_WordFrequency.cpp: -------------------------------------------------------------------------------- 1 | grep -o '[[:alpha:]]*' words.txt | sort | uniq -c | sort -n -r | awk '{print $2, $1}' -------------------------------------------------------------------------------- /C++/MemChk/hookDll03/APIHook.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/hookDll03/APIHook.cpp -------------------------------------------------------------------------------- /C++/MemChk2/CrtAllocationHook.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk2/CrtAllocationHook.cpp -------------------------------------------------------------------------------- /C++/MyShell/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | -------------------------------------------------------------------------------- /C++/RegexTest/Console/Console.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/RegexTest/Console/Console.cpp -------------------------------------------------------------------------------- /C++/RegexTest/Console/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/RegexTest/Console/ReadMe.txt -------------------------------------------------------------------------------- /C++/RegexTest/Console/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/RegexTest/Console/stdafx.cpp -------------------------------------------------------------------------------- /C++/SchemeInterpreter/3_CompilingByteCode/.clang_complete: -------------------------------------------------------------------------------- 1 | -I/usr/include/i386-linux-gnu/c++/4.8/ 2 | -I. 3 | -std=c++11 4 | -------------------------------------------------------------------------------- /C++/SearchFile/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SearchFile/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/SearchFile/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SearchFile/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/SearchFile/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SearchFile/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpTest/SmtpTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpTest/SmtpTest.cpp -------------------------------------------------------------------------------- /C++/Sunday搜索算法/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Sunday搜索算法/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/Sunday搜索算法/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Sunday搜索算法/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/Sunday搜索算法/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Sunday搜索算法/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/Windows进程内存查看/Test05/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Windows进程内存查看/Test05/stdafx.h -------------------------------------------------------------------------------- /C++/lz77/Test05/Test_CopyBits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/lz77/Test05/Test_CopyBits.cpp -------------------------------------------------------------------------------- /C++/mmapOfPosix/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | -------------------------------------------------------------------------------- /C++/推箱子/Console/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/images/Thumbs.db -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/MazeDemo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/MazeDemo.cpp -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/MazeDemoDlg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/MazeDemoDlg.h -------------------------------------------------------------------------------- /Haskell/ProjectEuler/01.hs: -------------------------------------------------------------------------------- 1 | main = print output 2 | 3 | output = sum [v|v<-[3..999],v `mod` 3 == 0 || v `mod` 5 == 0] 4 | -------------------------------------------------------------------------------- /Lua/TestUtil/scan/string_ext.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/TestUtil/scan/string_ext.lua -------------------------------------------------------------------------------- /Lua/nba技术统计/html2xml/html2xml.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/nba技术统计/html2xml/html2xml.rar -------------------------------------------------------------------------------- /SICP/chapter_2/24.scm: -------------------------------------------------------------------------------- 1 | #lang racket 2 | (require racket/pretty) 3 | 4 | (pretty-print (list 1 (list 2 (list 3 4)))) 5 | -------------------------------------------------------------------------------- /C++/2010DemoTools/MemoryAllocation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/MemoryAllocation.h -------------------------------------------------------------------------------- /C++/2010DemoTools/PlatformDepends.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/PlatformDepends.h -------------------------------------------------------------------------------- /C++/2010DemoTools/SerializeFile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/SerializeFile.cpp -------------------------------------------------------------------------------- /C++/2010DemoTools/SerializeSimple.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/SerializeSimple.h -------------------------------------------------------------------------------- /C++/2010DemoTools/StringUtility.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/StringUtility.cpp -------------------------------------------------------------------------------- /C++/AStar2/Console/ordered_vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/AStar2/Console/ordered_vector.h -------------------------------------------------------------------------------- /C++/AutoReleasePool/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | -------------------------------------------------------------------------------- /C++/COSGame/COSGame/COSGame.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSGame/COSGame.vcproj -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/ReadMe.txt -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/stdafx.cpp -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson15_MyYacc/makefile_var: -------------------------------------------------------------------------------- 1 | build_dll=0 2 | macro_defs= 3 | include_dirs= 4 | lib_dirs= 5 | lib_files= 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson23_NASMCMinus/README: -------------------------------------------------------------------------------- 1 | TODO: 2 | # AST optimize: ershov number 3 | # remove redundant jit code 4 | -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/DlgGobangUI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/DlgGobangUI.cpp -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/GobangUI.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/GobangUI.vcproj -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/res/GobangUI.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/res/GobangUI.ico -------------------------------------------------------------------------------- /C++/Gobang/GobangUI/res/GobangUI.rc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/GobangUI/res/GobangUI.rc2 -------------------------------------------------------------------------------- /C++/HuffmanCodec/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/HuffmanCodec/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/HuffmanCodec/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/HuffmanCodec/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/HuffmanCodec/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/HuffmanCodec/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/MemChk/hookDll03/hookDll03.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/hookDll03/hookDll03.cpp -------------------------------------------------------------------------------- /C++/RandomStrGen/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=0 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | -------------------------------------------------------------------------------- /C++/RegexTest/Console/Console.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/RegexTest/Console/Console.vcproj -------------------------------------------------------------------------------- /C++/SearchFile/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SearchFile/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpLib/SmtpLib.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpLib/SmtpLib.vcproj -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpTest/SmtpTest.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpTest/SmtpTest.vcproj -------------------------------------------------------------------------------- /C++/Sunday搜索算法/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Sunday搜索算法/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/Windows进程内存查看/Test05/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Windows进程内存查看/Test05/ReadMe.txt -------------------------------------------------------------------------------- /C++/Windows进程内存查看/Test05/Test05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Windows进程内存查看/Test05/Test05.cpp -------------------------------------------------------------------------------- /C++/Windows进程内存查看/Test05/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Windows进程内存查看/Test05/stdafx.cpp -------------------------------------------------------------------------------- /C++/同城游服装查看/Console/Console.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/同城游服装查看/Console/Console.vcproj -------------------------------------------------------------------------------- /C++/推箱子/Console/TXZFindPathAlgo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/推箱子/Console/TXZFindPathAlgo.cpp -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/MazeDemo.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/MazeDemo.vcproj -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/MazeDemoDlg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/MazeDemoDlg.cpp -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/res/MazeDemo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/res/MazeDemo.ico -------------------------------------------------------------------------------- /C++/自动迷宫生成/MazeDemo/res/MazeDemo.rc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/自动迷宫生成/MazeDemo/res/MazeDemo.rc2 -------------------------------------------------------------------------------- /CSAPP/3_Bomb_Lab/input.txt: -------------------------------------------------------------------------------- 1 | Public speaking is very easy. 2 | 1 2 6 24 120 720 3 | 0 q 777 4 | 9 5 | opekma 6 | 4 2 6 3 1 5 7 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/03.hs: -------------------------------------------------------------------------------- 1 | import Utils 2 | 3 | main = print output 4 | 5 | output = last $Utils.primeFactors 600851475143 6 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/20.hs: -------------------------------------------------------------------------------- 1 | main = print $ output 100 2 | 3 | output n = sum $ map (read .(:[])) $ show $ product [1..n] 4 | -------------------------------------------------------------------------------- /Lisp/SchemeInterpreter/4_LambdaCalculus/cpsi: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | cat $* | racket continuationPassingStyleInterpreter.rkt 4 | -------------------------------------------------------------------------------- /Lua/VCTempCleaner/VCTempCleaner.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/VCTempCleaner/VCTempCleaner.lua -------------------------------------------------------------------------------- /C#/TimelineRenderer/Output/History.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/TimelineRenderer/Output/History.png -------------------------------------------------------------------------------- /C#/局域网数据传输/LANFileTransfer/ExeIcon.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/局域网数据传输/LANFileTransfer/ExeIcon.rar -------------------------------------------------------------------------------- /C++/2010DemoTools/CompileEnvironment.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/CompileEnvironment.h -------------------------------------------------------------------------------- /C++/2010DemoTools/MemoryAllocation.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "MemoryAllocation.h" 3 | 4 | namespace Scan 5 | { 6 | 7 | } -------------------------------------------------------------------------------- /C++/2010DemoTools/SerializeComposite.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/SerializeComposite.h -------------------------------------------------------------------------------- /C++/2010DemoTools/SerializeContainer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/SerializeContainer.h -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/Signal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/Signal.h -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/Utility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/Utility.h -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/stdafx.h -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson11_Regexp/Regexp2/makefile_var: -------------------------------------------------------------------------------- 1 | build_dll=0 2 | macro_defs= 3 | include_dirs= 4 | lib_dirs= 5 | lib_files= 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson14_YaccJSLang/makefile_var: -------------------------------------------------------------------------------- 1 | build_dll=0 2 | macro_defs= 3 | include_dirs= 4 | lib_dirs= 5 | lib_files= 6 | -------------------------------------------------------------------------------- /C++/Gobang/Gobang/WinSetsTemplate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Gobang/Gobang/WinSetsTemplate.cpp -------------------------------------------------------------------------------- /C++/HuffmanCodec/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/HuffmanCodec/Test05/Test05.vcproj -------------------------------------------------------------------------------- /C++/MemChk/hookDll03/hookDll03.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/hookDll03/hookDll03.vcproj -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpLib/openssl-0.9.8l.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/SmtpLib/SmtpLib/openssl-0.9.8l.7z -------------------------------------------------------------------------------- /C++/Windows进程内存查看/Test05/Test05.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/Windows进程内存查看/Test05/Test05.vcproj -------------------------------------------------------------------------------- /CSAPP/3/3.39_full_umul/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | -------------------------------------------------------------------------------- /C#/TimelineRenderer/Output/Scientists.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/TimelineRenderer/Output/Scientists.png -------------------------------------------------------------------------------- /C++/2010DemoTools/MarkedDelegateQueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/MarkedDelegateQueue.h -------------------------------------------------------------------------------- /C++/ByzantineC/App/UnitTests/TestArray.c: -------------------------------------------------------------------------------- 1 | 2 | #include "UnitTest.h" 3 | 4 | by_TEST_CASE_BEGIN(testArray) 5 | 6 | by_TEST_CASE_END() 7 | -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/Property.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/Property.h -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/ReadMe.txt -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/TypeDefine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/TypeDefine.h -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/Utility.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/Utility.cpp -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/stdafx.cpp -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/COSUnitTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/COSUnitTest.cpp -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/Test_Property.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/Test_Property.cpp -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/Test_Signal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/Test_Signal.cpp -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/Test_Utility.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/Test_Utility.cpp -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson15_MyYacc/UnitTest.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef UNITTEST_H 3 | #define UNITTEST_H 4 | 5 | void unitTest(); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /C++/MemChk/hookDll03/CrtMemAllocHook.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/MemChk/hookDll03/CrtMemAllocHook.cpp -------------------------------------------------------------------------------- /C++/光线追踪/TriTraceAccelerator_KDTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/光线追踪/TriTraceAccelerator_KDTree.cpp -------------------------------------------------------------------------------- /Lua/TestUtil/ScanCFunc/ScanCFunc/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/TestUtil/ScanCFunc/ScanCFunc/stdafx.h -------------------------------------------------------------------------------- /Lua/nba技术统计/mysqldb/nba/110424161842.psc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/nba技术统计/mysqldb/nba/110424161842.psc -------------------------------------------------------------------------------- /Python/SmoothTexturedPolygon/mirrow2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Python/SmoothTexturedPolygon/mirrow2.bmp -------------------------------------------------------------------------------- /Web/OpenComic/src/static/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Web/OpenComic/src/static/img/loading.gif -------------------------------------------------------------------------------- /C#/TimelineRenderer/Output/Philosophers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/TimelineRenderer/Output/Philosophers.png -------------------------------------------------------------------------------- /C#/TimelineRenderer/Output/WorldHistory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/TimelineRenderer/Output/WorldHistory.png -------------------------------------------------------------------------------- /C++/2010DemoTools/SerializeNameValuePair.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/SerializeNameValuePair.h -------------------------------------------------------------------------------- /C++/2010DemoTools/SerializeSerializeable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/SerializeSerializeable.h -------------------------------------------------------------------------------- /C++/BitonicSort/CUDAUtils.cu: -------------------------------------------------------------------------------- 1 | #include "CUDAUtils.h" 2 | 3 | size_t CUDADevice::gDeviceCount = 0; 4 | size_t CUDADevice::gCurrentDeviceId = -1; -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/MarshalHelp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/MarshalHelp.h -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/COSUnitTest.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/COSUnitTest.vcproj -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/Test_StringHash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/Test_StringHash.cpp -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson16_ByteCode/UnitTest.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef UNITTEST_H 3 | #define UNITTEST_H 4 | 5 | void unitTest(); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/04.hs: -------------------------------------------------------------------------------- 1 | main = print output 2 | 3 | output = maximum [x*y|x<-[100..999],y<-[x..999],let z=show $x * y,z==reverse z] 4 | -------------------------------------------------------------------------------- /Java/CompilerStudy/Lesson1_AntlrLang/test/test.js: -------------------------------------------------------------------------------- 1 | 2 | for (var i = 0; i < 3; ++i) print([i]) 3 | for (var i = 3; i < 6; ++i) print([i]) 4 | -------------------------------------------------------------------------------- /Lua/TestUtil/ScanCFunc/ScanCFunc/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/TestUtil/ScanCFunc/ScanCFunc/ReadMe.txt -------------------------------------------------------------------------------- /Lua/TestUtil/ScanCFunc/ScanCFunc/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/TestUtil/ScanCFunc/ScanCFunc/stdafx.cpp -------------------------------------------------------------------------------- /Python/UITest/Mac/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | py2applet --arch=i386 --make-setup main.py 4 | rm -rf build dist 5 | python setup.py py2app 6 | -------------------------------------------------------------------------------- /C#/TimelineRenderer/Output/ChineseHistory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/TimelineRenderer/Output/ChineseHistory.png -------------------------------------------------------------------------------- /C#/TimelineRenderer/Output/Mathematicians.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/TimelineRenderer/Output/Mathematicians.png -------------------------------------------------------------------------------- /C++/2010DemoTools/SerializeExtend_AttriXml.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/2010DemoTools/SerializeExtend_AttriXml.cpp -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/MarshalSignal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/MarshalSignal.cpp -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/MarshalSignal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/MarshalSignal.h -------------------------------------------------------------------------------- /C++/COSGame/COSUnitTest/Test_MarshalSignal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSUnitTest/Test_MarshalSignal.cpp -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson30_SimpleEval/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson5_CSyntaxLang/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | -------------------------------------------------------------------------------- /C++/MyMalloc/fsecs.h: -------------------------------------------------------------------------------- 1 | typedef void (*fsecs_test_funct)(void *); 2 | 3 | void init_fsecs(void); 4 | double fsecs(fsecs_test_funct f, void *argp); 5 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/06.hs: -------------------------------------------------------------------------------- 1 | 2 | main = print $ output 100 3 | 4 | output n = sqr (sum [1..n]) - sum [v*v|v<-[1..n]] 5 | where sqr x = x * x 6 | -------------------------------------------------------------------------------- /Lisp/CPSTransform/run: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | ./main $* | sed -e "s/^'//1" -e "1i#lang racket" > __tmp.rkt 4 | racket __tmp.rkt 5 | rm __tmp.rkt 6 | -------------------------------------------------------------------------------- /Lua/TestUtil/ScanCFunc/ScanCFunc/ScanCFunc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/TestUtil/ScanCFunc/ScanCFunc/ScanCFunc.cpp -------------------------------------------------------------------------------- /SICP/chapter_4/28.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (require "25.rkt") 4 | 5 | (eval G 6 | '(pretty-print (((lambda (a b) (if false a b)) + -) 1 2))) 7 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson28_SimpleJsonParser/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | -------------------------------------------------------------------------------- /C++/ScanFFT/.gitignore: -------------------------------------------------------------------------------- 1 | *.suo 2 | *.user 3 | *.swp 4 | *.VC.db 5 | *.VC.opendb 6 | 7 | ipch/ 8 | [Dd]ebug/ 9 | [Rr]elease/ 10 | Generated/ 11 | -------------------------------------------------------------------------------- /Lisp/CPSTransform2/run: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | ./main $* | sed -e "s/^'//1" -e "1i#lang racket" > __tmp.rkt 4 | racket __tmp.rkt 5 | rm __tmp.rkt 6 | -------------------------------------------------------------------------------- /Python/常见练习题/main_斐波那契数列: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | # coding=utf-8 3 | 4 | a, b = 1, 1 5 | while b < 1000: 6 | print b 7 | a, b = a + b, a 8 | -------------------------------------------------------------------------------- /C++/BigInteger2/.gitignore: -------------------------------------------------------------------------------- 1 | *.suo 2 | *.user 3 | *.swp 4 | *.VC.db 5 | *.VC.opendb 6 | 7 | ipch/ 8 | [Dd]ebug/ 9 | [Rr]elease/ 10 | Generated/ 11 | -------------------------------------------------------------------------------- /C++/软件渲染/pch.h: -------------------------------------------------------------------------------- 1 | // vim: fileencoding=gbk 2 | #include 3 | 4 | #include 5 | using std::cin; 6 | using std::cout; 7 | using std::endl; 8 | -------------------------------------------------------------------------------- /CSAPP/10_Malloc_Lab/fsecs.h: -------------------------------------------------------------------------------- 1 | typedef void (*fsecs_test_funct)(void *); 2 | 3 | void init_fsecs(void); 4 | double fsecs(fsecs_test_funct f, void *argp); 5 | -------------------------------------------------------------------------------- /Lua/TestUtil/ScanCFunc/ScanCFunc/ScanCFunc.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Lua/TestUtil/ScanCFunc/ScanCFunc/ScanCFunc.vcproj -------------------------------------------------------------------------------- /Lua/Trie/README: -------------------------------------------------------------------------------- 1 | query performance: 2 | 3 | 750wps - cpp 4 | 100wps - lua 5 | 480wps - luajit 6 | 60wps - python 7 | 180wps - pypy 8 | -------------------------------------------------------------------------------- /Misc/makefile_java/Test/makefile: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: all build clean 3 | 4 | all: build 5 | build: 6 | javac -Xlint:all *java 7 | clean: 8 | rm -f *class 9 | -------------------------------------------------------------------------------- /Scala/Interpreter/11_RegularExpression/Test.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/Scala/Interpreter/11_RegularExpression/Test.scala -------------------------------------------------------------------------------- /C#/MonteCarloPi/report.txt: -------------------------------------------------------------------------------- 1 | Naive => Time: 1214.20042ms, GC counts: 0,0,0 2 | Parallel => Time: 262.38514ms, GC counts: 0,0,0 3 | -------------------------------------------------------------------------------- /C++/AlgoAndADT/Reports/skipListReport.txt: -------------------------------------------------------------------------------- 1 | Skiplist d=2 : 2.449439 s 2 | Skiplist d=9 : 0.083169 s 3 | stl map : 0.052321 s 4 | stl unordered_map : 0.014267 s 5 | -------------------------------------------------------------------------------- /C++/COSGame/COSFoundationLib/COSFoundationLib.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/COSGame/COSFoundationLib/COSFoundationLib.vcproj -------------------------------------------------------------------------------- /C++/Codec/.gitignore: -------------------------------------------------------------------------------- 1 | *.suo 2 | *.user 3 | *.swp 4 | *.VC.db 5 | *.VC.opendb 6 | 7 | ipch/ 8 | [Dd]ebug/ 9 | [Rr]elease/ 10 | Generated/ 11 | build/ 12 | -------------------------------------------------------------------------------- /C++/LineCounter/Addin_LineCounter/DlgLineCounter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/LineCounter/Addin_LineCounter/DlgLineCounter.cpp -------------------------------------------------------------------------------- /Haskell/LinkedList/main.hs: -------------------------------------------------------------------------------- 1 | import qualified List 2 | 3 | main = putStrLn $ show output 4 | output = List.toList $ List.pushBack 11 $ List.fromList [1..10] 5 | -------------------------------------------------------------------------------- /SICP/chapter_2/55.scm: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (pretty-print (car ''abcd)) 4 | (pretty-print (car '(quote abcd))) 5 | (pretty-print (car (quote (quote abc)))) 6 | -------------------------------------------------------------------------------- /Antlr/C++/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using namespace std; 6 | 7 | #include 8 | 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson15_MyYacc/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 3 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 4 | make.exe %* 5 | -------------------------------------------------------------------------------- /C++/LineCounter/Addin_LineCounter/Addin_LineCounter.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/LineCounter/Addin_LineCounter/Addin_LineCounter.aps -------------------------------------------------------------------------------- /C++/LineCounter/Addin_LineCounter/Addin_LineCounter.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/LineCounter/Addin_LineCounter/Addin_LineCounter.ico -------------------------------------------------------------------------------- /F#/Algorithms/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Lisp/ProjectEuler/07.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (require "utils.rkt") 4 | 5 | ;(build-list 30 (curry stream-ref prime-list)) 6 | 7 | (stream-ref prime-list 10000) 8 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson14_YaccJSLang/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 3 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 4 | make.exe %* 5 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson16_ByteCode/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 3 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 4 | make.exe %* 5 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson17_StrongType/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 3 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 4 | make.exe %* 5 | -------------------------------------------------------------------------------- /Haskell/BinarySearchTree/main.hs: -------------------------------------------------------------------------------- 1 | import qualified Map 2 | 3 | main = putStrLn $ show output 4 | output = Map.toList $ Map.fromList [(3,9),(1,1),(5,25),(2,4),(4,16)] 5 | -------------------------------------------------------------------------------- /Lisp/ProjectEuler/05.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (define (lcm a b) 4 | (/ (* a b) (gcd a b)) 5 | ) 6 | 7 | ;(foldl lcm 1 (range 1 11)) 8 | (foldl lcm 1 (range 1 21)) 9 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson11_Regexp/Regexp2/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 3 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 4 | make.exe %* 5 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson13_LRSyntaxParser/source.txt: -------------------------------------------------------------------------------- 1 | i feb(n) 2 | { 3 | feb(n - 1) + feb(n - 2) @ 4 | } 5 | i main () 6 | { 7 | feb(10) @ 8 | 0 @ 9 | } 10 | -------------------------------------------------------------------------------- /C++/HashLib/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS120COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/LineCounter/Addin_LineCounter/DlgLineCounter.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | Addin_LineCounter.ico 4 | 5 | 6 | -------------------------------------------------------------------------------- /C++/Trie/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/Trie/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using namespace std; 6 | 7 | #include 8 | 9 | #endif // #ifndef PCH_H 10 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/09.hs: -------------------------------------------------------------------------------- 1 | 2 | main = print $ product $ last $ filter ((== 1000) . sum) $ output 500 3 | 4 | output n = [[a,b,c]|a<-[1..n],b<-[a..n],c<-[b..n],a*a+b*b==c*c] 5 | -------------------------------------------------------------------------------- /Lisp/99Problems/38.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (require "34.rkt") 4 | (require "37.rkt") 5 | 6 | (define num (* 1009000 3)) 7 | ;(totient-phi-1 num) 8 | (totient-phi-2 num) 9 | -------------------------------------------------------------------------------- /C++/AlgoAndADT/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS120COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/BigInteger/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS120COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson20_Lua3/README.md: -------------------------------------------------------------------------------- 1 | # Feature 2 | + register-based vm 3 | + garbage collection 4 | + continue 5 | 6 | # TODO 7 | + traceback for c function 8 | + coroutine 9 | -------------------------------------------------------------------------------- /C++/MemAlloc/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/RandomStrGen/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using namespace std; 6 | 7 | #include 8 | 9 | #endif // #ifndef PCH_H 10 | -------------------------------------------------------------------------------- /C++/SSEMemcpy/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/SkipList/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/mmapOfPosix/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using namespace std; 6 | 7 | #include 8 | 9 | #endif // #ifndef PCH_H 10 | -------------------------------------------------------------------------------- /C++/光线追踪/pch.h: -------------------------------------------------------------------------------- 1 | // vim: fileencoding=gbk 2 | #include 3 | 4 | #include 5 | #include 6 | using std::cin; 7 | using std::cout; 8 | using std::endl; 9 | -------------------------------------------------------------------------------- /CSAPP/3_Buffer_Lab/level0.txt: -------------------------------------------------------------------------------- 1 | 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 62 62 62 62 ba 90 04 08 0a 2 | -------------------------------------------------------------------------------- /C#/SourceLocalization/Samples/01_ReplaceStringLiterals/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C#/SourceLocalization/Samples/01_ReplaceStringLiterals/Program.cs -------------------------------------------------------------------------------- /C++/AutoReleasePool/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using namespace std; 6 | 7 | #include 8 | 9 | #endif // #ifndef PCH_H 10 | -------------------------------------------------------------------------------- /C++/CompressionAlgo/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS120COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/LineCounter/Addin_LineCounter/Resources/qtcreator_logo_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GHScan/DailyProjects/HEAD/C++/LineCounter/Addin_LineCounter/Resources/qtcreator_logo_32.png -------------------------------------------------------------------------------- /C++/OGL_万花筒/util.h: -------------------------------------------------------------------------------- 1 | void sleep(float seconds); 2 | bool loadTexture(const char *fname, bool mipmap = false); 3 | void drawTexQuad(GLuint tid, float x1, float y1, float x2, float y2); 4 | -------------------------------------------------------------------------------- /C++/SSECompilerFlag/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/SkipListArray/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /Python/CompilerStudy/Lesson3_LuaNetProtocolCodeGen/1.txt: -------------------------------------------------------------------------------- 1 | struct A 2 | { 3 | int i; 4 | float j; 5 | }; 6 | struct B 7 | { 8 | A a; 9 | string s; 10 | }; 11 | -------------------------------------------------------------------------------- /Rust/algorithms/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "algorithms" 3 | version = "0.1.0" 4 | authors = ["GHScan "] 5 | 6 | [dependencies] 7 | rand = "0.3" 8 | time = "0.1" 9 | -------------------------------------------------------------------------------- /C++/BuddyAllocator/makefile: -------------------------------------------------------------------------------- 1 | .Phony : all clean 2 | 3 | all : main 4 | 5 | main : test.c buddy.c 6 | gcc -g -Wall -o $@ $^ -std=c99 7 | 8 | clean : 9 | rm -f main main.exe 10 | -------------------------------------------------------------------------------- /C++/CPUSoftwareRenderer/data/config.txt: -------------------------------------------------------------------------------- 1 | ThreadCount 1 2 | WindowWidth 800 3 | WindowHeight 800 4 | SampleCount 1 5 | PerSampleShading 0 6 | ShadowMapScale 1 7 | AssetRoot D:/Assets 8 | -------------------------------------------------------------------------------- /C++/软件渲染/Apps/readme.txt: -------------------------------------------------------------------------------- 1 | 这里是一些含main函数的文件,可以单独和其他代码生成app。 2 | 3 | 1. Frame:加载场景、渲染。(加载Scene.txt) 4 | 2. SceneBuild:建立场景。(生成Scene.txt) 5 | 3. XFileConverter:把微软的.x文件转换为可识别格式。 6 | 4. 单元测试。 7 | -------------------------------------------------------------------------------- /CSAPP/3/3.39_full_umul/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using namespace std; 6 | 7 | #include 8 | 9 | #endif // #ifndef PCH_H 10 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/02.hs: -------------------------------------------------------------------------------- 1 | 2 | main = print output 3 | 4 | fibs = f 1 2 5 | where f a b = a:f b (a + b) 6 | 7 | output = sum$ filter ((== 0) . (`mod` 2)) $takeWhile (< 4000000) fibs 8 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/12.hs: -------------------------------------------------------------------------------- 1 | import Utils 2 | 3 | main = print $ output 500 4 | 5 | output n = fst $ head $dropWhile ((< n) . snd) $ map (\n->(n,Utils.factorCount n)) $ scanl1 (+) [1..] 6 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/25.hs: -------------------------------------------------------------------------------- 1 | main = print $ output 1000 2 | 3 | fibs a b = a:fibs b (a + b) 4 | 5 | output n = fst $ head $ dropWhile ((< n).length.snd) $ zip [1..] $ map show $ fibs 1 1 6 | -------------------------------------------------------------------------------- /Misc/makefile_c++/Windows/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS120COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /Antlr/C#/Expr/makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all build clean 2 | 3 | all: build 4 | 5 | build: 6 | java org.antlr.Tool Expr.g 7 | 8 | clean: 9 | rm -f *pyc *tokens ExprLexer.cs ExprParser.cs 10 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson18_Lua1/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson19_Lua2/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson20_Lua3/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/LuaConfig/config.lua: -------------------------------------------------------------------------------- 1 | 2 | name = 'scan' 3 | filecount = 10 4 | config = { 5 | version = 3.14, 6 | action = function() 7 | print('do action!') 8 | end, 9 | } 10 | -------------------------------------------------------------------------------- /C++/MyMalloc/short1-bal.rep: -------------------------------------------------------------------------------- 1 | 20000 2 | 6 3 | 12 4 | 1 5 | a 0 2040 6 | a 1 2040 7 | f 1 8 | a 2 48 9 | a 3 4072 10 | f 3 11 | a 4 4072 12 | f 0 13 | f 2 14 | a 5 4072 15 | f 4 16 | f 5 17 | -------------------------------------------------------------------------------- /C++/MyMalloc/short2-bal.rep: -------------------------------------------------------------------------------- 1 | 20000 2 | 6 3 | 12 4 | 1 5 | a 0 2040 6 | a 1 4010 7 | a 2 48 8 | a 3 4072 9 | a 4 4072 10 | a 5 4072 11 | f 0 12 | f 1 13 | f 2 14 | f 3 15 | f 4 16 | f 5 17 | -------------------------------------------------------------------------------- /C++/SkipList/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | .PHONY: 8 | 9 | build_actions: 10 | 11 | clean_actions: 12 | -------------------------------------------------------------------------------- /Python/常见练习题/main_99乘法表: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | # coding=utf-8 3 | 4 | for i in range(1, 10): 5 | for j in range(1, i + 1): 6 | print '%d*%d=%-2d' % (j, i, i * j), 7 | print 8 | -------------------------------------------------------------------------------- /SICP/chapter_2/26.scm: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (define x (list 1 2 3)) 4 | (define y (list 4 5 6)) 5 | 6 | (pretty-print (append x y)) 7 | (pretty-print (cons x y)) 8 | (pretty-print (list x y)) 9 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson21_AntlrLang/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson27_TinyC/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | rem call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM1/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS120COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM2/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS120COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /Scala/Compiler/src/parsing/LLParser.scala: -------------------------------------------------------------------------------- 1 | package parsing 2 | 3 | abstract class LLParser(_grammar : Grammar) extends IParser { 4 | val grammar = _grammar.removeLeftRecursion().leftFactoring() 5 | } -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson19_Lua2/README.md: -------------------------------------------------------------------------------- 1 | # Feature 2 | + stack-based vm 3 | + garbage collection 4 | + continue 5 | 6 | # TODO 7 | + performance 8 | + traceback for c function 9 | + coroutine 10 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson22_LLVMCMinus/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson23_NASMCMinus/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson24_VariousEval/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson24_VariousEval/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using namespace std; 6 | 7 | #include 8 | 9 | #endif // #ifndef PCH_H 10 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson30_SimpleEval/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using namespace std; 6 | 7 | #include 8 | 9 | #endif // #ifndef PCH_H 10 | -------------------------------------------------------------------------------- /C++/MemAlloc/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/SSEMemcpy/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/1_Simple/SchemePrinter.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | #include "SchemePrinter.h" 3 | 4 | void SchemePrinter::printSExpression(ostream& so, const SchemeRef &exp) { 5 | // TODO 6 | } 7 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/3_CompilingByteCode/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS120COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /CSAPP/10_Malloc_Lab/short1-bal.rep: -------------------------------------------------------------------------------- 1 | 20000 2 | 6 3 | 12 4 | 1 5 | a 0 2040 6 | a 1 2040 7 | f 1 8 | a 2 48 9 | a 3 4072 10 | f 3 11 | a 4 4072 12 | f 0 13 | f 2 14 | a 5 4072 15 | f 4 16 | f 5 17 | -------------------------------------------------------------------------------- /CSAPP/10_Malloc_Lab/short2-bal.rep: -------------------------------------------------------------------------------- 1 | 20000 2 | 6 3 | 12 4 | 1 5 | a 0 2040 6 | a 1 4010 7 | a 2 48 8 | a 3 4072 9 | a 4 4072 10 | a 5 4072 11 | f 0 12 | f 1 13 | f 2 14 | f 3 15 | f 4 16 | f 5 17 | -------------------------------------------------------------------------------- /CSAPP/3_Buffer_Lab/level3.txt: -------------------------------------------------------------------------------- 1 | b8 6d 63 2e 3c 2 | 68 93 8c 04 08 3 | c3 4 | 22 90 04 08 c3 5 | 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 6 | 80 33 68 55 7 | 28 33 68 55 8 | -------------------------------------------------------------------------------- /MachineLearning/DataLoader/README.txt: -------------------------------------------------------------------------------- 1 | - mnist: 2 | https://github.com/mnielsen/neural-networks-and-deep-learning/tree/master/data 3 | - cifar-10: 4 | https://www.cs.toronto.edu/~kriz/cifar.html 5 | -------------------------------------------------------------------------------- /Python/常见练习题/main_3位水仙花数: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | # coding=utf-8 3 | 4 | for i in range(100, 1000): 5 | a, b, c = [int(j) for j in str(i)] 6 | if a**3 + b**3 + c**3 == i: 7 | print i 8 | -------------------------------------------------------------------------------- /Web/OpenComic/TODO.markdown: -------------------------------------------------------------------------------- 1 | 2 | + delete unused crawler_src 3 | + delete unused thumbnails 4 | + delete unused book_imgs 5 | + delete unused read_histories 6 | + enable customize the chapter count to keep -------------------------------------------------------------------------------- /C++/CPUSoftwareRenderer/.gitignore: -------------------------------------------------------------------------------- 1 | *.suo 2 | *.user 3 | *.swp 4 | *.VC.db 5 | *.VC.opendb 6 | 7 | ipch/ 8 | [Dd]ebug/ 9 | [Rr]elease/ 10 | Generated/ 11 | build/ 12 | 13 | .DS_Store 14 | -------------------------------------------------------------------------------- /C++/Codec/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.4) 2 | 3 | project(Codec) 4 | 5 | file(GLOB incs "src/*.h") 6 | file(GLOB srcs "src/*.cpp") 7 | 8 | add_executable(codec ${srcs} ${incs}) 9 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson28_SimpleJsonParser/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using namespace std; 6 | 7 | #include 8 | 9 | #endif // #ifndef PCH_H 10 | -------------------------------------------------------------------------------- /C++/LuaConfig/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files=lua5.1 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/SSECompilerFlag/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/SimpleRegExpr/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/SkipListArray/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/posix_backtrace/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | using namespace std; 9 | 10 | #endif // #ifndef PCH_H 11 | -------------------------------------------------------------------------------- /CSAPP/3_Buffer_Lab/level2.txt: -------------------------------------------------------------------------------- 1 | c7 05 2 | ec c1 04 08 3 | 6d 63 2e 3c 4 | 68 5 | 22 90 04 08 6 | c3 7 | 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 28 33 68 55 8 | 28 33 68 55 9 | -------------------------------------------------------------------------------- /Lisp/ProjectEuler/03.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (require "utils.rkt") 4 | 5 | ;(for-each pretty-print (map find-prime-factors (range 32))) 6 | ;(find-prime-factors 13195) 7 | (find-prime-factors 600851475143) 8 | -------------------------------------------------------------------------------- /Misc/gdb_config/gdbinit: -------------------------------------------------------------------------------- 1 | python 2 | import sys 3 | sys.path.insert(0, '/home/scan/.gdb/python') 4 | from libstdcxx.v6.printers import register_libstdcxx_printers 5 | register_libstdcxx_printers (None) 6 | end 7 | -------------------------------------------------------------------------------- /Python/UITest/Windows/setup.py: -------------------------------------------------------------------------------- 1 | from distutils.core import setup 2 | import py2exe 3 | setup( 4 | windows=['main.py'], 5 | options = {'py2exe': { 'dll_excludes': ['MSVCP90.dll']}}, 6 | ) 7 | -------------------------------------------------------------------------------- /Rust/algorithms/src/main.rs: -------------------------------------------------------------------------------- 1 | extern crate rand; 2 | extern crate time; 3 | 4 | pub mod sorting; 5 | pub mod utility; 6 | 7 | fn main() { 8 | sorting::benchs::bench_sorting_funcs(); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /SICP/chapter_4/34.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (require "25.rkt") 4 | (require "32.rkt") 5 | 6 | (eval G 7 | '(begin 8 | (pretty-print (build-list 20 (curry 2 list-ref integers))) 9 | )) 10 | -------------------------------------------------------------------------------- /Antlr/Python/makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all build clean 2 | 3 | all: build 4 | 5 | build: 6 | java org.antlr.Tool Expr.g TreeExpr.g 7 | 8 | clean: 9 | rm -f *pyc *tokens TreeExpr.py ExprLexer.py ExprParser.py 10 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson25_AsmJitEval/pch.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef PCH_H 3 | #define PCH_H 4 | 5 | #include 6 | #include 7 | #include 8 | 9 | using namespace std; 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /C++/SimpleTimingWheel/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/posix_backtrace/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=0 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files=dl 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /CSAPP/3_Buffer_Lab/level1.txt: -------------------------------------------------------------------------------- 1 | 61 61 61 61 6d 63 2e 3c 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 28 33 68 55 6f 90 04 08 2 | 61 61 61 61 3 | 6d 63 2e 3c 4 | 0a 5 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/24.hs: -------------------------------------------------------------------------------- 1 | main = print output 2 | 3 | perm [] = [[]] 4 | perm l = [x:rest|i<-[0..length l - 1],let (left,(x:right))=splitAt i l, rest<-perm (left++right)] 5 | 6 | output = perm [0..9] !! 999999 7 | -------------------------------------------------------------------------------- /Scala/Compiler/src/benchmark/demo/lua/scripts/TestScanReport.txt: -------------------------------------------------------------------------------- 1 | 2015.1.14 => 2 | (Scanner [loop=10] ,0.005963874,GC:) 3 | 4 | 2015.1.21 => 5 | (Scanner [loop=10] ,0.006088642,GC:) -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson32_VariousThreadedInterpreter/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson33_VariousThreadedInterpreter2/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 4 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 5 | make.exe %* 6 | -------------------------------------------------------------------------------- /C++/LeetCode/175_CombineTwoTables.cpp: -------------------------------------------------------------------------------- 1 | # Write your MySQL query statement below 2 | 3 | SELECT 4 | FirstName, 5 | LastName, 6 | City, 7 | State 8 | FROM Person 9 | LEFT JOIN Address USING(PersonId); -------------------------------------------------------------------------------- /C++/SinglePatternMatching/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=0 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/UseOfLibReadline/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=0 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files=readline 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/光线追踪/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | call "%VS80COMNTOOLS%vsvars32.bat" >nul 4 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 5 | rem call "%VS100COMNTOOLS%vsvars32.bat" > nul 6 | make.exe %* 7 | -------------------------------------------------------------------------------- /C++/软件渲染/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=F:\MinGW\bin;%PATH% 3 | call "%VS80COMNTOOLS%vsvars32.bat" >nul 4 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 5 | rem call "%VS100COMNTOOLS%vsvars32.bat" > nul 6 | make.exe %* 7 | -------------------------------------------------------------------------------- /F#/Algorithms/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Python/SchemeInterpreter/6_CPSTransformInterpreter/cpsi: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | currntPath=`pwd` 4 | 5 | (cd ../../../Lisp/CPSTransform; ./main ${currntPath}/$* | sed -e "s/^'//1" -e "1i#lang racket") | python main.py 6 | -------------------------------------------------------------------------------- /Antlr/C++/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=E:\MinGW\bin;%PATH% 3 | rem call "%VS80COMNTOOLS%vsvars32.bat" >nul 4 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 5 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 6 | make.exe %* 7 | -------------------------------------------------------------------------------- /C#/CompilerStudy/Lesson1_AntlrLang/JSMinus/README: -------------------------------------------------------------------------------- 1 | Compare with C++\CompilerStudy\Lesson21_AntlrLang 2 | 3 | Buildin functions: 4 | print 5 | println 6 | clock 7 | format 8 | push 9 | random 10 | -------------------------------------------------------------------------------- /C++/C99ADT/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/C99ADT/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson27_TinyC/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=0 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson27_TinyC/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | using namespace std; 9 | 10 | #endif // #ifndef PCH_H 11 | -------------------------------------------------------------------------------- /C++/EqualRange/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/GuardPtr/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=0 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/LazyValue/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /Lisp/ProjectEuler/28.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (define (sum-border n) 4 | (if (= 1 n) 5 | 1 6 | (- (+ (* 4 (* n n)) 6) (* 6 n))) 7 | ) 8 | 9 | (foldl + 0 (map sum-border (filter odd? (range 1 1002)))) 10 | -------------------------------------------------------------------------------- /C#/CompilerStudy/Lesson1_AntlrLang/JSMinus/makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all build clean 2 | 3 | all: build 4 | 5 | build: 6 | java org.antlr.Tool JSMinus.g 7 | 8 | clean: 9 | rm -f *pyc *tokens JSMinusLexer.cs JSMinusParser.cs 10 | -------------------------------------------------------------------------------- /C++/BufferedFile/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson24_VariousEval/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=0 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/GetHostByName/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/ListRemoveIf/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/StringInterning/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /F#/Algorithms/Program.fs: -------------------------------------------------------------------------------- 1 | module Program 2 | 3 | [] 4 | let main argv = 5 | 6 | #if DEBUG 7 | Utility.runUnitTests() 8 | #else 9 | Utility.runBenchmarks() 10 | #endif 11 | 12 | 0 -------------------------------------------------------------------------------- /Python/SmoothTexturedPolygon/vs.glsl: -------------------------------------------------------------------------------- 1 | 2 | varying vec2 g_pos; 3 | void main() { 4 | gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; 5 | gl_TexCoord[0] = gl_MultiTexCoord0; 6 | g_pos = gl_Position.xy; 7 | } 8 | -------------------------------------------------------------------------------- /C++/ByzantineC/App/UnitTests/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "UnitTest.h" 4 | 5 | int main(int argc, char *argv[]) { 6 | by_TEST_CASE_DRIVER(argc < 2 ? "*" : argv[1]); 7 | by_TEST_CASE_DEPENDENT(testArray); 8 | } 9 | -------------------------------------------------------------------------------- /C++/CmdRunAndRetrieve/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=0 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson18_Lua1/README.markdown: -------------------------------------------------------------------------------- 1 | # TODO 2 | + Library: string 3 | 4 | # Feature 5 | + __gc of table 6 | + continue 7 | 8 | # Next version 9 | + Optmized metatable 10 | + GC 11 | + Byte code 12 | + Coroutine 13 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson18_Lua1/test/io.lua: -------------------------------------------------------------------------------- 1 | 2 | print('!!!!!!!!!!!! content 1:') 3 | for l in io.lines('test/io.lua') do 4 | print(l) 5 | end 6 | 7 | print('!!!!!!!!!!!! content 2:') 8 | print(io.open('test/io.lua'):read('*a')) 9 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson19_Lua2/test/io.lua: -------------------------------------------------------------------------------- 1 | 2 | print('!!!!!!!!!!!! content 1:') 3 | for l in io.lines('test/io.lua') do 4 | print(l) 5 | end 6 | 7 | print('!!!!!!!!!!!! content 2:') 8 | print(io.open('test/io.lua'):read('*a')) 9 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson20_Lua3/test/io.lua: -------------------------------------------------------------------------------- 1 | 2 | print('!!!!!!!!!!!! content 1:') 3 | for l in io.lines('test/io.lua') do 4 | print(l) 5 | end 6 | 7 | print('!!!!!!!!!!!! content 2:') 8 | print(io.open('test/io.lua'):read('*a')) 9 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson25_AsmJitEval/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=0 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files=AsmJit 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson29_SimpleInterpreter/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/DynamicProgramming/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/MemCompactBenchmark/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/3_CompilingByteCode/SParser.h: -------------------------------------------------------------------------------- 1 | #ifndef SPARSER_H 2 | #define SPARSER_H 3 | 4 | class SObjectManager; 5 | class SValue; 6 | 7 | SValue parse(SObjectManager *mgr, const string &source); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /C++/TCPSocket/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs=. 6 | lib_dirs= 7 | lib_files=pthread 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/ThreadPool/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files=pthread 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C#/SchemeInterpreter/2_CPS/2_CPS/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /C#/SchemeInterpreter/6_JIT/6_JIT/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /C#/局域网数据传输/LANFileTransfer/LANFT_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2500 4 | 1500 5 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson5_CSyntaxLang/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | using std::cin; 6 | using std::cout; 7 | using std::endl; 8 | 9 | #include 10 | 11 | #endif // #ifndef PCH_H 12 | -------------------------------------------------------------------------------- /C++/EliminationSeries/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files=pthread 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/OGL_万花筒/pch.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include 6 | #include 7 | using std::cin; 8 | using std::cout; 9 | using std::endl; 10 | 11 | #include 12 | -------------------------------------------------------------------------------- /C++/ReaderWriterLock/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files=pthread 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/SinglePatternMatching/make.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set PATH=E:\MinGW\bin;%PATH% 3 | rem call "%VS80COMNTOOLS%vsvars32.bat" >nul 4 | rem call "%VS90COMNTOOLS%vsvars32.bat" > nul 5 | call "%VS110COMNTOOLS%vsvars32.bat" > nul 6 | make.exe %* 7 | -------------------------------------------------------------------------------- /C++/SmtpLib/SmtpLib/base64.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifndef _BASE64_H_ 4 | #define _BASE64_H_ 5 | 6 | std::string base64_encode(unsigned char const* , unsigned int len); 7 | std::string base64_decode(std::string const& s); 8 | 9 | #endif -------------------------------------------------------------------------------- /C++/光线追踪/makefile_var: -------------------------------------------------------------------------------- 1 | build_dll=0 2 | macro_defs= 3 | include_dirs=F:\Libraries\Microsoft?DirectX?SDK?(August?2009)\Include 4 | lib_dirs=F:\Libraries\Microsoft?DirectX?SDK?(August?2009)\Lib\x86 5 | lib_files=d3dx9.lib d3d9.lib dxerr.lib 6 | -------------------------------------------------------------------------------- /C++/软件渲染/makefile_var: -------------------------------------------------------------------------------- 1 | build_dll=0 2 | macro_defs= 3 | include_dirs=F:\Libraries\Microsoft?DirectX?SDK?(August?2009)\Include 4 | lib_dirs=F:\Libraries\Microsoft?DirectX?SDK?(August?2009)\Lib\x86 5 | lib_files=d3dx9.lib d3d9.lib dxerr.lib 6 | -------------------------------------------------------------------------------- /Lisp/SchemeInterpreter/5_NormalOrder/scripts/test.rkt: -------------------------------------------------------------------------------- 1 | (define ones (cons 1 ones)) 2 | (define integers (cons 1 (map-2 + ones integers))) 3 | (define fibs (cons 1 (cons 2 (map-2 + fibs (cdr fibs))))) 4 | 5 | (pretty-print (take fibs 60)) 6 | -------------------------------------------------------------------------------- /C#/SchemeInterpreter/1_Simple/1_Simple/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /C#/SourceLocalization/Src/Json2Excel/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /C#/SourceLocalization/Src/JsonMerge/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /C++/ByzantineC/Build/build.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | select buildType in Debug Release 4 | do 5 | mkdir -p $buildType 6 | cd $buildType 7 | cmake -DCMAKE_BUILD_TYPE=$buildType ../.. 8 | cd .. 9 | break 10 | done 11 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson20_Lua3/test.lua: -------------------------------------------------------------------------------- 1 | 2 | local start = os.clock() 3 | for i = 0, 100 do 4 | for j = 0, 100 do 5 | for k = 0, 1000 do 6 | end 7 | end 8 | end 9 | print("perform2: ", os.clock() - start) 10 | -------------------------------------------------------------------------------- /C++/Currying/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/HashLib/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/Random/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/ScanFFT/ScanFFT_UnrolledFFTGen/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /C++/TemplateMetaProgramming/CompileTimeComputation/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=1 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files= 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/TypeList/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /Lisp/ProjectEuler/06.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (define (solve n) 4 | (let ([s (in-range 1 (+ n 1))]) 5 | (- (sqr (stream-fold + 0 s)) 6 | (stream-fold + 0 (stream-map sqr s)))) 7 | ) 8 | 9 | (solve 10) 10 | (solve 100) 11 | -------------------------------------------------------------------------------- /Scala/Compiler/build.sbt: -------------------------------------------------------------------------------- 1 | name := "IntellijSBT" 2 | 3 | version := "1.0" 4 | 5 | scalaVersion := "2.11.4" 6 | 7 | scalaSource in Compile := baseDirectory.value / "src" 8 | 9 | scalaSource in Test := baseDirectory.value / "src/test" 10 | -------------------------------------------------------------------------------- /C#/CompilerStudy/Lesson1_AntlrLang/JSMinus/test/test.js: -------------------------------------------------------------------------------- 1 | 2 | var start = clock() 3 | for (var i = 0; i < 100; ++i) { 4 | for (var j = 0; j < 1000; ++j) { 5 | for (var k = 0; k < 1000; ++k); 6 | } 7 | } 8 | println([clock() - start]) 9 | -------------------------------------------------------------------------------- /C#/SourceLocalization/Src/LiteralReplace/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /C++/BigInteger/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/BloomFilter/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/Channel/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files=pthread 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/Cpp11Range/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/CryptoAlgo/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/FindMaxPrime/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/NonIntrusiveAutoReleasePool/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=0 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files=pthread 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/SSEMemcpy/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | #include 9 | #include 10 | using namespace std; 11 | 12 | #endif // #ifndef PCH_H 13 | -------------------------------------------------------------------------------- /C++/STLAllocator/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /F#/Interpreter/01_TypedLambdaCalculus/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /JavaScript/ParticleSystem/utils.js: -------------------------------------------------------------------------------- 1 | 2 | Math.randomChoice = function(a) { 3 | return a[this.floor(this.random() * a.length)]; 4 | }; 5 | 6 | Math.randomNumber = function(begin, end) { 7 | return Math.random() * (end - begin) + begin; 8 | }; 9 | -------------------------------------------------------------------------------- /Misc/LexYacc/Prefix2Infix/lex.l: -------------------------------------------------------------------------------- 1 | 2 | %{ 3 | #include "syntax.tab.h" 4 | %} 5 | %% 6 | 7 | [\+\-\*\/\%] { 8 | yylval = yytext[0]; 9 | return BIN_OP; 10 | } 11 | [0-9]+ { yylval = atoi(yytext); return INT; } 12 | .|\n {} 13 | %% 14 | -------------------------------------------------------------------------------- /SICP/chapter_1/1_41.lisp: -------------------------------------------------------------------------------- 1 | #lang racket 2 | (require racket/pretty) 3 | 4 | (define (double f) 5 | (lambda (x) (f (f x))) 6 | ) 7 | 8 | (define (inc x) 9 | (+ 1 x) 10 | ) 11 | 12 | (pretty-print (((double (double double)) inc) 5)) 13 | -------------------------------------------------------------------------------- /C#/SchemeInterpreter/3_OptimalCPS/3_OptimalCPS/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /C#/SchemeInterpreter/4_ComplingAST/4_ComplingAST/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /C++/AlgoAndADT/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files=pthread 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson19_Lua2/AST.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | 4 | #include "AST.h" 5 | #include "LuaFunction.h" 6 | 7 | ExpNode_Lambda::ExpNode_Lambda(const LuaFunctionMetaPtr& _meta): 8 | IExpNode(_meta->line), meta(_meta){ 9 | } 10 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson20_Lua3/AST.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "pch.h" 3 | 4 | #include "AST.h" 5 | #include "LuaFunction.h" 6 | 7 | ExpNode_Lambda::ExpNode_Lambda(const LuaFunctionMetaPtr& _meta): 8 | IExpNode(_meta->line), meta(_meta){ 9 | } 10 | -------------------------------------------------------------------------------- /C++/MemChk2/CrtAllocationHook.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void crtAllocation_beginHook(size_t minHookBytes); 4 | void crtAllocation_endHook(); 5 | void crtAllocation_dumpResults(size_t minDumpBytes, const char *file = NULL); 6 | void crtAllocation_clearResults(); -------------------------------------------------------------------------------- /C++/SSECompilerFlag/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | #include 9 | #include 10 | using namespace std; 11 | 12 | #endif // #ifndef PCH_H 13 | -------------------------------------------------------------------------------- /C++/SimpleRegExpr/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | #include 9 | #include 10 | using namespace std; 11 | 12 | #endif // #ifndef PCH_H 13 | -------------------------------------------------------------------------------- /C++/VCPS/bstTraverse/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /Lisp/ProjectEuler/10.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (require "utils.rkt") 4 | 5 | (define (sum-primes max) 6 | (stream-fold + 0 (stream-take-until prime-list (lambda (n) (>= n max)))) 7 | ) 8 | 9 | (sum-primes 10) 10 | (sum-primes 2000000) 11 | -------------------------------------------------------------------------------- /Misc/makefile_c++/Linux/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=1 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /SICP/chapter_4/19.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (require "01.rkt") 4 | 5 | (eval G 6 | '(let ((a 1)) 7 | (define (f x) 8 | (define b (+ a x)) 9 | (define a 5) 10 | (+ a b)) 11 | (f 10))) 12 | -------------------------------------------------------------------------------- /C++/CompactionWithHandle/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | 16 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson13_LRSyntaxParser/Common.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef COMMON_H 3 | #define COMMON_H 4 | 5 | #define ASSERT(b, msg) if (b); else (cout << "assert failed: " << msg), assert(b) 6 | 7 | string format(const char *fmt, ...); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson26_ImageFilteringJIT/makefile_var: -------------------------------------------------------------------------------- 1 | use_cpp0x=0 2 | build_dll=0 3 | macro_defs= 4 | include_dirs= 5 | lib_dirs= 6 | lib_files=AsmJit freeimageplus dl 7 | 8 | .PHONY: 9 | 10 | build_actions: 11 | 12 | clean_actions: 13 | 14 | -------------------------------------------------------------------------------- /C++/SinglePatternMatching/pch.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef PCH_H 3 | #define PCH_H 4 | 5 | #include 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | using namespace std; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /C++/TCPSocket/Scripts/c2sTaskGen.py: -------------------------------------------------------------------------------- 1 | # vi:fileencoding=utf-8 2 | 3 | import sys 4 | 5 | for i in range(int(sys.argv[1])): 6 | print '127.0.0.1:7788' 7 | print '/dev/null' 8 | print 2 9 | print 'GET ./main HTTP/1.0' 10 | print '' 11 | -------------------------------------------------------------------------------- /Misc/python_config/_pythonrc.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | 3 | try: 4 | import readline 5 | except ImportError: 6 | print "Module readline not available." 7 | else: 8 | import rlcompleter 9 | readline.parse_and_bind("tab: complete") 10 | -------------------------------------------------------------------------------- /SICP/chapter_2/23.scm: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (define (for-each f items) 4 | (cond 5 | ((null? items) items) 6 | (else (f (car items)) (for-each f (cdr items)))) 7 | ) 8 | 9 | (for-each (lambda (x) (newline) (display x)) (list 1 2 3 4 5 6)) 10 | -------------------------------------------------------------------------------- /C#/SourceLocalization/Src/Common/DataSheet.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | public class DataSheet 5 | { 6 | public string Name; 7 | public List> Rows = new List>(); 8 | } 9 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson21_AntlrLang/test.js: -------------------------------------------------------------------------------- 1 | 2 | a = [1, 2, 3] 3 | a = ['123', tostring(3)] 4 | a = 'a' + 4 5 | println(a) 6 | println(collectgarbage()) 7 | for (var i = 0; i < 10; ++i) { 8 | a = [tostring(i)] 9 | } 10 | println(collectgarbage()) 11 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson23_NASMCMinus/run_mac.sh: -------------------------------------------------------------------------------- 1 | 2 | srcfile=$1 3 | 4 | ./main $* 5 | 6 | nasm -f macho $srcfile.asm -o $srcfile.o 7 | gcc -m32 $srcfile.o -o $srcfile.exe 8 | cp $srcfile.asm __.asm 9 | 10 | ./$srcfile.exe 11 | 12 | rm $srcfile.* 13 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson32_VariousThreadedInterpreter/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson33_VariousThreadedInterpreter2/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | use_cpp0x=1 3 | build_dll=0 4 | macro_defs= 5 | include_dirs= 6 | lib_dirs= 7 | lib_files= 8 | 9 | .PHONY: 10 | 11 | build_actions: 12 | 13 | clean_actions: 14 | 15 | -------------------------------------------------------------------------------- /C++/LeetCode/27_RemoveElement.cpp: -------------------------------------------------------------------------------- 1 | class Solution { 2 | public: 3 | int removeElement(int A[], int n, int elem) { 4 | int len = 0; 5 | for (int i = 0; i < n; ++i) { 6 | if (A[i] != elem) A[len++] = A[i]; 7 | } 8 | return len; 9 | } 10 | }; 11 | -------------------------------------------------------------------------------- /Lisp/99Problems/33.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (define (gcd a b) 4 | (if (= a 0) 5 | b 6 | (gcd (remainder b a) a)) 7 | ) 8 | 9 | (define (coprime a b) 10 | (= 1 (gcd a b)) 11 | ) 12 | ;------------------------------ 13 | (coprime 35 64) 14 | -------------------------------------------------------------------------------- /C#/SchemeInterpreter/5_CompilingByteCode/5_CompilingByteCode/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/16.hs: -------------------------------------------------------------------------------- 1 | main = print output 2 | 3 | pow b e 4 | | e == 0 = 1 5 | | even e = sqr$ pow b (e `div ` 2) 6 | | otherwise = b * pow b (e - 1) 7 | where sqr x = x * x 8 | 9 | output = sum $ map (read. (:[])) $ show$ pow 2 1000 10 | -------------------------------------------------------------------------------- /Lisp/ProjectEuler/29.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (define nums (list->set empty)) 4 | 5 | (do ([a 2 (+ 1 a)]) 6 | ((> a 100)) 7 | (do ([b 2 (+ 1 b)]) 8 | ((> b 100)) 9 | (set! nums (set-add nums (expt a b))))) 10 | 11 | (length (set->list nums)) 12 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson23_NASMCMinus/BEx86ASMSerializer.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BE_x86_ASM_SERIALIZER_H 3 | #define BE_x86_ASM_SERIALIZER_H 4 | 5 | class BEx86FileBuilder; 6 | 7 | void serializex86Code_nasm(ostream &so, BEx86FileBuilder *fileBuilder); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/14.hs: -------------------------------------------------------------------------------- 1 | main = print output 2 | 3 | collatzLength n 4 | | n == 1 = 1 5 | | even n = 1 + collatzLength (n `div` 2) 6 | | otherwise = 1 + collatzLength (1 + n * 3) 7 | 8 | output = snd $ maximum $ map (\x->(collatzLength x,x)) [1..1000000] 9 | -------------------------------------------------------------------------------- /Lisp/99Problems/02.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (define (my-but-last l) 4 | (if (empty? (cddr l)) 5 | l 6 | (my-but-last (cdr l))) 7 | ) 8 | ;------------------------------ 9 | (my-but-last '(a b)) 10 | (my-but-last '(a b c)) 11 | (my-but-last '(a b c d)) 12 | -------------------------------------------------------------------------------- /Python/常见练习题/main_n位水仙花数: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | # coding=utf-8 3 | 4 | def shuixian(n): 5 | for i in range(10**(n - 1), 10**n): 6 | if sum(int(j)**n for j in str(i)) == i: 7 | yield i 8 | 9 | for i in shuixian(3): 10 | print i 11 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson29_SimpleInterpreter/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | #include 9 | #include 10 | using namespace std; 11 | 12 | #endif // #ifndef PCH_H 13 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson32_VariousThreadedInterpreter/pch.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef PCH_H 3 | #define PCH_H 4 | 5 | #include 6 | #include 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /C++/CompressionAlgo/makefile_var: -------------------------------------------------------------------------------- 1 | do_profiling=0 2 | test_coverage=0 3 | use_cpp0x=1 4 | build_dll=0 5 | macro_defs= 6 | include_dirs= 7 | lib_dirs= 8 | lib_files= 9 | 10 | .PHONY: 11 | 12 | build_actions: 13 | 14 | clean_actions: 15 | rm -f all.c bigFile main10 16 | -------------------------------------------------------------------------------- /C++/Currying/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | using namespace std; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM1/SValue.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | #include "SValue.h" 3 | 4 | SValue SValue::TRUE = SValue(true); 5 | SValue SValue::FALSE = SValue(false); 6 | SValue SValue::EMPTY = SValue::createReserved(1); 7 | SValue SValue::VOID = SValue::createReserved(2); 8 | -------------------------------------------------------------------------------- /C++/TCPSocket/Scripts/taskGen.py: -------------------------------------------------------------------------------- 1 | # vi:fileencoding=utf-8 2 | 3 | import sys 4 | 5 | for i in range(int(sys.argv[1])): 6 | print 'www.hhcomic.com' 7 | print 'tmp/%d.txt' % i 8 | print 2 9 | print 'GET http://www.hhcomic.com HTTP/1.0' 10 | print '' 11 | -------------------------------------------------------------------------------- /C++/TypeList/pch.h: -------------------------------------------------------------------------------- 1 | #ifndef PCH_H 2 | #define PCH_H 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | using namespace std; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /Haskell/ProjectEuler/31.hs: -------------------------------------------------------------------------------- 1 | main = print output 2 | 3 | solve n [] = 0 4 | solve n l@(x:rest) 5 | | n < x = 0 6 | | n == x = 1 7 | | otherwise = solve n rest + solve (n - x) l 8 | 9 | coins = [1,2,5,10,20,50,100,200] 10 | 11 | output = solve 200 coins 12 | -------------------------------------------------------------------------------- /Lisp/99Problems/01.rkt: -------------------------------------------------------------------------------- 1 | #lang racket 2 | 3 | (define (my-last l) 4 | (if (empty? (cdr l)) 5 | (car l) 6 | (my-last (cdr l))) 7 | ) 8 | ;------------------------------ 9 | (my-last '(a)) 10 | (my-last '(a b)) 11 | (my-last '(a b c)) 12 | (my-last '(a b c d)) 13 | -------------------------------------------------------------------------------- /Python/CompilerStudy/Lesson4_LLVMCMinus/makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all build clean 2 | 3 | all: build 4 | 5 | build: CMinus.tokens 6 | 7 | CMinus.tokens: CMinus.g 8 | java org.antlr.Tool CMinus.g 9 | 10 | clean: 11 | rm -f *pyc CMinus.tokens CMinusLexer.py CMinusParser.py 12 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson23_NASMCMinus/run.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | set -e 4 | 5 | srcfile=$1 6 | 7 | ./main $* 8 | nasm -f elf32 $srcfile.asm -o $srcfile.o 9 | gcc $srcfile.o -o $srcfile.exe 10 | cp $srcfile.asm __.asm 11 | 12 | ./$srcfile.exe 13 | 14 | rm $srcfile.* 15 | -------------------------------------------------------------------------------- /C++/CompilerStudy/Lesson27_TinyC/test.c: -------------------------------------------------------------------------------- 1 | 2 | int main() { 3 | // fjdskfjl 4 | // fjksldfjlk 5 | int i = 5; 6 | /* 7 | * fjdsklfsdl 8 | * jkldsjfs /f/ fjksdlfjkl*/ i = 3; 9 | i = 2+i; 10 | printf("hello %d\n", i); 11 | return 0; 12 | } 13 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/1_Simple/SchemePrinter.h: -------------------------------------------------------------------------------- 1 | #ifndef SCHEME_PRINTER_H 2 | #define SCHEME_PRINTER_H 3 | 4 | class SchemeRef; 5 | 6 | class SchemePrinter { 7 | public: 8 | 9 | static void printSExpression(ostream& so, const SchemeRef &exp); 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /C++/SchemeInterpreter/4_Class/VM2/SValue.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | #include "SValue.h" 3 | 4 | SValue SValue::TRUE = SValue(TT_Bool, 1); 5 | SValue SValue::FALSE = SValue(TT_Bool, 0); 6 | SValue SValue::EMPTY = SValue(TT_Reserved, 1); 7 | SValue SValue::VOID = SValue(TT_Reserved, 2); 8 | --------------------------------------------------------------------------------