Skip to content

Instantly share code, notes, and snippets.

View borgogelli's full-sized avatar

Andrea Borgogelli Avveduti borgogelli

View GitHub Profile
@borgogelli
borgogelli / update-android-sdk.sh
Last active July 23, 2018 07:17 — forked from pratamawijaya/update.sh
Update android sdk via bash
#!/usr/bin/env bash
#
# Install JUST the required dependencies for the project.
# May be used for ci or other team members.
#
for I in android-25 \
build-tools-25.0.2 \
tool \
extra-android-m2repository \
@borgogelli
borgogelli / iterm2-solarized.md
Created July 23, 2018 07:32 — forked from pratamawijaya/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@borgogelli
borgogelli / simple-git-workflow.md
Created July 23, 2018 07:35 — forked from pratamawijaya/simple-git-workflow.md
Simple Git Workflow For Continuous Delivery

Simple Git Workflow For Continuous Delivery

Workflow guidelines:

  • master branch is always production-ready, deployable, 100% green test suite
  • New development is done on feature branches, with frequent rebasing onto master
  • Clean commit history by preferring to rebase instead of merge (git pull is configured to automatically rebase)

rebase workflow

Workflow

@borgogelli
borgogelli / sign_apk.sh
Created July 23, 2018 07:35 — forked from caingougou/sign_apk.sh
Create keystore file and sign a jar file (or android package)
# create keystore file
keytool -genkey -v -keystore [my-release-key].ketstore -keyalg RSA -validity 1000 -alias [some_alias]
# sign package
jarsigner -keystore my-release-key.ketstore [some-release-unsigned.apk] some_alias
# verify signed package
jarsigner -verify [some-release-unsigned.apk]
@borgogelli
borgogelli / install-deps-with-android.sh
Created July 23, 2018 07:38 — forked from danielgomezrico/install-deps-with-android.sh
Android - install dependencies to build android projects on linux/ci/other using sdkmanager/android terminal tools
#!/usr/bin/env bash
#
# Install required dependencies with android command
#
for DEP in android-25 \
build-tools-25.0.2 \
tool \
extra-android-m2repository \
extra-android-support \