- 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)
ZOO_LOG4J_PROP="INFO,ROLLINGFILE" | |
ZOO_LOG_DIR="/var/log/zookeeper/" |
#!/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 |
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 |
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') |
# 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') |
#!/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" |
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`" |
shadow-cljs.edn
;; shadow-cljs configuration
{:source-paths
["src/dev"
"src/main"
"src/test"]
;; ADD - CIDER middleware for nREPL (required by fireplace.vim)
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default |
build_python() { | |
if [ -z $1 ]; then | |
printf "use: $FUNCNAME <destination-dir> <python-version>\n | |
For example: $FUNCNAME ~/opt/py 3.10.8\n\n" | |
return 1 | |
fi | |
directory=$1 | |
python_version=$2 | |
cwd=`pwd` |