Skip to content

Instantly share code, notes, and snippets.

View agrcrobles's full-sized avatar

Garcia agrcrobles

  • Barcelona
View GitHub Profile
@agrcrobles
agrcrobles / build.gradle
Created October 16, 2017 20:03 — forked from mateoKaradza/build.gradle
Example of signingConfigs within build.gradle file
signingConfigs {
release {
if (System.getenv()["CI"]) { // CI is true when running build on CI service, such as Bitrise
storeFile file(System.getenv()["BITRISE_SOURCE_DIR"] + "/keystores/my_keystore.jks")
storePassword System.getenv()["BITRISEIO_ANDROID_KEYSTORE_PASSWORD"]
keyAlias System.getenv()["BITRISEIO_ANDROID_KEYSTORE_ALIAS"]
keyPassword System.getenv()["BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD"]
} else {
storeFile file("release.keystore")
storePassword "Password123"
@agrcrobles
agrcrobles / android_instructions_29.md
Last active October 22, 2023 12:09 — forked from patrickhammond/android_instructions.md
Setup Android SDK on OSX with and without the android studio

Hi, I am a fork from https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03.

A high level overview for what I need to do to get most of an Android environment setup and maintained on OSX higher Catalina and Big Sur with and without Android Studio been installed.

Considering the SDK is installed under /Users/<your_user>/Library/Android/sdk folder which is the Android Studio preferred SDK location, but it works fine under /usr/local/share/android-sdk as well, which is a location pretty much used on CI mostly.

Prerequisites:

https://github.com/shyiko/jabba instead ?

@agrcrobles
agrcrobles / README.md
Created December 18, 2018 08:46
webpack bundle analyzer with create-react-app
@agrcrobles
agrcrobles / Setup my mac.md
Last active March 30, 2023 05:03
Setup my mac for react native on android
@agrcrobles
agrcrobles / netcore22-basic-principles.md
Last active March 30, 2020 11:26
Reviewing some basic concepts about netcoreapp2.2 with C#
@agrcrobles
agrcrobles / 1_initial_migration.js
Created January 29, 2018 16:28
Deploy voting contract
var Migrations = artifacts.require('./Migrations.sol');
module.exports = function(deployer) {
deployer.deploy(Migrations, { gas: 4612388 });
};
@agrcrobles
agrcrobles / DEPS.md
Created December 12, 2018 10:19
Minimum webpack 4 dev server

Install deps

npm init
npm i --save-dev webpack webpack-cli webpack-dev-server
@agrcrobles
agrcrobles / README.md
Created December 8, 2018 08:40
fcm web notification
@agrcrobles
agrcrobles / index.js
Created December 6, 2018 21:03
service worker
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: http://bit.ly/CRA-PWA
serviceWorker.unregister();