Download miniconda3/share/doc/gettext/examples/hello-ruby/hello.rb from jasonfan/devboxbackup: direct link, hf CLI and curl.
- Browser
- Download file 208 Bytes
-
https://huggingface.co/datasets/jasonfan/devboxbackup/resolve/main/miniconda3/share/doc/gettext/examples/hello-ruby/hello.rb
- Command line
-
hf download hf://datasets/jasonfan/devboxbackup/miniconda3/share/doc/gettext/examples/hello-ruby/hello.rb
-
curl -L -o hello.rb https://huggingface.co/datasets/jasonfan/devboxbackup/resolve/main/miniconda3/share/doc/gettext/examples/hello-ruby/hello.rb
208 Bytes
| #!@RUBY@ | |
| require 'gettext' | |
| include GetText | |
| bindtextdomain("hello-ruby", :path => "@localedir@") | |
| puts _("Hello, world!") | |
| puts _("This program is running as process number %{pid}.") % { :pid => Process.pid } | |