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: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.