Skip to content

Instantly share code, notes, and snippets.

View krya's full-sized avatar

Denis K. krya

  • freelancer
  • Ukraine, Dnipro
View GitHub Profile
@krya
krya / wme_road_to_building.js
Last active July 6, 2017 10:04
WME Street to River or Building
// ==UserScript==
// @name WME Street to River or Building
// @description This script create a new river landmark in waze map editor (WME). It transforms the the geometry of a new unsaved street to a polygon.
// @namespace https://greasyfork.org/scripts/1879-wme-street-to-river-plus
// @grant none
// @version 16.07.20
// @include https://www.waze.com/editor/*
// @include https://www.waze.com/*/editor/*
// @include https://beta.waze.com/*
// ==/UserScript==
@krya
krya / gist:4214583
Created December 5, 2012 10:33
pytest conftest confusion
~$ mkvirtualenv myproject
New python executable in myproject/bin/python
Installing setuptools............done.
Installing pip...............done.
virtualenvwrapper.user_scripts creating /opt/env/myproject/bin/predeactivate
virtualenvwrapper.user_scripts creating /opt/env/myproject/bin/postdeactivate
virtualenvwrapper.user_scripts creating /opt/env/myproject/bin/preactivate
virtualenvwrapper.user_scripts creating /opt/env/myproject/bin/postactivate
virtualenvwrapper.user_scripts creating /opt/env/myproject/bin/get_env_details
(myproject)~$ pip install django pytest-django
@krya
krya / build.sh
Created June 27, 2012 20:10
sublimecodeintel build.sh
#!/bin/bash
reset(){
rm -rf /tmp/pcre-8.21
rm -rf cElementTree-1.0.5-20051216
rm -rf silvercity
rm -rf scintilla
rm -rf sgmlop-1.1.1-20040207
}