https://help.github.com/articles/set-up-git
git config --global user.name "my name"
?
git config --global push.default upstream
? ?
/* Extra Small Devices, .visible-xs-* */ | |
@media (max-width: 767px) { | |
h1 { | |
font-size: 26px; | |
} | |
} | |
/* Small Devices, .visible-sm-* */ | |
@media (min-width: 768px) and (max-width: 991px) { | |
h1 { |
(function () { | |
var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'game', | |
{preload: preload, create: create, update: update, render: render} | |
); | |
function preload() { | |
game.load.spritesheet('dude', '../assets/dude.png', 32, 48); | |
game.load.spritesheet('chick', '../assets/chick.png', 16, 18); |
package com.pragmatists; | |
import junitparams.JUnitParamsRunner; | |
import junitparams.Parameters; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import static org.assertj.core.api.Assertions.assertThat; | |
@RunWith(JUnitParamsRunner.class) |
BankAccountA{ | |
void TransferMoneyTo(transactionToken,toAccountId,amount){ | |
if(this.HasPendingTransactions){ | |
throw new BusinessException("Transactions in process"); | |
} | |
if(availableBalance-amount<0){ | |
throw new BusinessException("..."); |
https://help.github.com/articles/set-up-git
git config --global user.name "my name"
?
git config --global push.default upstream
? ?
java -jar jenkins.war
# avg number of commits per month in date range | |
input_start=2017-3-1 | |
input_end=2017-9-1 | |
startdate=$(date -I -d "$input_start") || exit -1 | |
enddate=$(date -I -d "$input_end") || exit -1 | |
d="$startdate" | |
sum=0 | |
count=0 |
# number of days beetween first and last commit by user | |
mapfile -t authors < <( git log --pretty=format:%an | sort | uniq ) | |
echo "Number of authors:" ${#authors[@]} | |
for author in "${authors[@]}" | |
do | |
lastCommitDate=`git log --pretty=format:%at --author="$author" | sed -n 1p` | |
firstCommitDate=`git log --pretty=format:%at --author="$author" | tail -1` | |
if [ ! -z "$lastCommitDate" ]; |
package com.app.email; | |
public interface EmailSender { | |
void send(String recipient, String message); | |
} |