Skip to content

Instantly share code, notes, and snippets.

@tacitphoenix
Created August 11, 2016 02:26
Show Gist options
  • Save tacitphoenix/cf185ed2039c5a8fe784904c908ecb73 to your computer and use it in GitHub Desktop.
Save tacitphoenix/cf185ed2039c5a8fe784904c908ecb73 to your computer and use it in GitHub Desktop.
Ruby
start - irb
help - help, then String, String#<TAB>, String.chop
clear - CTRL+L, system(‘clear’)
load file - require “./name.rb” (run keep functions), source “./name.rb” (run keep functions and variables)
exit - exit
Elixir
start - iex
help - h e.g h String, h String.<TAB>, String.chop
clear - clear
load file - import_file “./name.ex"
exit - CRTL+C, CTRL+C
Clojure
start - lein repl
help - (doc println), (find-doc “println")
clear - CTRL+L
load file - (load-file “./name.clj”)
exit - (exit)
Python
start - python, python3
help - help(), then StringIO
clear - CTRL+L
load file - execfile(“./name.py”)
exit - quit()
Node
start - node
help - .help
clear - CTRL+L
load file - .load name.js
exit - .exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment