loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.718090371502482","path":"main.rb","file":{"path":"main.rb","content":{"asEncoding":{"base64":"ZGVmIG5hbWVfdG9fYmluYXJ5KG5hbWUpCiAgbmFtZS5ieXRlcy5tYXAgZG8gfGxldHRlcnwKICAgIGxldHRlci50b19zKDIpCiAgZW5kCmVuZAoKI2V4YW1wbGUgCm5hbWVfdG9fYmluYXJ5KCJrYXJhIikgI3B1dCB5b3VyIG5hbWUsIGFuZCBydW4hCgojIAlbIjExMDEwMTEiLCAKIyAJICIxMTAwMDAxIiwgCiMgCSAiMTExMDAxMCIsIAojIAkgIjExMDAwMDEiXQoKIyBieSBAS2FyYUFKQyAgI1dvb1dvbyEgI2Jhc2VDUyAKCiMgZGVmIG9nX25hbWVfdG9fYmluYXJ5KG5hbWUpCiMgICBiaW5hcnlfbmFtZSA9IFtdCiMgICBuYW1lLmVhY2hfYnl0ZSBkbyB8bGV0dGVyfAojICAgICBiaW5hcnlfbmFtZSA8PCBsZXR0ZXIudG9fcygyKQojICAgZW5kCiMgICBiaW5hcnlfbmFtZQojIGVuZA=="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
def name_to_binary(name)
  name.bytes.map do |letter|
    letter.to_s(2)
  end
end

#example 
name_to_binary("kara") #put your name, and run!

# 	["1101011", 
# 	 "1100001", 
# 	 "1110010", 
# 	 "1100001"]

# by @KaraAJC  #WooWoo! #baseCS 

# def og_name_to_binary(name)
#   binary_name = []
#   name.each_byte do |letter|
#     binary_name << letter.to_s(2)
#   end
#   binary_name
# end
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]