Skip to content

Instantly share code, notes, and snippets.

Vadim Kotov vkotovv

Block or report user

Report or block vkotovv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:34636c593e249bdb2060a0bf2987e1d9
03-29 12:27:38.597 11103-19610/com.admob.ipivi D/OkHttp: <-- 500 Internal Server Error https://api.dev.ipivi.com/v3/page/index (119ms)
03-29 12:27:38.597 11103-19610/com.admob.ipivi D/OkHttp: Server: nginx
03-29 12:27:38.598 11103-19610/com.admob.ipivi D/OkHttp: Date: Fri, 29 Mar 2019 09:27:39 GMT
03-29 12:27:38.598 11103-19610/com.admob.ipivi D/OkHttp: Content-Type: application/json; charset=UTF-8
03-29 12:27:38.598 11103-19610/com.admob.ipivi D/OkHttp: Transfer-Encoding: chunked
03-29 12:27:38.598 11103-19610/com.admob.ipivi D/OkHttp: Connection: keep-alive
03-29 12:27:38.598 11103-19610/com.admob.ipivi D/OkHttp: Access-Control-Expose-Headers:
03-29 12:27:38.599 11103-19610/com.admob.ipivi D/OkHttp: Cache-Control: public, max-age=3600
03-29 12:27:38.599 11103-19610/com.admob.ipivi D/OkHttp: Last-Modified: Wed, 21 Nov 2018 13:59:16 GMT
03-29 12:27:38.600 11103-19610/com.admob.ipivi D/OkHttp: {
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:d72df12bc7b06a308aa648cf237fce1f
Created Mar 22, 2018
Natchez: packages with missing files
View gist:d72df12bc7b06a308aa648cf237fce1f
[root@Natchez ~]# rpm -qf $(rpm -Va 2>&1 | grep -vE '^$|prelink:' | sed 's|.* /|/|') | sort -u
authconfig-6.2.8-14.el7.x86_64
cups-filters-1.0.35-21.el7.x86_64
filesystem-3.2-21.el7.x86_64
gdm-3.14.2-19.el7.x86_64
grub2-efi-2.02-0.44.el7.centos.x86_64
libcgroup-tools-0.41-11.el7.x86_64
libgpod-0.8.2-11.el7.x86_64
libreswan-3.15-8.el7.x86_64
pam-1.1.8-18.el7.x86_64
View gist:75428a6478a0c71ca58e9d69b23dfd2b
--------------------------------------------------------------------------------
------------------------------ RUNNING NMOS NODE -------------------------------
--------------------------------------------------------------------------------
[PM2] Spawning PM2 daemon with pm2_home=/root/.pm2
[PM2] PM2 Successfully daemonized
[PM2] Flushing /root/.pm2/pm2.log
[PM2] Logs flushed
[PM2][WARN] Applications Node not running, starting...
[PM2] App [Node] launched (1 instances)
┌──────────┬────┬──────┬───────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
@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 / links.txt
Created May 19, 2017
Parsed links from jenkins.io website (/solutions, blog and doc)
View links.txt
@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.