Skip to content

Instantly share code, notes, and snippets.

Shrikrishna Holla shrikrishnaholla

View GitHub Profile
shrikrishnaholla / Dockerfile
Last active Jan 3, 2016
Dockerfile to set up octopress. Once you spin up the container, you need to continue from You can either attach to the container, or ssh into it
View Dockerfile
FROM ubuntu
MAINTAINER shrikrishna <>
# update OS
RUN echo "deb precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
# Install depndencies
RUN apt-get install -y ruby1.9.1-dev build-essential git openssh-server vim
View ssh.log
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to [] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/ubuntu/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/ubuntu/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
shrikrishnaholla / diaspora.log
Last active Jan 16, 2016
Diaspora 'open' not found error log
View diaspora.log
Starting Diaspora in development mode on port 3000 with job processing inside the request cycle.
I, [2016-01-16T18:20:50.956175 #1] INFO -- : [diaspora:__default__] send_command: monitor
I, [2016-01-16T18:20:50.958635 #1] INFO -- : [diaspora:__default__] schedule :monitor (reason: monitor by user)
I, [2016-01-16T18:20:50.959911 #1] INFO -- : [diaspora:__default__] => monitor (reason: monitor by user)
I, [2016-01-16T18:20:50.960871 #1] INFO -- : [diaspora:__default__] starting async with 0.2s chain monitor []
I, [2016-01-16T18:20:50.961956 #1] INFO -- : [Eye] <= loading: ["/home/diaspora/diaspora/config/eye.rb"]
I, [2016-01-16T18:20:50.984686 #1] INFO -- : [Eye] <= command: load /home/diaspora/diaspora/config/eye.rb (0.155409642s)
I, [2016-01-16T18:20:50.987036 #1] INFO -- : [diaspora:web] schedule :monitor (reason: monitor by user)
I, [2016-01-16T18:20:50.988071 #1] INFO -- : [diaspora:web] => monitor (reason: monitor by user)
# Cleanup docker files: untagged containers and images.
# Use `docker-cleanup -n` for a dry run to see what would be deleted.
untagged_containers() {
# Print containers using untagged images: $1 is used with awk's print: 0=line, 1=column 1.
# NOTE: "[0-9a-f]{12}" does not work with GNU Awk 3.1.7 (RHEL6).
# Ref:
docker ps -a | tail -n +2 | awk '$2 ~ "^[0-9a-f]+$" {print $'$1'}'
View build-essential.log
# apt-cache policy build-essential
Installed: 11.7
Candidate: 11.7
Version table:
*** 11.7 0
500 jessie/main amd64 Packages
100 /var/lib/dpkg/status
shrikrishnaholla / spacy.dockerfile
Created Sep 25, 2018
Sample dockerfile for a project that uses spacy
View spacy.dockerfile
FROM python:3
RUN apt-get update
RUN pip3 install \
spacy \
RUN python3 -m spacy download en
You can’t perform that action at this time.