BaseHangul은 한글을 이용한 바이너리 인코딩입니다. 바이너리 데이터를 KS C 5601 규격에 포함된 한글 문자로 변환합니다.
5바이트(40비트)가 4글자가 됩니다.
@@ -1,10 +1,10 @@ | |
.highlight, html .gist .gist-file .gist-syntax .gist-highlight { | |
- table td.code { width: 100%; } | |
+ table td.code, td.line-data { width: 100%; } | |
border: 1px solid $pre-border !important; | |
} | |
.highlight .line-numbers, html .gist .gist-file .gist-syntax .highlight .line_numbers { | |
text-align: right; | |
- font-size: 13px; | |
+ font-size: 13px !important; |
class Happy | |
def initialize | |
print "#{self.class} New " | |
@year = Time.new.year | |
end | |
def method_missing(meth) | |
puts "#{__method__.to_s[/\w+/].capitalize} #{@year}#{meth.to_s[/\W+/]}" | |
end | |
end |
@@ -166,20 +166,6 @@ article { | |
} | |
-figure.code { | |
- .highlight { | |
- background: #212C3B !important; | |
- | |
- .gutter { | |
- display: none; |
def print_maze(width, height, hori_walls, vert_walls) | |
puts ' ' + '-' * (width * 2 - 1) | |
(height - 1).times do |y| | |
print '|' | |
(width - 1).times do |x| | |
print ' ' | |
print hori_walls[y][x] ? '|' : ' ' | |
end | |
puts ' |' |
class String | |
def to_s | |
'String' | |
end | |
end | |
class Fixnum | |
def to_s | |
'Fixnum' | |
end |
y=gets.to_i;puts (1..12).select{|m|Time.new(y,m).wday<1} |
require 'unicode' | |
Dir.glob('*') do |f| | |
normalized_f = Unicode::normalize_C(f) | |
if f != normalized_f | |
puts "Renaming #{f} to #{normalized_f}" | |
File.rename(f, normalized_f) | |
end | |
end |
I hereby claim:
To claim this, I am signing this object: