Skip to content

Instantly share code, notes, and snippets.

Avatar

Vadim Kotov vkotovv

View GitHub Profile
@vkotovv
vkotovv / http_log.txt
Last active Apr 16, 2020
2 Пилюли: task_id == null
View http_log.txt
2020-04-16 13:52:17.642 29050-4060/ru.piluli2.app D/OkHttp: --> GET https://api.test.2piluli.ru/v2/reminder?date=16.04.2020
2020-04-16 13:52:17.642 29050-4060/ru.piluli2.app D/OkHttp: x-api-key: MjFmZjk3N2RiY2ViZmRmNjkwMTQzOGIwOTczZTY5NDk=
2020-04-16 13:52:17.642 29050-4060/ru.piluli2.app D/OkHttp: Authorization: Bearer tAXvNyZ3MvCZzmcLVd7_ulWAWVm_rojCTFB__pf7u5R9ks4G857JERmdLnsmxOPB
2020-04-16 13:52:17.642 29050-4060/ru.piluli2.app D/OkHttp: --> END GET
2020-04-16 13:52:18.666 29050-4061/ru.piluli2.app D/OkHttp: <-- 200 https://api.test.2piluli.ru/v2/reminder?date=16.04.2020 (1012ms)
2020-04-16 13:52:18.666 29050-4061/ru.piluli2.app D/OkHttp: server: nginx
2020-04-16 13:52:18.666 29050-4061/ru.piluli2.app D/OkHttp: date: Thu, 16 Apr 2020 10:52:17 GMT
2020-04-16 13:52:18.666 29050-4061/ru.piluli2.app D/OkHttp: content-type: application/json; charset=UTF-8
2020-04-16 13:52:18.666 29050-4061/ru.piluli2.app D/OkHttp: vary: Accept-Encoding
2020-04-16 13:52:18.666 29050-4061/ru.piluli2.app D/OkHttp: access-control
View gist:ffb31539923be69aa960fb596bb5faf1
[vagrant@localhost git-sh]$ sudo make install
install -d "/usr/local/bin"
install -m 0755 git-sh "/usr/local/bin/git-sh"
install -d "/usr/local/share/man/man1"
install -m 0644 git-sh.1.roff "/usr/local/share/man/man1/git-sh.1"
@vkotovv
vkotovv / gist:d82ca74f2dc001a531cedd8ce0bece50
Last active Aug 1, 2017
Jenkins.io make prepare issue
View gist:d82ca74f2dc001a531cedd8ce0bece50
$ make prepare
./scripts/ruby bundle install --path=vendor/gems
Unable to find image 'source/jenkins.io:latest' locally
docker: Error response from daemon: repository source/jenkins.io not found: does not exist or no pull access.
See 'docker run --help'.
Makefile:45: recipe for target 'depends-ruby' failed
make: *** [depends-ruby] Error 125
@vkotovv
vkotovv / base.h
Created May 26, 2017
Undefine DMLC_LOG_STACK_TRACE for dmlc-core
View base.h
/*!
* \brief Wheter to print stack trace for fatal error,
* enabled on linux when using gcc.
*/
#if (!defined(DMLC_LOG_STACK_TRACE) && defined(__GNUC__) && !defined(__MINGW32__))
#define DMLC_LOG_STACK_TRACE 1
#undef DMLC_LOG_STACK_TRACE
#endif
@vkotovv
vkotovv / tmp_VqZVL.html
Created Sep 13, 2016
Sublime Text markdown plugin preview issue
View tmp_VqZVL.html
<head><base href='file:///home/vadim/Desktop/'/></head><h1>Содержание</h1
View .hgignore
#apks
glob:*.apk
glob:*.ap_
# files for the dex VM
glob:*.dex
# Java class files
glob:*.class
@vkotovv
vkotovv / app.py
Created Aug 20, 2013
Clear data for all tables via flask-sqlalchemy
View app.py
def clear_data(session):
meta = db.metadata
for table in reversed(meta.sorted_tables):
print 'Clear table %s' % table
session.execute(table.delete())
session.commit()
You can’t perform that action at this time.