Created
May 1, 2011 05:03
-
-
Save nodakai/950268 to your computer and use it in GitHub Desktop.
Test gist
This file contains 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/ruby | |
# -*- coding: utf-8 -*- | |
# ex: set fileencoding=utf-8 : | |
def main | |
puts <<-EOS | |
はてなにGistを埋め込むテスト | |
EOS | |
end |
This file contains 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/python | |
# -*- coding: utf-8 -*- | |
# ex: set fileencoding=utf-8 : | |
import re | |
def main(): | |
msg = u'Rubyのマジックコメントの仕様はPythonから借りてきたんですね' | |
print msg | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment