Skip to content

Instantly share code, notes, and snippets.

View rlouapre's full-sized avatar

Richard Louapre rlouapre

  • Broadridge
  • United States
View GitHub Profile
@rlouapre
rlouapre / Dockerfile
Last active August 29, 2015 14:07
Dockerfile for ML7
FROM centos:centos6
MAINTAINER Richard Louapre <richard.louapre@marklogic.com>
#update yum repository and install openssh server
RUN yum update -y
RUN yum install -y openssh-server
#generate ssh key
RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key
RUN ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key
@rlouapre
rlouapre / Delete recusively all node_modules directory
Created December 21, 2014 11:35
[windows] [cygwin] Delete recusively all node_modules directory
find . -type d -name 'node_modules' -print0 | xargs -0 -I {} rm -rf "{}"
@rlouapre
rlouapre / gulpfile.js
Last active August 29, 2015 14:20
Watch src and load and MarkLogic using Roxy
var gulp = require('gulp');
var gutil = require('gulp-util')
var watch = require('gulp-watch');
var plumber = require('gulp-plumber');
var shell = require('gulp-shell')
var roxy = {
'cwd': 'roxy',
'env': 'local',
'db' : {
yum -y install redhat-lsb glibc gdb
yum -y install MarkLogic-8.0-2.x86_64.rpm
ln -s libsasl2.so.3.0.0 libsasl2.so.2
systemctl enable MarkLogic
systemctl start MarkLogic