-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathencode.rb
25 lines (24 loc) · 1.72 KB
/
encode.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
aa = <<~AA
11111111111111111111000000000000000000000000000000000000000011111111111111111111
11111111111111111111000000000000000000000000000000000000000011111111111111111111
11111111111111111111000000000000000000011100000000000000000011111111111111111111
11111111111111111111000000000000000000111110000000000000000011111111111111111111
11111111111111111111000000000000001111111111110000000000000011111111111111111111
11111111111111111111000000000000001111111111110000000000000011111111111111111111
11111111111111111111000000000011001111111111110011000000000011111111111111111111
11111111111111111111000001111111110111111111101111111110000011111111111111111111
11111111111111111111000011111111111111111111111111111100000011111111111111111111
11111111111111111111000000111111111111111111111111111100000011111111111111111111
11111111111111111111000011111111111111111111111111111111000011111111111111111111
11111111111111111111000000011111111111111111111111111100000011111111111111111111
11111111111111111111000000000111111111111111111111100000000011111111111111111111
11111111111111111111000000000000111111111111111110000000000011111111111111111111
11111111111111111111000000000001111111111111111110000000000011111111111111111111
11111111111111111111000000000000000000011000000000000000000011111111111111111111
11111111111111111111000000000000000000011000000000000000000011111111111111111111
11111111111111111111000000000000000000011000000000000000000011111111111111111111
11111111111111111111000000000000000000011000000000000000000011111111111111111111
11111111111111111111000000000000000000000000000000000000000011111111111111111111
AA
str = aa.gsub("\n", '').reverse.to_i(2)
puts [Marshal.dump(str)].pack('m').gsub("\n", '')