Generative Model:
Predictive Model:
#!/bin/bash | |
set -e | |
while true; do | |
log="$HOME/.npm/_logs/`ls $HOME/.npm/_logs/ | tail -n 1`" | |
echo "log: $log" | |
for path in `cat "$log" | grep 'ENOTEMPTY' | grep -oE "[^']+node_modules[^']+"`; do | |
echo "removing $path" | |
rm -rf "$path" | |
done |
source ~/.zshrc.java | |
source ~/.zshrc.git |
#!/bin/sh | |
# Usage: | |
# ./release-items.sh last-release-tag jira_number_prefix [-v] | |
jira_prefix=$1 | |
since_tag=$2 | |
if [ -z "$3" ]; then | |
lines=$(git log --oneline --first-parent "$since_tag"..HEAD | cut -d ' ' -f 5- | sed -nE "s/.*((:?${jira_prefix})\-[0-9]{3,6}).*/\1/p") |
apiVersion: argoproj.io/v1alpha1 | |
kind: WorkflowTemplate | |
metadata: | |
name: my-app-batch | |
namespace: appns | |
spec: | |
volumes: | |
- name: all-configs | |
configMap: | |
name: my-app-batch-config |
https://drive.google.com/file/d/1yGUE5vHh1apYhjR6kjmqAwOHnE7PF1Oo/view?usp=drivesdk |
something else |
alias gs="git status" | |
function gds(){ | |
git diff --color=always --staged "$@" | less -rS | |
} | |
function gd(){ | |
git diff --color=always "$@" | less -rS | |
} |
var MAP = {} | |
function lunchCost(costs, orders) { | |
costs = ensureInputIsArray(costs); | |
orders = ensureInputIsArray(orders); | |
costsize = costs.length; | |
ordersize = orders.length; |
set nu | |
set autoindent | |
set winheight=999 | |
set bg=dark | |
set ts=4 | |
set shiftwidth=4 | |
set expandtab | |
" make searches case-insensitive, unless they contain upper-case letters: | |
set ignorecase |