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
root@devserv:/home/git/gitlab# service gitlab stop | |
Shutting down both Unicorn and Sidekiq. | |
GitLab is not running. | |
root@devserv:/home/git/gitlab# sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production | |
Instance method "lock!" is already defined in ActiveRecord::Base, use generic helper instead or set StateMachine::Machine.ignore_method_conflicts = true. | |
I, [2014-07-29T10:32:02.395550 #2807] INFO -- : Removed bg-header-d0fcbb9eb73ea6dabcbde70a035cde36.png | |
I, [2014-07-29T10:32:02.566806 #2807] INFO -- : Removed dark-scheme-preview-bdd944d1ba7d6c186422ad8156fc3c56.png | |
I, [2014-07-29T10:32:02.760289 #2807] INFO -- : Removed icon-search-6bed9233dffe64d227056f37ff064876.png | |
I, [2014-07-29T10:32:02.954358 #2807] INFO -- : Removed images-a36ba8cea06c6509f5c5526bbc5de6ec.png | |
I, [2014-07-29T10:32:03.111742 #2807] INFO -- : Removed logo-black-1c1baf3cef68de2ef61fe040f88fbf59.png |
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
public function setCustomValidationrules() | |
{ | |
$this->validator->addExtension('elevate_number', function($attribute, $value, $parameters) | |
{ | |
$elevate_num = $value; | |
if (empty($elevate_num)) { | |
return false; | |
} | |
if(strlen($elevate_num) != 11){ | |
return false; |
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
describe('ReceiptCtrl', function() { | |
describe('$scope.createEmailSub function', function(){ | |
var $scope; | |
beforeEach(function() { | |
module('receipt'); |
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
/*jshint jquery:true, browser:true, globalstrict:true, newcap: false, quotmark: single, unused:true, camelcase: true, eqeqeq: true, latedef: true, undef: true, maxlen: 80, indent: 2, trailing: true*/ | |
/*global angular, angularCartApp */ | |
(function() { | |
'use strict'; | |
angular.module('receipt', []) | |
.controller('ReceiptCtrl', ['$rootScope','$scope', '$location', '$cacheFactory', '$window', 'ReceiptData', 'UOHttp', 'Tracking', | |
function($rootScope,$scope, $location, $cacheFactory, $window, ReceiptData, UOHttp, Tracking) { | |
var loadMessaging = function() { |
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
{ | |
"emailAddress": "yes@yes.com", | |
"subscriptionSource": "Receipt", | |
"gender": "male", | |
"country": "100001" | |
} |
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
brand_code_to_associated_site = {"uo-us": Sites.UO_UK, "uo-eu": Sites.UO_US, "an-us": Sites.AN_UK, "an-eu": Sites.AN_US} | |
assocated_site = brand_code_to_associated_site.get(site.brand_code) | |
if not assocated_site: | |
return |
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
class PubSubUtil: | |
def __init__( | |
self, | |
logger=getLogger(__name__), | |
): | |
self.logger = logger | |
self.pub_sub_key = "my_key" | |
self.redis = redis.StrictRedis(host="redis", port=6379, db=0) | |
self.pubsub = self.redis.pubsub() |
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
-------------------------------------------------------- | |
-- File created - Friday-July-13-2018 | |
-------------------------------------------------------- | |
-------------------------------------------------------- | |
-- DDL for Table BRAND | |
-------------------------------------------------------- | |
CREATE TABLE "MCPDEV"."BRAND" | |
( "ID" NUMBER(11,0), | |
"NAME" VARCHAR2(20 BYTE) |
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
{ | |
"aggregations": { | |
"skus.colorwayNames": { | |
"aggregations": { | |
"skus.colorwayNames_nested": { | |
"aggregations": { | |
"skus.colorwayNames_reverseNested": { | |
"terms": { | |
"field": "skus.colorwayNames", | |
"order": [{ |
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
{ | |
"id": "uo-us-perm-markdown-override", | |
"searchType": "tile", | |
"channels": [ | |
"android", | |
"pos", | |
"web", | |
"ios" | |
], | |
"default": false, |
OlderNewer