Skip to content

Instantly share code, notes, and snippets.

# Install apps, packages, etc.
ruby -e "$(curl -fsSL" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null
brew tap homebrew/cask-versions
# brew cask install iterm2
brew install --cask iterm2
eyalgo / .gitmessage
Last active September 13, 2019 12:22
Eyal| | TICKET-# |
Co-authored-by: <name> <>
git config --global 'Eyal Golan'
# git config --global "the@email"
git config --global status
git config --global checkout
git config --global 'commit -v'
git config --global branch
git config --global alias.cob 'checkout -b'
git config --global alias.por 'push -u origin'
import java.util.Date;
import java.util.List;
import org.hamcrest.CustomTypeSafeMatcher;
import org.hamcrest.Matcher;
import com.eyalgo.rssreader.model.FeedData;
import com.eyalgo.rssreader.model.FeedItem;
public class Matchers {
public class RuleTest {
public TemporaryFolder tmpFolder = new TemporaryFolder();
public void shouldCreateNewFileInTemporaryFolder() throws IOException {
File created = tmpFolder.newFile("file.txt");
eyalgo / build.gradle
Created November 29, 2018 14:24
Gradle template for spring boot. Showing how to use integration tests as well
buildscript {
ext {
springBootVersion = '2.1.0.RELEASE'
springDataVersion = '2.1.2.RELEASE'
repositories {
dependencies {
eyalgo /
Last active September 6, 2019 15:47
# Add to %PATH%
# Can run: git nb MY_BRANCH_NAME
git checkout master
git pull
git checkout -b $1
git push -u origin $1
git checkout release
git rebase master release
git push
if [ -z "$1" ]
echo "Branch name is missing"
# Go to relevant branch
git checkout $1
# fetch everything
# Go to relevant branch
git checkout $1
# fetch everything
git fetch
#rebase interactive
git rebase -i origin/master