#!/usr/bin/env bash | |
# | |
# This is sp, the command-line Spotify controller. It talks to a running | |
# instance of the Spotify Linux client over dbus, providing an interface not | |
# unlike mpc. | |
# | |
# Put differently, it allows you to control Spotify without leaving the comfort | |
# of your command line, and without a custom client or Premium subscription. | |
# |
set nu rnu | |
set mouse=a | |
set laststatus=2 | |
set smartindent | |
set smarttab | |
set tabstop=8 | |
set expandtab | |
set shiftwidth=4 | |
set softtabstop=4 |
Testing React components seems simple at first. Then you need to test something that isn't a pure interaction and things seem to break down. These 4 patterns should help you use a pattern that is repeatable and readable for the type of test you need.
I recommend doing all setup in the most functional way possible. If you can avoid it, don't set variables in a
beforeEach
. This will help ensure tests are isolated and make things a bit easier to reason about. I use a pattern
Kata description: https://gist.github.com/chomik/7c7d1895dfd3dfb5a171
Code: pykonik_dojo_11_haikulog_app_kata.py
Notes from Code Review and retro: whiteboard_notes.png
This Kata is divided into two parts. First do the base part without even looking at the backlog. Once the foundation is ready then move forward to the list of features.
Focus on developing one thing at a time.
Note that some features may be missing, some may not match others right away.
This Kata is divided into two parts. First do the base feature part without even looking at the additional features. Once the foundation is ready then move forward to the list of features.
Focus on developing one thing at a time.
Note that some features may be missing, some may not match others right away.
#!/bin/bash | |
# CHANGES, RE-VIEWS/WRITES, IMPROVEMENTS: | |
# mhasko: functions; VOL-steps; | |
# gashapon: autodectect default sink | |
# konrad: more reliable way to autodetect default sink | |
# source: http://blog.waan.name/pulseaudio-setting-volume-from-command-line/ | |
# get default sink name | |
SINK_NAME=$(pactl stat | grep "alsa_output" | perl -a -n -e 'print $F[2]') |