Skip to content

Instantly share code, notes, and snippets.

View gregoriomelo's full-sized avatar

Gregório Melo gregoriomelo

  • ThoughtWorks
  • João Pessoa, PB, Brazil
View GitHub Profile
@gregoriomelo
gregoriomelo / roteiro-mozair.md
Last active August 29, 2015 14:13
Podcast com Mozair

Mozair

Introdução

  • Quem é o Mozair?

Roteiro

  • Como começou o amor por Javascript?
  • Apps nativos ou HTLM/JS/CSS?
  • Framework MVC?
@gregoriomelo
gregoriomelo / install_tools.sh
Last active August 29, 2015 14:21
Installing Homebrew, VirtualBox and Vagrant
#!/bin/bash
echo "Installing HomeBrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install caskroom/cask/brew-cask
echo "Installing VirtualBox and Vagrant"
brew cask install virtualbox vagrant
echo "Adding Ubuntu box to Vagrant"
@gregoriomelo
gregoriomelo / release-version.groovy
Created April 13, 2018 17:58
Checks whether a commit message say RELEASE and has a semver version number
def fullReleaseCommit = "STORY-987 RELEASE 1.3.0 There's this new release"
def regularCommit = "STORY-999 No release here"
def releaseCommitWithoutVersionNumber = "STORY-987 RELEASE Sorry! Forgot the version number"
class CommitMessage {
final releaseTextTrigger = "RELEASE"
final versionPattern = /.*(\d+).(\d+).(\d+).*/
final String message

Keybase proof

I hereby claim:

  • I am gregoriomelo on github.
  • I am gregoriomelo (https://keybase.io/gregoriomelo) on keybase.
  • I have a public key ASB5pDuD5OoSxeU_ArSCQ-Jk_5EUf5d7rB51k7gWPCBi4wo

To claim this, I am signing this object: