Skip to content

Instantly share code, notes, and snippets.

View federicoiosue's full-sized avatar
🏠
Working from home

Federico Iosue federicoiosue

🏠
Working from home
View GitHub Profile
@federicoiosue
federicoiosue / .gitignore
Created September 14, 2014 13:57
Android Studio projects .gitignore
# built application files
*.apk
*.ap_
*.jar
!gradle/wrapper/gradle-wrapper.jar
# lint folder
lint
# files for the dex VM
@federicoiosue
federicoiosue / privacy-policy.md
Last active November 22, 2023 02:17
Android App Privacy Policy

Privacy Policy

Privacy image

Introduction

Thank you for using my software! This document is the main privacy policy for Omni Notes Android and desktop applications. I respects your privacy rights and care about protecting your information collected by my apps.

@federicoiosue
federicoiosue / sign-config.properties
Created February 11, 2017 14:05
Android app signing configuration
keystore=/path/tp/your/keystore
keystore.password=keystorePassword
keystore.alias=aliasForApp
keystore.alias.password=aliasForAppPassword
@federicoiosue
federicoiosue / updateApp.sh
Last active January 19, 2018 15:07
Last release fetching from Github
#!/bin/bash
path=`curl -sL https://github.com/federicoiosue/PSMetadataFetcherJava/releases/latest | egrep -o '/federicoiosue/PSMetadataFetcherJava/releases/download/.+/.*.jar'`
fileName=`echo $path | rev | cut -d '/' -f 1 | rev`
echo $path | wget --base=http://github.com/ -i -
cp $fileName PlayStoreMetadataFetcher.jar
@federicoiosue
federicoiosue / gitflow-release-after.sh
Created April 23, 2018 13:22
Jenkins + Gitflow - after release
git push origin develop master --tags
git checkout master
mvn docker:build docker:push docker:removeImage
git checkout develop
@federicoiosue
federicoiosue / gitflow-release-after-fail.sh
Created April 23, 2018 13:23
Jenkins + Gitflow - failed release
git checkout develop
for i in $(git branch | grep release); do git branch -D $i; done
@federicoiosue
federicoiosue / gitflow-release-before.sh
Created April 23, 2018 13:24
Jenkins + Gitflow - release preparation
git checkout develop
git pull
mvn jgitflow:release-start -B
mvn jgitflow:release-finish
@federicoiosue
federicoiosue / macOS.md
Last active July 17, 2024 08:47
MacOS customizations & tips

Configuration tweaks

Mouse scroll action

defaults write com.apple.dock scroll-to-open -bool TRUE; killall Dock

Clock shown as analog icon into menu bar

defaults write com.apple.menuextra.clock IsAnalog -bool true
@federicoiosue
federicoiosue / gist:0733cdbc70bed50a2b1afabfa0188f8c
Last active October 23, 2019 07:19
Android project build into container
# Move into the Android project BEFORE running the following command
rm local.properties; docker rm android; docker run -v $PWD:/workspace --name android tabrindle/min-alpine-android-sdk:latest bash -c "yes | sdkmanager --update && yes | sdkmanager --licenses && cd workspace && ./gradlew build --stacktrace -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
@federicoiosue
federicoiosue / README.md
Created October 21, 2019 14:18
IntelliJ/Android Studio Code Style

This is the code styling that must be used to contribute to Omni Notes project

Base code style

Google Java style is used as base

Changes to base

  1. Hard wrap at 120 chars (instead than 100)
  2. Single space before method declaration parenthesis