I hereby claim:
- I am kvbik on github.
- I am kvbik (https://keybase.io/kvbik) on keybase.
- I have a public key ASAkBk-4on0EHqAwp69X3Cxw0hHo_44sk6JctMNHkruRbwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class WeNeedArgumentsException(Exception): | |
pass | |
def min(*args, key=lambda x: x): | |
sequence = args | |
if len(args) == 1: | |
sequence = args[0] | |
if len(sequence) == 0: | |
raise WeNeedArgumentsException('we need arguments') |
#!/bin/bash | |
# git clone https://gist.github.com/kvbik/2f90a73d3acd9fb1ef4d2a45c5f9cfe8 | |
# current macos wifi connection, thx to | |
# https://apple.stackexchange.com/questions/81221/how-do-i-get-wi-fi-info-from-within-terminal | |
W=$( | |
networksetup -getairportnetwork en0 | cut -d' ' -f4- | |
) | |
# current macos wifi password, thx to |
Nastavit http://bit.ly/pyworking-prg-01 | |
======================================= | |
* Pythonanywhere.com - ucet | |
* Github.com - ucet | |
* Vytvorit na https://github.com repository "prvniblog" | |
- Initialize with README | |
- Add .gitignore Python | |
- Create repository |
FROM ubuntu:trusty | |
RUN apt-get update | |
RUN apt-get install -qyy \ | |
-o APT::Install-Recommends=false -o APT::Install-Suggests=false \ | |
binutils libproj-dev gdal-bin \ | |
libpq-dev python-dev libxml2-dev libxslt1-dev libffi-dev xmlsec1 \ | |
python2.7 unzip virtualenvwrapper | |
WORKDIR /app |
#!/bin/bash | |
# all credits and thx to http://stackoverflow.com/a/4529172 | |
[[ $1 ]] && ISSUE=$1 || exit | |
[[ $2 ]] && BRANCH=$2 || exit | |
[[ $3 ]] && BASE=$3 || BASE=master | |
OWNER=walksource | |
REPO=roomstorm-backend |
[color] | |
status = auto | |
diff = auto | |
branch = auto | |
[alias] | |
st = status | |
ci = commit | |
co = checkout | |
[core] |
# include default settings | |
source /etc/screenrc | |
# disable startup | |
startup_message off | |
# set bottom line | |
hardstatus alwayslastline "%{= dc}%-Lw%{= dw}%{!b}%n*%f %t%{!b}%{= dc}%+Lw%=[ %H ] %d.%m.%Y %c:%s" | |
# default term variable |
#alias vi=vim | |
alias vi=emacs | |
#alias g=git | |
alias g=hg | |
#alias rm_pyco='find . -name "*.py[co]" -exec rm -v {} \;' | |
alias rm_pyco='echo banik' |
Verifying that +kvbik is my Bitcoin username. You can send me #bitcoin here: https://onename.io/kvbik |