Last active
October 12, 2015 13:00
-
-
Save dskecse/948558caf4d507250c3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:io.format "The number is ~.2f~n", [5.578] | |
# => "The number is 5.58" | |
System.get_env "RUBYOPT" | |
# => "-rauto_gem" | |
Path.extname "dave/test.exs" | |
# => ".exs" | |
System.cwd | |
# => "/home/dskecse/code/elixir/github.com/elixir-code" | |
# https://github.com/talentdeficit/exjsx (jsex in the past) | |
JSX.decode "{\"library\": \"jsx\", \"awesome\": true}" | |
# => {:ok, %{"awesome" => true, "library" => "jsx"}} | |
:os.cmd 'uname -ra' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment