Cheng's user avatar
Cheng's user avatar
Cheng's user avatar
Cheng
  • Member for 14 years, 10 months
  • Last seen more than 8 years ago
0 votes
1 answer
2k views

How to get current user's ssh public key from the Linux ssh server?

0 votes
1 answer
353 views

Why is Rails assets pipeline generate different .gz files generated every time?

1 vote
1 answer
727 views

Is Rails model class variables singleton across all the Unicorn instances?

2 votes
2 answers
376 views

How to get the user info by the public key the user sent over ssh?

0 votes
1 answer
165 views

NSTextField value is not updated immediately after model changes

2 votes
3 answers
107 views

Can a Bash function in pipe knows anything about the next function after it?

0 votes
1 answer
197 views

AOP programming in Bash? (Call something before bash function is executed?)

3 votes
1 answer
123 views

Reconstruct $@ and keep the correct word split in Bash

129 votes
12 answers
237k views

The way to check a HDFS directory's size?

4 votes
2 answers
1k views

Always 'proxy_pass' and require 'auth_basic' on requests started with '/admin'. How to write the nginx config?

1 vote
3 answers
2k views

Why redirect_to in around_filter or after_filter won't work?

1 vote
1 answer
283 views

How to get Ruby 1.9 regexp supports \p{Nonspacing_Mark}?

8 votes
3 answers
5k views

Can regular file reading benefited from nonblocking-IO?

17 votes
4 answers
8k views

What's the difference of using #!/usr/bin/env or #!/bin/env in shebang?

8 votes
4 answers
351 views

Can't use an array as default values for Ruby Hash? [duplicate]

6 votes
5 answers
7k views

Why doesn't RVM work in a bash script like it works in an interactive shell?

1 vote
2 answers
563 views

Interact with long-running bash script. Automatic inputs when certain outputs appears

1 vote
1 answer
739 views

If you `source` another file, `trap INT` defined before won't work?

33 votes
3 answers
14k views

How to list local-variables in Ruby?

1 vote
2 answers
113 views

Invoke an instance method without specify the instance by Ruby meta programing?

0 votes
1 answer
1k views

How to start a brand new process in Rails, without inherit current environment variables?

15 votes
4 answers
8k views

Give me a example of non-RESTful design?

1 vote
2 answers
180 views

`&:views_count` in `Post.published.collect(&:views_count)` [duplicate]

7 votes
3 answers
4k views

Why doesn't Ruby have a ThreadPool built-in?

0 votes
2 answers
167 views

How to access the parent collection in a each closure?

4 votes
3 answers
924 views

In the C source code of Ruby, where is the Ruby operator `=` defined?

1 vote
2 answers
1k views

Which Array method should I overwrite?

1 vote
1 answer
857 views

Rails response.format fallback?

0 votes
2 answers
720 views

Problem with running Ruby with Cron

9 votes
3 answers
3k views

How to performance/benchmark testing a Rails app with real world database?