Giter Club home page Giter Club logo

codex's People

Contributors

jaagrav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

codex's Issues

Getting issue in string program

Enter string s1: String s2: Akasg

./Playground/file0.c: In function 'main':
./Playground/file0.c:7:19: warning: array subscript has type 'char' [-Wchar-subscripts]
7 | for (i = 0; s1[i] != '\0'; ++i) {
| ^
./Playground/file0.c:8:11: warning: array subscript has type 'char' [-Wchar-subscripts]
8 | s2[i] = s1[i];
| ^
./Playground/file0.c:8:19: warning: array subscript has type 'char' [-Wchar-subscripts]
8 | s2[i] = s1[i];
| ^
./Playground/file0.c:11:7: warning: array subscript has type 'char' [-Wchar-subscripts]
11 | s2[i] = '\0';
Capture

API issue

more details in CodeX-API issue #38

image

application error while using infinite loop with c/c++

I encountered this issue while I make a POST request with c/c++ language and code contains an infinite loop like while(true), instead of sending the response like "your code took too long to execute" the whole website along with APIs, is unresponsive and sends the same default response template of heroku saying "application error".

Cors origin error

When i try to post request in reactjs it throws cors origin error

CORS policy issue

You have to allow all origins in order to let everyone call your API.

CORS Error, While Using in ReactJS Application

I'm trying to use this api in my ReactJS application, and facing CORS error.

Code:
var data = JSON.stringify({
code: public class program{ public static void main(String [] args){ System.out.println("Hello"); } },
language: "java",
input: "",
});

  const response = await axios.post(
    "https://codexweb.netlify.app/.netlify/functions/enforceCode",
    {
      data: data,
    },
    {
      headers: {
        "access-control-allow-origin": "*",
        "Content-type": "application/json; charset=UTF-8",
      },
    }
  );

Error ScreenShot:
image

User guide for setup?

Hi,

Do you have a user guide for installation and setup ?
such as how to connect to the API.
I can start front-end and back-end service, but have no idea how to make the CodeX connect to the API.

Great thanks.

How to ignore compiler warnings in cpp?

The compiler throws warnings in the output even for small things...
For example, here I have not used a variable even though I have declared it.. Now the compiler throws me this warning

./Playground/file0.cpp: In function 'int main()':
./Playground/file0.cpp:28:12: warning: unused variable 'es' [-Wunused-variable]
28 | int es = 0;

I have to parse and sanitise the output before showing it on the website. Is there any way for me to disable the warnings?

Btw, thanks for designing and providing the API for free :)

Unable to access API

Api Is down and receiving error code:

response: {
status: 503,
statusText: 'Service Unavailable',
headers: {
connection: 'close',
server: 'Cowboy',
date: 'Sun, 30 Oct 2022 07:40:57 GMT',
'content-length': '506',
'content-type': 'text/html; charset=utf-8',
'cache-control': 'no-cache, no-store'
},

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.