Skip to content

Instantly share code, notes, and snippets.

View nhomar's full-sized avatar
🏠
Life is beautiful

Nhomar [Vauxoo] nhomar

🏠
Life is beautiful
View GitHub Profile

travis2docker 3.0.0

CON EL DOCKER-MACHINE CREATE DRIVER BY DEFAULT WORKS FINE!

Con docker on mac hyperv me pasó este error al hacer docker pull registry:2 moby/moby#14140 (Pero ya fue reparado y trabaja bien)

Pero solo cuando uso -v a /var/lib/docker

Usando hyperV Volvió a marcar error, al hacer usando -v /var/lib/docker al "docker pull vauxoo/odoo-80-image-shippable-auto/" después de descargar el 100% muestra: "Error processing tar file docker function not implemented"

export DOCKER_SHARE_LOCAL_PATH=$HOME/dkr-in-dkr-volume
@hbrunn
hbrunn / profile_view_load
Created May 12, 2015 20:20
profile_view_load
#!/usr/bin/env python2
from argparse import ArgumentParser
parser = ArgumentParser(
description='Profile loading a model\'s data for a specific view in order '
'to find bottlenecks')
parser.add_argument('odoo_basedir')
parser.add_argument('odoo_cfg')
parser.add_argument('odoo_db')
@julionc
julionc / 00.howto_install_phantomjs.md
Last active June 7, 2024 11:29
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
@mkottman
mkottman / twoline_prompt.sh
Last active July 19, 2023 06:53
A two-line colored Bash prompt (PS1) with Git branch and a line decoration which adjusts automatically to the width of the terminal. Recognizes SVN, Git and Fossil version control systems and shows the current branch/revision.
# A two-line colored Bash prompt (PS1) with Git branch and a line decoration
# which adjusts automatically to the width of the terminal.
# Recognizes and shows Git, SVN and Fossil branch/revision.
# Screenshot: http://img194.imageshack.us/img194/2154/twolineprompt.png
# Michal Kottman, 2012
RESET="\[\033[0m\]"
RED="\[\033[0;31m\]"
GREEN="\[\033[01;32m\]"
BLUE="\[\033[01;34m\]"