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
diff --git a/app/controllers/shops_controller.rb b/app/controllers/shops_controller.rb | |
index dff3678..16d99e1 100644 | |
--- a/app/controllers/shops_controller.rb | |
+++ b/app/controllers/shops_controller.rb | |
@@ -20,7 +20,7 @@ class ShopsController < ApplicationController | |
def show | |
respond_to do |format| | |
- format.json { render :json => ApiShop.find_by_id(params[:id], current_user.meez_name), :content_type => "application/json" } | |
+ format.json { render :json => ApiShop.find_by_id_and_gender(params[:id], params[:gender]), :content_type => "application/json" } |
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
You're using: resque-rollbar 0.0.1. The latest version is 0.0.4 | |
You're using: nvd3-rails 0.0.1. The latest version is 0.0.1.1 | |
You're using: activerecord-import 0.4.1. The latest version is 0.5.0 | |
You're using: bootstrap-wysihtml5-rails 0.3.1.21. The latest version is 0.3.1.24 | |
You're using: shopify-mock 0.1.4. The latest version is 0.1.2 | |
You're using: omniauth-bigcommerce 0.2.0. The latest version is | |
You're using: premailer-rails 1.4.0. The latest version is 1.7.0 | |
You're using: netguru 0.0.7.13. The latest version is | |
You're using: jquery-datatables-rails 1.11.2. The latest version is 1.12.2 | |
You're using: geckoboard-push 0.1.2. The latest version is 0.1.0 |
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
[{"A_mcapp"=> | |
{"*.inline"=> | |
{:provider=>"test", | |
:tags=> | |
{"id"=>"MZ_300x600_AUDIO_ON", | |
"div_id"=>"1384374491540-4", | |
"_type"=>"inline"}, | |
:size=>"300x250"}, | |
"home.inline"=> | |
{:provider=>"propel", |
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
git_commit() { | |
cmd='git commit -am "[#' | |
space=' "' | |
BUFFER=$cmd$(pbpaste)]$space | |
zle get-line | |
zle end-of-line | |
zle backward-char | |
} | |
zle -N git_commit |
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
diff --git a/app/models/setting/ads.rb b/app/models/setting/ads.rb | |
index f9361c6..5cf650b 100644 | |
--- a/app/models/setting/ads.rb | |
+++ b/app/models/setting/ads.rb | |
@@ -1,7 +1,7 @@ | |
class Setting::Ads | |
include Mongoid::Document | |
- CACHE_KEY = "ads_config" | |
+ CACHE_KEY = "ads-config" |
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
You're using: groupdate 2.3.0. The latest version is 2.4.0 | |
You're using: client_side_validations 3.2.2. The latest version is 3.2.6 | |
You're using: activeadmin 1.0.0.pre. The latest version is 0.6.3 | |
You're using: actionmailer 4.0.5. The latest version is 4.2.0 | |
You're using: actionpack 4.0.5. The latest version is 4.2.0 | |
You're using: active_utils 1.0.3. The latest version is 2.2.3 | |
You're using: activemerchant 1.26.0. The latest version is 1.45.0 | |
You're using: activemodel 4.0.5. The latest version is 4.2.0 | |
You're using: activerecord 4.0.5. The latest version is 4.2.0 | |
You're using: activesupport 4.0.5. The latest version is 4.2.0 |
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
use std::io; | |
use std::rand; | |
enum Ordering { | |
Bigger, | |
Smaller, | |
Equal, | |
} | |
fn cmp(x: usize, y: usize) -> Ordering { |
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
./etcd -name infra0 -initial-advertise-peer-urls http://10.0.15.30:2380 \ | |
-listen-peer-urls http://10.0.15.30:2380 \ | |
-listen-client-urls http://10.0.15.30:2379,http://127.0.0.1:2379 \ | |
-advertise-client-urls http://10.0.15.30:2379 \ | |
-initial-cluster-token etcd-cluster-1 \ | |
-initial-cluster infra0=http://10.0.15.30:2380,infra1=http://10.0.15.31:2380 \ | |
-initial-cluster-state new | |
./etcd -name infra1 -initial-advertise-peer-urls http://10.0.15.31:2380 \ | |
-listen-peer-urls http://10.0.15.31:2380 \ |
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
for word in $(grep 'a\|e\|i\|o\|u' /usr/share/dict/web2) | |
do | |
if [ `echo $word | tr -cd 'aeiou'` == "aeiou" ] && [ `echo $word | tr -cd 'aeiou' | wc -c` == 5 ]; then | |
echo $word | |
fi | |
done |
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
git_commit() { | |
cmd='git commit -a -m "" -m "[' | |
space='"' | |
BUFFER=$cmd$(pbpaste)]$space | |
zle get-line | |
zle end-of-line | |
zle backward-word | |
zle backward-word | |
zle backward-word | |
zle forward-char |
OlderNewer