Django templates often contain text/media that doesn't affect application's functionality. These texts belong to product people, but because they are stored in template files, are modified by developers. Such editing is slow and continious delivery pipelines treat it the same way as code changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DIARY_DIR=~/diary | |
DIARY_FILE=README.md | |
cd ${DIARY_DIR} | |
git pull -q | |
echo >> ${DIARY_FILE} | |
date >> ${DIARY_FILE} | |
echo >> ${DIARY_FILE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# bash history | |
export HISTFILESIZE=99999 | |
export HISTSIZE=99999 | |
# solarized | |
export TMUX="screen-256color" | |
# vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abiyuch | |
acerola | |
acorn | |
agave | |
agents | |
agutuk | |
alfalfa | |
amaranth | |
animal | |
apache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Build locked requirements files for each of: | |
base.in | |
test.in | |
local.in | |
External dependencies are hard-pinned using == | |
Internal dependencies are soft-pinned using ~= | |
".post23423" version postfixes are truncated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ticket=$(git symbolic-ref HEAD | grep -o 'ND-[0-9][0-9]*') | |
if [ -n "${ticket}" ]; then | |
grep -qs "^ *${ticket}" "${1}" || (echo >> "${1}" && echo "${ticket}" >> "${1}") | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
transform: | |
- jinja: | | |
{%- set bofa = stash.bofa_credit | float -%} | |
{%- set discover = stash.discover | float -%} | |
{%- set amex = stash.amex | float -%} | |
{%- set checking = stash.bofa_checking | float -%} | |
{%- set savings = stash.bofa_savings | float -%} | |
{%- set credits = bofa + discover + amex -%} | |
{%- set total = -bofa - discover - amex + checking + savings -%} | |
```text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checks: | |
- name: bofa | |
url: https://www.bankofamerica.com/ | |
form: | |
- id: onlineid1 | |
creds: keyring.bofa.username | |
- id: passcode1 | |
creds: keyring.bofa.password | |
- id: hp-sign-in-btn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checks: | |
- name: TD | |
url: https://onlinebanking.tdbank.com/ | |
form: | |
- id: txtUser | |
value: creds.td.username | |
- id: txtPassword | |
value: creds.td.password | |
transform: | |
- css: #balance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checks: | |
- name: Discover | |
url: https://www.discover.com/ | |
form: | |
- id: userid | |
creds: discover.login | |
- id: password | |
creds: discover.password | |
delay: 5 | |
transform: |
NewerOlder