ComIt (Compile It) is a online compiler made by using HackerEarthApi's.
- Just simply run the code using your Linux Terminal.
- No need to install any package.
Linux :
install git using : sudo apt-get install git
git clone https://github.com/iMshyam/ComIt.git
cd ComIt
python config.py
exit
Ctrl+Alt+t(restart the terminal)
Windows:
install Python
if cmd doesn't understand python then you need to set environment variable 'python'
For setting environment variable open Windows Power-Shell and paste : [Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27", "User")
now download this
extract "ComIt-master"
open cmd as "ADMIN"
run configWindows.py in cmd
#in my case(or the file is extracted in Downloads\ComIt-master)
#so i pasted it in cmd : cd %userprofile%\Downloads\ComIt-master\
#and then run : python configWindows.py
click on 'YES' when asked for adding Registry
restart cmd(no need to open as Admin)
#it's important to open cmd as admin and restart cmd
(same for both windows and linux)
comit 'Name of file containing code with location' 'Input File Name with location'
#Location is required if the file is in another folder
#No need to provide input file name if there is no input
for example : (in this example i'm writing all permutations of 12 and 123 in increasing order.)
Ctrl+Alt+t
cd ComIt
comit test.py input.text
# or location of test.py and input.txt
2.1
all supportes languages till now are:
- C
- C++
- Python
- Java
- Objective-C
- Perl
- PHP
- ruby
- C#
- Haskell
- Clojure
ComIt uses :
-
python and
-
HackerEarth Api's
to work properly.
Licensed under -
The MIT License (MIT)
Free Software