Giter Club home page Giter Club logo

ideone's Introduction

-*- mode: org -*-

IDEone for Emacs!

ideone.el is a simple wrapper for IDEone’s SOAP API that works using emacs soap client. IDEone is an online code paste site which features sophisticated compiler sandbox’ing (i.e. you can run code and get results)! It features a wide variety of languages, and has become a standard for snippet sharing on places like stackoverflow and IRC #c++@Freenode.

ideone.el provides a way to work with IDEone directly from Emacs. It allows you to post code in any of the IDEone supported languages, compile, see results and easily share the code with others. It also allows you to easily wisk in IDEone snippets from others’ with a keystroke, then analyze, modify, and re-submit.

Due to current limitations of the soap client, the provided WSDL is slightly modified to work with it, and distributed together.

Author

Brian Fransioli (assem <AT> terranpro.org)

Features

  • Submission Creation
  • Submission Retrieval (and modification!)
  • Recent Submissions

Installation

Obtaining

git clone git://github.com/terranpro/ideone.git ideone

Emacs Configuration

(load-library “~/elisp/ideone/ideone.el”)

(setq ideone-user “IDEONE_USERID”) (setq ideone-pass “IDEONE_API_PASSWD”)

(ideone-init)

;; If you encounter problems try this: ;;(ideone-enable-debug)

Usage

Command Reference

M-x ideone-get-submission

Attempt to retrieve an IDEone url at point, else request the user input a valid IDEone address of either form:

http://ideone.com/45AzL

or

45AzL

M-x ideone-create-submission

For the current buffer (or active region inside current buffer), create a submission using the currently active, buffer settings. These include:

  • language (if not set, will guess using major mode)
  • compile T/F
  • input (TODO)

M-x ideone-set-submission-lang

Perform a completing read from the user on the selection of submission language. The user can choose from all of the supported IDEone languages.

Keystrokes Reference

C-c I gGet Submission
C-c I sCreate Submission

Feedback

All suggestions, comments, bugs, or complaints to (assem AT terranpro.org) or contact through github.

Enjoy!

ideone's People

Contributors

terranpro avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.