|
You are here |
nondv.wtf | ||
| | | | |
endofline.wordpress.com
|
|
| | | | | Here's a quick one liner in ruby that finds all of the binaries on your PATH: Dir[*ENV['PATH'].split(':').map{|p| p+"/*"}].select{|f| File.executable? f}.map{|f| File.basename f}.uniq How does it work? Working in the order of execution, we get the PATH from your environment variables. Next we split by : the path separator, and then add "/*" to it. This... | |
| | | | |
www.byjp.me
|
|
| | | | | github.com Ruby-DLC is now available on github, and consequently as a gem! You can install with1: gem sources -a https://gems.github.com sudo gem install jphastings-dlc There's a gist explaining how to use the library and the rdoc documentation is still available on my project page. Please file an issue if you have any problems with the code, I haven't checked it thoroughly! Import note: This syntax is incorrect today, and the code only supports Ruby 1.x, so you'll have to make your own way if you're interested in using this!?? | |
| | | | |
www.alfredo.motta.name
|
|
| | | | | [AI summary] Alfredo Motta promotes coding workshops in London for Ruby, Ruby on Rails, and JavaScript, emphasizing hands-on learning and community engagement. | |
| | | | |
blog.cleancoder.com
|
|
| | | |||