This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
class Parent | |
def self.puts_var | |
puts self.class_variable_get(:@@CLASS_VAR) | |
end | |
def puts_var | |
puts self.class.class_variable_get(:@@CLASS_VAR) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<a:fontScheme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Lucida Grande+ヒラギノ角ゴ"><a:majorFont><a:latin typeface="Lucida Grande"/><a:ea typeface="ヒラギノ角ゴ ProN"/><a:cs typeface=""/></a:majorFont><a:minorFont><a:latin typeface="Lucida Grande"/><a:ea typeface="ヒラギノ角ゴ ProN"/><a:cs typeface=""/></a:minorFont></a:fontScheme> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ ~ | |
, 、 | |
. 。 | |
/ ・ | |
: ー | |
; っ | |
[ 「 | |
] 」 | |
a あ | |
ba ば |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# git commitしたときに全角チルダが含まれていたらコミットを拒否する | |
# \x8F\xA2\xB7 : EUC-JPで全角チルダ | |
# \xEF\xBD\x9E : UTF-8で全角チルダ | |
use strict; | |
use warnings; | |
our @files = `git diff-index --name-status HEAD | cut -c3-`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' Variant型の配列に要素を追加する | |
Sub Push(ByRef v As Variant, e) | |
ReDim Preserve v(UBound(v) + 1) | |
v(UBound(v)) = e | |
End Sub |
NewerOlder