GithubHelp home page GithubHelp logo

emacsmirror / 4clojure Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emacsorphanage/4clojure

0.0 1.0 0.0 48 KB

Open and evaluate 4clojure.com questions

Home Page: https://github.com/abend/4clojure.el

License: GNU General Public License v3.0

Emacs Lisp 100.00%

4clojure's Introduction

4clojure.el

Open and evaluate 4clojure questions.

Install

Use M-x package-install RET 4clojure to install. Make sure you have the MELPA package archive enabled in your init.el or .emacs and your package contents are up to date (use M-x package-refresh-contents if you can’t find the 4clojure package and you’ve added MELPA to your package archives.

Usage

  1. To open a specific problem: M-x 4clojure-open-question RET 2 opens question 2.
  2. To check your answers: M-x 4clojure-check-answers
  3. To open the next question (opens the first if you’re not in a 4clojure buffer): M-x 4clojure-next-question
  4. To open the previous question (opens the first if you’re not in a 4clojure buffer): M-x 4clojure-previous-question

Tips and Tricks

Start a cider/nREPL connection when you open a question

If you want to try out your solutions before you submit them, you can run them from emacs with cider. Make sure you have cider installed (M-x package-install cider) and add the following to your .emacs or init.el:

(require 'cider)

(defadvice 4clojure-open-question (around 4clojure-open-question-around)
  "Start a cider/nREPL connection if one hasn't already been started when
opening 4clojure questions"
  ad-do-it
  (unless cider-current-clojure-buffer
    (cider-jack-in)))

Helping out

If you want to help out, great! This is my first emacs plugin, so help is much appreciated. Open an issue or check out the existing issues list for some ideas on what might need updating/fixing.

License

Same as Emacs, see the file LICENSE for more info

4clojure's People

Contributors

abend avatar abenea avatar losingkeys avatar phelanm avatar purcell 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.