Skip to content

Instantly share code, notes, and snippets.

@czj
Created June 9, 2018 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save czj/619e16d14a464562298e8686861e0624 to your computer and use it in GitHub Desktop.
Save czj/619e16d14a464562298e8686861e0624 to your computer and use it in GitHub Desktop.
Fake name generator (french/France)
#!/usr/bin/env ruby
require "json"
1000.times do
json = `curl --silent --insecure "https://api.namefake.com/french-france/random/"`
data = JSON.parse(json)
puts data["name"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment