Search code examples
EXAMPLE-A
ruby
hidden-files
Hidden file in ruby
Can we create a hidden file using ruby?
Solution
File.open('/path/to/.hiddenfile', 'w') {|f| f.write(doc) }
How to use x-www-form-urlencoded in rails
Can Anemone crawl html files stored locally on my hard drive?
How can I check if a string ends with a particular substring in Liquid?
Ruby's Net::SSH is limited to 3 authentication tries while OpenSSH client is not
Testing hash contents using RSpec
EventSource / Server-Sent Events through Nginx
Installing mysql2 gem for Ruby on Rails with Mac OSX 10.6
Dry-validation how to allow array of hashes with nil value
How to create a file in Ruby
How to test with Rspec that a key exists inside a hash that contains an array of hashes
How to create a git repository in memory?
Strange bundle update issue: disappearing net-pop (0.1.2) dependency
How to create a Ruby DateTime from existing Time.zone for Rails?
Why use /app/lib instead of /lib in Rails?
Set raw value with Rails.cache.write
URI Extract escaping at colons, any way to avoid this?
RegEx problem or maybe another solution altogether?
How to disable a form submit button "a là Ruby on Rails Way"?
How to get url of Active Storage image
mini_racer gem 0.8.0 fails bundle install with Ruby 3.1.x
Why does Ruby have both private and protected methods?
Running bundle install on my Ruby on Rails application is generating errors on sqlite3 and nio4r
Accessing the app name from inside a rails template when generating rails app
Remove invalid bytes, keep valid UTF-8 (in Ruby 2)
diff a ruby string or array
How to embed text into cucumber report with ruby?
Running a method after the initialize method
bundle exec jekyll serve not working locally
Own configure block method not found in initializer
One liner in Ruby for displaying a prompt, getting input, and assigning to a variable?