Alternatives
Products that do what Two line ruby quine does
Thought you might like this. This Ruby program makes an exact copy of itself. c = "File.open('new.rb', 'w') {|f| f.write('c = ' + c.inspect + '\neval c') }" eval c
- 1RT
2018 · github.com
- 2FS
2014 · fullstackpython.com
- 3RO
2020 · learnbyexample.github.io
- 4NR
2013 · github.com
- 5CJ
2013 · ankane.github.io
- 6OA
2013 · omniref.com
- 7AW
2022 · github.com
- 8GA
2020 · greg-calendar.vercel.app
- 9CR
2020 · github.com
- 10BR
2015 · best-ruby.com
- 11RT
2012 · rubymotion-tutorials.com
- 12RS
2017 · github.com
- 13AJ
2012 · github.com
- 14EU
2018 · github.com
- 15NU
2015 · github.com
- 16MA
2020 · github.com
- 17AN
2021 · github.com
- 18KP
2020 · thibautbarrere.com
- 19RA
2017 · rubyproctor.com
- 20IM
2016 · github.com
- 21MU
2013 · github.com
- 22AM
2020 · gist.github.com
- 23PA
2011 · github.com
- 24NL
Hey folks, I just wanted to share a quick script I threw together called notational ls. One of the big problems of any code base (or any filesystem) is that it's hard to tell what's what - folder and file names often trade brevity for clarity. So I thought about a version of `ls` that works like this: > nls web: Where python web server files are stored ad_hoc: One time scripts ios: Our IOS code images Adding descriptions is really easy too: > nls images Images SHARED between both ios and web web: Where python web server files are stored ad_hoc: One time scripts ios: Our IOS code…
2011
Ranked by how close each launch is in meaning, then by votes. Refine with a description →