This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream QAirServer_server{ | |
server unix:/opt/QAirServer/shared/sockets/puma.sock fail_timeout=0; | |
} | |
server { | |
listen 443 default deferred ssl; | |
server_name qairapp.com; | |
root /opt/QAirServer/current/public; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ]; then | |
source /usr/local/share/chruby/chruby.sh | |
source /usr/local/share/chruby/auto.sh | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +linjunpop is my openname (Bitcoin username). https://onename.io/linjunpop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "UIImageView+Qiniu.h" | |
#import <UIImageView+AFNetworking.h> | |
@implementation UIImageView (Qiniu) | |
- (void)qiniu_setImageWithURL:(NSURL *)url { | |
NSURLComponents *components = [[NSURLComponents alloc] initWithURL:url resolvingAgainstBaseURL:NO]; | |
CGFloat scale = [[UIScreen mainScreen] scale]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TM_RUBY: /Users/Jun/.rvm/bin/rvm-auto-ruby | |
GEM_HOME: env | grep GEM_HOME | awk '{ sub(/GEM_HOME=/, ""); print }' | |
GEM_PATH: env | grep GEM_PATH | awk '{ sub(/GEM_PATH=/, ""); print }' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group :development do | |
gem 'capistrano' | |
gem 'capistrano-ext' | |
gem 'capistrano-gitflow' | |
gem 'capistrano_colors' | |
end |
Ctags command for rails project with RVM
$ ctags --extra=+f --exclude=.git --exclude=log --exclude=tmp --exclude=public --exclude=spec/fixtures --exclude=db --langmap="ruby:+.rake.builder.rjs" --languages=-javascript -R *
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/Cellar/rbenv/0.3.0/versions/rbx-1.2.4/bin/rbx extconf.rb | |
creating Makefile | |
make | |
gcc -I. -I/usr/local/Cellar/rbenv/0.3.0/versions/rbx-1.2.4/include -I/usr/local/Cellar/rbenv/0.3.0/versions/rbx-1.2.4/include -I. -I'/usr/local/Cellar/rbenv/0.3.0/versions/rbx-1.2.4/include' -fPIC -ggdb3 -O2 -fPIC -c ruby18_source_location.c | |
ruby18_source_location.c:2:18: error: node.h: No such file or directory | |
ruby18_source_location.c:24: error: expected specifier-qualifier-list before ‘NODE’ | |
ruby18_source_location.c:28: error: expected specifier-qualifier-list before ‘NODE’ | |
ruby18_source_location.c: In function ‘Init_ruby18_source_location’: | |
ruby18_source_location.c:54: error: ‘rb_cUnboundMethod’ undeclared (first use in this function) |
OlderNewer