Skip to content

Instantly share code, notes, and snippets.

@mparker17
mparker17 / 2016-07-22-13-00-agile-transformation.md
Created July 22, 2016 17:51
Agile Transformation using Non-verbal Language

2016-07-22 13:00 Agile Transformation using Non-verbal Language

aka Scrum roles, values, and well-formed teams By Kelly Albrecht of Last Call Media

  • Awareness is most important (to Kelly Albrecht) because it enables agility
  • Scrum values:
    • Committment
      • Breaking committment breaks trust, then everything falls apart
      • Most important (to Kelly Albrecht)
  • Can you commit to something you can't do?
@mparker17
mparker17 / .editrc
Last active September 14, 2021 14:08
Readline configuration.
#
# @file
# Editline configuration.
#
# See also $HOME.inputrc for readline configuration.
#
@mparker17
mparker17 / markdown-to-jira-regexes.txt
Created May 14, 2016 18:26
Markdown to Jira conversion
Bold:
Find: \*\*([\P{C}]+?)\*\*
Replace: *$1*
Italics:
Find: \*([\P{C}]+?)\*
Replace: _$1_
Monospace:
Find: `([\P{C}]+?)`
@mparker17
mparker17 / random_date.php
Last active March 4, 2016 20:36
Random PHP dates
<?php
/**
* Generates a random date.
*
* Essentially generates a random, positive integer and interprets it as a
* number of seconds from the start of the UNIX epoch (i.e.: 1970-01-01 00:00:00
* UTC).
*
* This function checks $min and $max: if you try to pass $min < 0, the function
* will use 0 as the minimum; likewise, if you pass $max > getrandmax(), the
@mparker17
mparker17 / 7-docker-compose.yml
Last active May 8, 2017 14:08
Docker-compose templates for D7, D8
#
# Minimal Drupal 7.x development environment.
#
# Use:
# 1. Place a copy of this file at your Drupal site root.
# 2. Start the web stack: `USER_ID=$(id -u) docker-compose up -d`
# 3. Set up `settings.local.php` (note that the host is 'db' and the username,
# password, and schema are in the environment variables for the database
# container below).
# 4. If you have a database dump to import, place it in your Drupal site root,
@mparker17
mparker17 / gist:6676029d32fb4973a5b5
Last active August 29, 2015 14:16
Listing only commits in merged and unmerged branches
BEFORE a branch has been merged in, you can:
* list all commits that make up that branch with:
git log
* list all commits in that branch, excluding commits merged in, with:
git log master..feature2a
git log master..feature2a --first-parent
* list all commits in that branch, excluding commits merged in AND merge commits with:
git log master..feature2a --first-parent --no-merges
AFTER a branch has been merged in, you can list only the commits specific to that branch with:
@mparker17
mparker17 / .ruby-version
Last active August 24, 2018 16:04
Ruby (with rbenv and Bundler), Sass, Compass (with config.rb), and scss-lint configuration for a Drupal 7 / 8 theme.
2.3.1
@mparker17
mparker17 / config.fish
Last active July 23, 2017 00:41
Fish configuration
Moved to https://github.com/mparker17/fish-config
@mparker17
mparker17 / FixPerms.sh
Last active August 29, 2015 14:02
Painlessly setting the mode of files / folders in a tree.
#!/bin/bash
#
# POSIX permissions for a folder need to include the execute bit so you can list
# their contents. But you don't want the execute flag on files, otherwise
# someone could try to run them like a program.
#
# For this reason,
#
# chmod -R $some_mode $path_to_folder
#
@mparker17
mparker17 / high-dpi-sprite.scss
Created April 30, 2014 22:01
SASS mixin to display Compass sprites in both normal and High DPI versions.
//
// Display a high-DPI sprite.
//
// @param $normal_image compass::sassextensions::sprites::spritemap
// The normal-DPI sprite map. Will be used as a fallback.
// @param $highdpi_image compass::sassextensions::sprites::spritemap
// The High DPI sprite map.
// @param $which_sprite Sass::Script::Value::String
// The individual sprite to display.
// @param $background_color Sass::Script::Value::Color