ruby simple http server ruby -run -e httpd . -p 8000 #http (2) #server (1) #ruby (15) List Please enable JavaScript to view the comments powered by Disqus. Get content-type of file on rails x1wins@changwoo.net $ gem install mime-t...... #content-type (1) #rails (39) #ruby (15) ruby multi process with fork x1wins@changwoo.net [Screen Shot 2019-09...... #thread (1) #process (1) #ruby (15) ruby raise rescue example x1wins@changwoo.net def test_a puts "...... #exception (1) #raise (1) #ruby (15) Ruby Convert time duration to Percentages x1wins@changwoo.net I'd like show that e...... #rails-encoding (8) #ruby (15) ruby run bash script x1wins@changwoo.net $ irb ok = system('...... #rails-encoding (8) #ffmpeg (3) #ruby (15) killall x1wins@changwoo.net sudo killall ruby ht...... #bash (3) #ruby (15) SHA256 ruby kotlin x1wins@changwoo.net ### Ruby key = "thi...... #irb (3) #java (2) #kotlin (1) #sha256 (1) #hmac (1) #hash (2) #ruby (15) What does meaning &: on &:present? on ruby? x1wins@changwoo.net The &:present? synta...... #ruby (15) #&operation (1) ruby-kafka with docker-compose kafka x1wins@changwoo.net Setup ruby-kafka 1....... #docker-compose (9) #docker (30) #kafka (1) #ruby (15) Ruby collection method x1wins@changwoo.net each a = [{b: 1}, {...... #ruby-collection-method (1) #rails (39) #each (1) #for-loop (1) #ruby (15)