Skip to content

Instantly share code, notes, and snippets.

View j-fuentes's full-sized avatar

Jose Fuentes Castillo j-fuentes

View GitHub Profile
@j-fuentes
j-fuentes / import.sh
Created November 12, 2020 18:07
Import a repo into a subfolder of another repo preserving commit history
#!/bin/bash
set -eux
shopt -s extglob dotglob
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
TEMP_DIR="${DIR}/import-repos-temp"
# e.g. git@github.com:user/world-domination-frontend.git
SUBPROJECT_REPO="$1"
# e.g. frontend

Keybase proof

I hereby claim:

  • I am j-fuentes on github.
  • I am jfc (https://keybase.io/jfc) on keybase.
  • I have a public key ASCUd3KpLkoyNqUlhKyKMnmBjb0px1kUNBTpSxOhbyQHVAo

To claim this, I am signing this object:

FROM gcr.io/stacksmith-images/ubuntu:14.04-r9
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install wget curl emacs vim
WORKDIR /tmp/dev
CMD ["tail", "-f", "/dev/null"]
version: '2'
services:
bootcamp:
build: .
container_name: bootcamp
volumes:
- .:/tmp/dev
version: '2'
services:
bootcamp:
build: .
container_name: bootcamp
volumes:
- .:/tmp/dev
version: '2'
services:
bootcamp:
build: .
container_name: bootcamp
volumes:
- .:/tmp/dev
FROM gcr.io/stacksmith-images/ubuntu:14.04-r9
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install wget curl emacs vim
WORKDIR /tmp/dev
CMD ["tail", "-f", "/dev/null"]
@j-fuentes
j-fuentes / log.txt
Created December 17, 2015 10:32
deploy cloudopting log
Attaching to manager-db, manager
manager-db | LOG: database system was shut down at 2015-12-17 09:30:10 UTC
manager-db | LOG: MultiXact member wraparound protections are now enabled
manager-db | LOG: database system is ready to accept connections
manager-db | LOG: autovacuum launcher started
manager | Dec 17, 2015 9:41:45 AM org.apache.catalina.startup.VersionLoggerListener log
manager | INFO: Server version: Apache Tomcat/7.0.63
manager | Dec 17, 2015 9:41:45 AM org.apache.catalina.startup.VersionLoggerListener log
manager | INFO: Server built: Jun 30 2015 08:08:33 UTC
manager | Dec 17, 2015 9:41:45 AM org.apache.catalina.startup.VersionLoggerListener log