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
/Users/mosquito/dev/python/m4u-main/env/bin/python /Users/mosquito/dev/python/m4u-main/m4u_django/manage.py visitors_create_site example.net17 | |
(0.000) SELECT `visitors_site`.`id`, `visitors_site`.`site`, `visitors_site`.`regexp`, `visitors_site`.`master_key`, `visitors_site`.`public_key` FROM `visitors_site` WHERE `visitors_site`.`site` = 'example.net17' ; args=('example.net17',) | |
(0.000) SAVEPOINT `s140735108956944_x1`; args=None | |
(0.000) UPDATE `visitors_site` SET `site` = 'example.net17', `regexp` = 0, `master_key` = '981483a6-599f-44d6-bbca-ed917a4fe713', `public_key` = '2402c9b4-1fb9-4b77-beef-44da64a10dc2' WHERE `visitors_site`.`id` = 64181407565977 ; args=('example.net17', False, '981483a6-599f-44d6-bbca-ed917a4fe713', '2402c9b4-1fb9-4b77-beef-44da64a10dc2', 64181407565977) | |
(0.000) INSERT INTO `visitors_site` (`id`, `site`, `regexp`, `master_key`, `public_key`) VALUES (64181407565977, 'example.net17', 0, '981483a6-599f-44d6-bbca-ed917a4fe713', '2402c9b4-1fb9-4b77-beef-44da64a10dc2'); args=(64181407565977 |
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/bin/env python | |
import os | |
import sys | |
import urllib2 | |
import ConfigParser | |
import traceback | |
import base64 | |
import tempfile | |
import 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
.grid *{text-decoration:none;cursor:default;margin:0;padding:0}.grid a{cursor:pointer}.grid .row{width:100%;display:block;margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid .row .col1{width:8.33333333%;max-width:8.33333333%}.grid .row .pre1{margin-left:8.33333333%}.grid .row .post1{margin-right:8.33333333%}.grid .row .col2{width:16.66666667%;max-width:16.66666667%}.grid .row .pre2{margin-left:16.66666667%}.grid .row .post2{margin-right:16.66666667%}.grid .row .col3{width:25%;max-width:25%}.grid .row .pre3{margin-left:25%}.grid .row .post3{margin-right:25%}.grid .row .col4{width:33.33333333%;max-width:33.33333333%}.grid .row .pre4{margin-left:33.33333333%}.grid .row .post4{margin-right:33.33333333%}.grid .row .col5{width:41.66666667%;max-width:41.66666667%}.grid .row .pre5{margin-left:41.66666667%}.grid .row .post5{margin-right:41.66666667%}.grid .row .col6{width:50%;max-width:50%}.grid .row .pre6{margin-left:50%}.grid .row .post6{margin-right:50%}.grid .row |
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
;(function (global) { | |
var db = function (name, version, comment, size) { | |
var self = this; | |
// Arguments parsing | |
var name = name; | |
var version = version || '0.1'; | |
var comment = comment || 'Database "' + name + '" created at (' + (new Date()) + ')'; | |
var size = parseInt(size) || 5242880; |
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
scriptencoding utf-8 | |
autocmd! | |
" Чтобы избежать необходимости выполнять переключение клавиатуры при вводе {{{ | |
" команд Обычного режима | |
set langmap=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz | |
"}}} | |
set viminfo='100,%,/50,:50,<50,h |
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
{"environment":"prod","type":"list_send","timedelta":"5","event":{"method":"sms","offers":[{\"offer_id\":\"-1\",\"store_id\":\"-1\",\"offer_name\":\"терияки\",\"list_name\":\"Мой первый список\"},{\"offer_id\":\"-1\",\"store_id\":\"-1\",\"offer_name\":\"Грибы\",\"list_name\":\"Мой первый список\"}]},"app_info":{"device_version":"19","device_name":"motorola","device_udid":"355002053755531","is_develop":"false","device_platform":"ANDROID","app_version":"2.1.43","device_model":"XT1032","device_token":"APA91bF__vhs3t0q6c19oCkqnDQ7ilzwoQoEBANubc59XzSSTr31Ghv0dvWD2ZzSKiI07wC5bsOxXDZt3ihHi-ULLo3-iQpXVzKuErCMKyf3M9xpo86fgcQ1Gq9oD3EvhJgf-rrlGlqo9HXy3rFZwBB5eM2OH0limQ","app_name":"Myconomy"},"datetime":"2014-07-12T14:27:34Z","location":{"lon":"37.67346843", "lat":"55.78363528"}} |
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
15:42:27 default: mcnm.tasks.bulkload.load_offers(3667) (85d06d55-f47b-437d-bbf2-e52a65668583) | |
15:42:28 Getting knaker/knaker_bro.7z from ftp | |
15:42:29 Got knaker/knaker_bro.7z from ftp (380985 bytes) | |
15:42:29 task#3667: can't get file | |
Traceback (most recent call last): | |
File "/home/mcnmrq/venv/local/lib/python2.7/site-packages/mcnm/tasks/bulkload.py", line 83, in load_offers | |
file_path = task.bulkload_source.s3_upload() | |
File "/home/mcnmrq/venv/local/lib/python2.7/site-packages/mcnm/models/bulkloads.py", line 100, in s3_upload | |
dest_dir='%s/bulkload' % self.partner.slug, |
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/bin/env python | |
import os | |
import sys | |
import urllib2 | |
import ConfigParser | |
import traceback | |
import base64 | |
import tempfile | |
import 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
# encoding: utf-8 | |
import traceback | |
from tornado.ioloop import IOLoop | |
from tornado.web import asynchronous, RequestHandler, HTTPError | |
import logging | |
log = logging.getLogger('handlers.lib.threaded') | |
class ThreadPoolHandler(object): |
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
(function(a){a.Parallax=function(c,a){(a||c)[0].onmousemove=function(a){c.each(function(d){var b=$(this);d=b.data("depth")?parseFloat(b.data("depth")):1;var c=b.data("ratio")?parseFloat(b.data("ratio")):50,b=-((a.pageX+this.offsetLeft)/(c*d));d=-((a.pageY+this.offsetTop)/(c*d));$(this).css("background-position",b+"px "+d+"px")})}}})(this); |
OlderNewer