Skip to content

Instantly share code, notes, and snippets.

View MateusGabi's full-sized avatar
💞
in love

Mateus Gabi MateusGabi

💞
in love
  • Unicamp
  • Campinas/SP/Brazil
View GitHub Profile
class PaintComponent {
Graphics graphics;
Images[] animationAttack;
}
interface IPeca {
PaintComponent getPaintComponent()
}
class PecaGeneric implements IPeca {
@MateusGabi
MateusGabi / buildnumber.sh
Created May 1, 2018 18:08
Build Number 4 Gradlew Apps
#!/bin/bash
setProperty(){
awk -v pat="^$1=" -v value="$1=$2" '{ if ($0 ~ pat) print value; else print $0; }' $3 > $3.tmp
mv $3.tmp $3
}
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"