Skip to content

Instantly share code, notes, and snippets.

Eugene Oskin EvgeneOskin

Block or report user

Report or block EvgeneOskin

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 Keybase proof
### Keybase proof
I hereby claim:
* I am EvgeneOskin on github.
* I am eoskin (https://keybase.io/eoskin) on keybase.
* I have a public key whose fingerprint is 1A76 8AB8 E636 8726 ADBC 79DB AE33 00C8 A670 16DA
To claim this, I am signing this object:
View python_pil_install_dependencies.sh
# With pip already installed, install the required development packages:
sudo apt-get install python-dev libjpeg-dev libfreetype6-dev zlib1g-dev
# and symlink the three image libraries into /usr/lib:
sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib/
sudo ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so /usr/lib/
sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib/
View changelog.sh
#!/bin/sh
git log --no-merges --format='* %d%n%s%n%b%n' \
| sed 's/.*tag: \([^, )]*\).*/\1:/g' \
| sed 's/→/->/g' \
| markdown_py
View json_to_yml_converter.py
#!/usr/bin/env python
import os.path
import json
import yaml
import argparse
def json_load_byteified(file_handle):
return _byteify(
json.load(file_handle, object_hook=_byteify),
ignore_dicts=True
View hubot_help.sh
#!/bin/sh
export PROJECT_DIR=myhubot
npm install -g yo generator-hubot
mkdir $PROJECT_DIR
cd $PROJECT_DIR
yo hubot
git init
git add .
View boot2docker-ntp-update.sh
sudo ntpclient -s -h pool.ntp.org
sudo ntpd -p pool.ntp.org
View git.config.template
[color]
ui = true
[alias]
cool-log = log --all --graph --decorate --oneline --abbrev-commit
cool-status = status -sb
cool-log-diff = log --left-right --graph --cherry-pick --oneline
[core]
editor = emacs
[merge]
tool = vimdiff
View install cool commit
#!/bin/bash
curl https://gist.githubusercontent.com/EvgeneOskin/21a7b0fea77623963146/raw/89e22d59be604f20393091f15948de6e59141766/git-cool-commit.sh > $HOME/git-cool-commit
chmod +x $HOME/git-cool-commit
sudo mv $HOME/git-cool-commit /usr/local/bin/git-cool-commit
View git-cool-commit.sh
#!/bin/bash
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
COMMIT_ARGS=""
PUSH_ARGS=""
if [[ " $@ " == *" --amend "* ]] || [[ " $@ " == *" -a "* ]]; then
COMMIT_ARGS="--amend"
fi
if [[ " $@ " == *" -f "* ]] || [[ " $@ " == *" --force "* ]]; then
You can’t perform that action at this time.