- Create an app following the official Shadow-CLJS Quick Start instructions.
- Modify
shadow-cljs.edn
;; shadow-cljs configuration
{:source-paths
["src/dev"
"src/main"
"src/test"]
;; ADD - CIDER middleware for nREPL (required by fireplace.vim)shadow-cljs.edn;; shadow-cljs configuration
{:source-paths
["src/dev"
"src/main"
"src/test"]
;; ADD - CIDER middleware for nREPL (required by fireplace.vim)| build_python() { | |
| if [ -z $1 ]; then | |
| printf "use: $FUNCNAME <destination-dir> <python-version>\n | |
| For example: $FUNCNAME ~/opt/py 3.4.2\n\n" | |
| return 1 | |
| fi | |
| directory=$1 | |
| python_version=$2 | |
| cwd="`pwd`" |
| #!/bin/sh -vex | |
| printf "%s\n" "Make sure python is compiled with --enable-shared!!!" | |
| rm -rf vim | |
| git clone https://github.com/vim/vim.git | |
| cd vim | |
| export PATH=$HOME/opt/pylocal/bin:$PATH | |
| CPPFLAGS="-I$HOME/opt/pylocal/include" |
| # Use: python files_from_ssl_bag.py <path-to-data-bag-ssl-in-chef> | |
| import os | |
| import json | |
| import argparse | |
| import tempfile | |
| def main(args=None): | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('data_bag_path', help='data bag path') |
| import sys | |
| import json | |
| import argparse | |
| def main(args_list=None): | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('--cert-path', help='cert path') | |
| parser.add_argument('--intermediate-path', help='inter path') | |
| parser.add_argument('--key-path', help='key path') |
| sudo yum -y install lxc curl zc-utils go git mercurial | |
| export GOPATH=/opt/go | |
| export PATH=$GOPATH/bin:$PATH | |
| mkdir -p $GOPATH/src/github.com/dotcloud | |
| cd $GOPATH/src/github.com/dotcloud | |
| git clone https://github.com/dotcloud/docker.git | |
| cd docker |
| #!/bin/sh -vex | |
| # needed rpms | |
| yum -y install ncurses-devel git gcc rpmbuild | |
| TEMPDIR="$(mktemp -d)" | |
| HERE="$(pwd)" | |
| printf "building at: %s\n" $TERMDIR | |
| cd $TEMPDIR |
| ZOO_LOG4J_PROP="INFO,ROLLINGFILE" | |
| ZOO_LOG_DIR="/var/log/zookeeper/" |