Git Product home page Git Product logo

check-diff-file's Introduction

Check-Diff-File

A little python script help me to figure out what difference between two similar project.

Motivation

I tried to compile linux kernel with compiler flag -O0. This is tough for me because I'm a newbie of linux kernel and I can't solve most of error complain by compiler.

As a GOP(google oriented programming) believer, I googled this question to find some useful suggestion. Most of them said that I can't compile kernel with O0 flag cause it should be compiled with O2 flags!

Fortunately, I found a book called runninglinuxkernel, the author modified linux kernel and compiled it with O0! He also shared this project in github. Since I want to know how to solved the error complained by compiler not just take other project and run it. After I emailed to author, the author replied me but he told me all I need to do is solved every error I met when compile kernel. And it is hard to be explained in a few words.

So I came an idea, why not just compare two project: the original 5.0 kernel and the modifed one? So I make this project to compare the files of two projects intersectin and calulate files hash then compare it.

(poor english, feel free to correct it :D)

Usage

./compare_project.py [absolute project path 1] [absolute project path 2]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.