Posts

Featured Post

Tmux with Native Copy and Paste

This is a great tip and productivity enhancer.  You can now do native copy and paste with Tmux and OSX starting with Tmux 1.8

The guys over at thoughbot put this together and it's a good tip.

You'll use the new copy-pipe command to setup defaults in your tmux config. See the details in their post.


http://robots.thoughtbot.com/tmux-copy-paste-on-os-x-a-better-future

How do you interpolate strings in Elixir?

How do you interpolate strings in Elixir?

You use #{} in strings to add in elixir  iex> IO.puts "Hello #{:world}"

What are booleans in Elixir?

What are booleans in Elixir?

Booleans are actually Elixir atoms

What are boolean values in Elixir?

What are boolean values in Elixir?

The two boolean values are:

iex> true
true
iex> false
false

How many ways can I write numbers in Elixir?

How many ways can I write numbers in Elixir?

You can write them in:

DecimalBinaryOctalHexadecimal iex> 1.0 1.0 iex> 10 10 iex> 0b1010 10 iex> 0o777 511 iex> 0x1F 31

Where can I ask questions about Elixir?

Where can I ask questions about Elixir?

You can ask on:

IRC: #elixir-lang at freenode IRCSlack: https://elixir-slackin.herokuapp.com/Elixir Forum: https://elixirforum.com/Stackoverflow: https://stackoverflow.com/questions/tagged/elixir

How do I run a elixir script?

How do I run a elixir script?

Type in a file:
IO.puts "Hello World!"
Then execute:
$ elixir simple.exs

How do I print output in Elixir?

How do I print output in Elixir?
IO.puts "Hello World!"