Skip to content

Instantly share code, notes, and snippets.

@BenWhitehead
Created October 6, 2016 02:45
Show Gist options
  • Save BenWhitehead/cc31707177158bd8a161df2f7511dd51 to your computer and use it in GitHub Desktop.
Save BenWhitehead/cc31707177158bd8a161df2f7511dd51 to your computer and use it in GitHub Desktop.
object HelloPixel {
def main(args: Array[String]): Unit = {
val chars = Seq(
"01010100", "01101000", "01100101", "00100000", "01101110",
"01100101", "01111000", "01110100", "00100000", "01100011",
"01101000", "01100001", "01110000", "01110100", "01100101",
"01110010", "00100000", "01101001", "01110011", "00100000",
"01101000", "01100101", "01110010", "01100101", "00101110"
).map(Integer.valueOf(_, 2)).map(_.toChar)
println(chars.mkString(""))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment