Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Federico Iosue federicoiosue

🏠
Working from home
View GitHub Profile
@federicoiosue
federicoiosue / 42.md
Last active Nov 3, 2021
Tech thoughts and references
View 42.md

42

Answers to the Ultimate Question of Life, the Universe, and Everything. Into a single brainstorming repo.

Methodology

Principles

@federicoiosue
federicoiosue / README.md
Created Oct 21, 2019
IntelliJ/Android Studio Code Style
View README.md

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
@federicoiosue
federicoiosue / gist:0733cdbc70bed50a2b1afabfa0188f8c
Last active Oct 23, 2019
Android project build into container
View gist:0733cdbc70bed50a2b1afabfa0188f8c
# 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 / macOS.md
Last active Jun 22, 2021
MacOS customizations & tips
View macOS.md

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 / gitflow-release-before.sh
Created Apr 23, 2018
Jenkins + Gitflow - release preparation
View gitflow-release-before.sh
git checkout develop
git pull
mvn jgitflow:release-start -B
mvn jgitflow:release-finish
@federicoiosue
federicoiosue / gitflow-release-after-fail.sh
Created Apr 23, 2018
Jenkins + Gitflow - failed release
View gitflow-release-after-fail.sh
git checkout develop
for i in $(git branch | grep release); do git branch -D $i; done
@federicoiosue
federicoiosue / gitflow-release-after.sh
Created Apr 23, 2018
Jenkins + Gitflow - after release
View gitflow-release-after.sh
git push origin develop master --tags
git checkout master
mvn docker:build docker:push docker:removeImage
git checkout develop
@federicoiosue
federicoiosue / updateApp.sh
Last active Jan 19, 2018
Last release fetching from Github
View updateApp.sh
#!/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 / sign-config.properties
Created Feb 11, 2017
Android app signing configuration
View sign-config.properties
keystore=/path/tp/your/keystore
keystore.password=keystorePassword
keystore.alias=aliasForApp
keystore.alias.password=aliasForAppPassword
@federicoiosue
federicoiosue / privacy-policy.md
Last active May 1, 2019
Android App Privacy Policy
View privacy-policy.md

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.

What information are eventually collected