Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save codesnik/382251 to your computer and use it in GitHub Desktop.
Save codesnik/382251 to your computer and use it in GitHub Desktop.
# должно помочь с кириллицей в .to_yml
ruby -lpe 'gsub!(/\\x(..)/){ "%c" % $1.to_i(16) }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment