- Root cause (Relevant logs / exceptions)
- Customer Impact
- Steps I took to debug
- Where I would start and why?
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
alias gs='git status --short --branch' | |
alias gbl='git branch --list' | |
alias gbm='git branch --merged' | |
alias gcb='git checkout -b' | |
alias gpu='git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)' |
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 | |
DOMAIN=$1 | |
TXT=$(host -t TXT "_domainconnect.${DOMAIN}") | |
HOST=$(host -t TXT "_domainconnect.${DOMAIN}" | tail -1 | sed -En 's/.* descriptive text "([^"]+)"/\1/p') | |
URL="https://${HOST}/v2/${DOMAIN}/settings" |
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
Code Review | |
----------- | |
### What does this PR do? | |
### Why do we want to do that? | |
### What high level changes did you make to the code to accomplish that goal? | |
### What other information should the reviewer be aware of when looking at this code? | |
### How did you test? | |
[]unit []integration []dev []qa []stage | |
### How can we verify this is working in production? |
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/bash | |
PHP=${PHP:-`which php`} | |
XDEBUG_INI=${XDEBUG_INI:-`${PHP} --ini | awk 'BEGIN { FS=","; } /xdebug.ini/ { print $1; }'`} | |
XDEBUG_HOST=${XDEBUG_HOST:-1.2.3.1} | |
XDEBUG_PORT=${XDEBUG_PORT:-9001} | |
IDE_KEY=${IDE_KEY:-PHPSTORM} | |
if [ "$1" = "--help" -o "$1" = "" ] | |
then |
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
# http://stackoverflow.com/a/28818420/484780 | |
git describe --abbrev=0 --tags `git rev-list --first-parent --tags --skip=1 --max-count=1` |
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
<?php | |
// adapted from https://blogs.oracle.com/netbeansphp/entry/howto_check_xdebug_installation | |
$address = $argv[1] ?: '127.0.0.1'; | |
$port = '9000'; | |
$sock = socket_create(AF_INET, SOCK_STREAM, 0); | |
socket_bind($sock, $address, $port) or die(); | |
echo "Listening to $address:$port\n"; | |
socket_listen($sock); | |
$client = socket_accept($sock); | |
echo "Connection established: $client\n"; |
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
sudo yum --disablerepo="*" --enablerepo="osis" --showduplicates list available |
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
sudo apt-get install python-pygments && alias pcat="pygmentize -f terminal256 -O style=native -g" |
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
package test; | |
import org.apache.activemq.ActiveMQConnectionFactory; | |
import javax.jms.*; | |
public class Apollo { | |
public static void main(String[] args) throws JMSException { | |
String user = "guest"; |
NewerOlder