{
"orders":{
"order":[
{
"order_id":"1-test",
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
echo "deb http://apt.postgresql.org/pub/repos/apt/ utopic-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install postgresql-9.3 postgresql-server-dev-9.3 postgresql-contrib-9.3 postgresql-contrib -y | |
sudo su - postgres -c "psql template1 -p 5433 -c 'CREATE EXTENSION IF NOT EXISTS hstore;'" | |
sudo su - postgres -c "psql template1 -p 5433 -c 'CREATE EXTENSION IF NOT EXISTS citext;'" | |
sudo su - postgres -c "psql template1 -p 5433 -c 'CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";'" | |
sudo su - postgres -c "service postgresql stop" | |
sudo su - postgres -c '/usr/lib/postgresql/9.3/bin/pg_upgrade -b /usr/lib/postgresql/9.1/bin -B /usr/lib/postgresql/9.3/bin -d /var/lib/postgresql/9.1/main/ -D /var/lib/postgresql/9.3/main/ -O "-c config_file=/etc/postgresql/9.3/main/postgresql.conf" -o "-c config_file=/etc/postgresql/9.1/main/postgresql.conf"' |
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
<script> | |
// В catalog_number необходимо передать артикул товара, который в данный момент просматривает покупатель. | |
// В ignore необходимо передать id собственных прайсов. Нужно это для того чтобы покупателю не показывалась дважды ваше предложение. Первое - содержимое вашей страницы, с вашим предложением, Второе - ваше предложение, полученное из сети. | |
var catalog_number, ignore, ignore_str, request; | |
catalog_number = '04152-YZZA1'; | |
ignore = [263, 264]; |
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
require 'soundcloud' | |
# create client object with app and user credentials | |
client = Soundcloud.new(:client_id => '9d4172e33cae2f8b20ef5603e494bc1d', | |
:client_secret => 'bee1d79bb85a00f4ccc2cefe1377d737', | |
:username => '[email protected]', | |
:password => 'Qwer3322!') | |
puts client |
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
702 23:17:19 TerminalCFG.exe IRP_MJ_WRITE Serial5 SUCCESS Length 17: 32 34 63 5F 72 64 3A 30 31 30 30 30 2C 33 30 30 0A | |
722 23:17:21 TerminalCFG.exe IRP_MJ_READ Serial5 SUCCESS Length 1: 32 2 | |
963 23:17:21 TerminalCFG.exe IRP_MJ_READ Serial5 SUCCESS Length 1: 34 4 | |
1234 23:17:21 TerminalCFG.exe IRP_MJ_READ Serial5 SUCCESS Length 1: 63 c | |
1467 23:17:21 TerminalCFG.exe IRP_MJ_READ Serial5 SUCCESS Length 1: 5F _ | |
1688 23:17:21 TerminalCFG.exe IRP_MJ_READ Serial5 SUCCESS Length 1: 72 r | |
1965 23:17:21 TerminalCFG.exe IRP_MJ_READ Serial5 SUCCESS Length 1: 65 e | |
2211 23:17:21 TerminalCFG.exe IRP_MJ_READ Serial5 SUCCESS Length 1: 74 t | |
2472 23:17:21 TerminalCFG.exe IRP_MJ_READ Serial5 SUCCESS Length 1: 75 u | |
3253 23:17:21 TerminalCFG.exe IRP_MJ_READ Serial5 SUCCESS Length 1: 72 r |
Для размещения кода ретаргетёра заполните следующие поля на странице https://www.gdeslon.ru/retargets
Выберите один из допустимых предикатов для условия отображения кода:
contains
- содержит
Для управления кодами ретаргетёров перейдите по https://www.gdeslon.ru/admin/retargets будучи имея соответствующие права (менеджер, админ) и производите желаемые действия:
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@0993fea07a16:/app/db/migrate# rake db:migrate | |
(in /app) | |
D, [2018-03-21T00:16:46.850190 #55] DEBUG -- : (1.4ms) SELECT pg_try_advisory_lock(3372214896220972305) | |
D, [2018-03-21T00:16:46.861403 #55] DEBUG -- : (2.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC | |
I, [2018-03-21T00:16:46.862738 #55] INFO -- : Migrating to AddInitiatorToSales (20180306170359) | |
D, [2018-03-21T00:16:46.864178 #55] DEBUG -- : (0.4ms) BEGIN | |
== 20180306170359 AddInitiatorToSales: migrating ============================== | |
-- add_column(:sales, :initiator, :string) | |
D, [2018-03-21T00:16:46.869565 #55] DEBUG -- : (4.4ms) ALTER TABLE "sales" ADD "initiator" character varying | |
-> 0.0053s |
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
gdeslon=# begin; | |
BEGIN | |
gdeslon=# UPDATE sales SET initiator = 'human' WHERE gs_order_id IN (4733101,4814060,5045578,2761356,3113259,3158908,5060756,3227701,4994584,3472936,4643596,4325613,5097799,4463556,4709183,5057299,5102945,3037175,3141875,3889107,4746201,4698855,3899259,4308014,4620971,3445374,4973622,3073276,4753219,4632260,4398456,5055112,5396304,5186646,5395751,5336857,5396205,3598535,4474090,5381409,5359223,5386413,5384849,3311271,5385151,5387127,5383425,5386496,5093853,5346721,5274973,4959252,4874160,5249273,5298124,5321132,3322202,4528250,4701741,4628222,5172108,5295830,5395261,5373196,5231922,5332825,5362603,5384270,4226945,5371464,5325283,5208760,3962696,5341750,5344433,5344938,4170788,4360691,4362785,4436840,4562022,3989914,5349389,5368872,5323842,5507156,5507155,5507134,5507158,5507159,5484752,5507132,5484754,5507161,5484753,5484751,5484757,5507157,5507162,5484756,5467484,5484755,5454971,5507154,5454930,5454944,5454985,5454976,5467487,5454945,5467483,5454936,5467486,5454973,5454961,5454964,5454 |
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
default: &default | |
truncate: true | |
sequence: true | |
root: | |
- <<: *default | |
table: schema_migrations | |
sql: SELECT * FROM schema_migrations | |
sequence: false |
OlderNewer