Skip to content

Instantly share code, notes, and snippets.

View achikin's full-sized avatar

Anton Chikin achikin

  • Russia, Voronezh
View GitHub Profile
@achikin
achikin / dabblet.css
Created February 19, 2017 12:32
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.flex-div {
display: flex;
background-color: white;
margin-left: 20
px;
}
.flex-row1 {
@achikin
achikin / # uwsgi - 2016-10-14_14-12-31.txt
Created October 14, 2016 12:55
uwsgi on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for uwsgi on macOS 10.11.6
Build date: 2016-10-14 14:12:31
→ brew config
HOMEBREW_VERSION: 1.0.7-52-gce1f8a5
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: ce1f8a5135df53f1c622c24124349fc207e32055
Last commit: 54 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 38f88a7683ed1a9f4e072752266a3f5b06daa7b7
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
@achikin
achikin / Dockerfile
Created August 30, 2016 22:29
Docker file for doc2text
FROM ubuntu:16.04
WORKDIR /my/
RUN apt-get -qq -y update
RUN apt-get -qq -y install python
RUN apt-get -qq -y install python-pip tesseract-ocr python-pythonmagick libopencv-dev python-opencv
RUN pip install doc2text
ADD dtt.py /my/
ADD image.png /my/
@achikin
achikin / gist:d6a32ed42d5735d7f24d
Last active August 29, 2015 14:19
.git/hooks/prepare-commit-msg
#put this into prepare-commit-msg to insert branch name into commit msg
echo $(git symbolic-ref HEAD | awk -F/ '{print $NF}'): > $1.tmp
cat $1 >> $1.tmp
mv $1.tmp $1
require "formula"
class Testwhich < Formula
homepage ""
url "www.google.com"
sha1 ""
version '1'
def install
system '>&2 echo `which brew`'
end
if a then b
end