Skip to content

Instantly share code, notes, and snippets.

View dariopellegrini's full-sized avatar

Dario Pellegrini dariopellegrini

View GitHub Profile
@marcogusmini94
marcogusmini94 / gist:d21206a828b6f010f04ab071433cb5d7
Created June 10, 2020 10:34
Hot to config Aruba Cloud Storage with Node.js and 'aws-sdk'
const AWS = require('aws-sdk');
const arubaEndpoint = new AWS.Endpoint('r1-it.storage.cloud.it');
const arubaCredentials = new AWS.Credentials({
accessKeyId: 'accessKeyId',
secretAccessKey: 'secretAccessKey'
});
const s3 = new AWS.S3({
@StefMa
StefMa / Controllers.kt
Last active October 22, 2020 16:16
BottomNavigation with Conductor
private const val ROUTER_STATES_KEY = "STATE"
/**
* This is the base implementation of a [Controller] which works hand in hand with the [BottomNavigationView].
*
* It is designed to work like that:
* * [Textual explanation](https://i.imgur.com/EqqQyOY.png)
* * [Visual explanation](https://i.imgur.com/FDb6EGU.png)
*
* In other words. It should be behave exactly like the [iOS TabBar](http://apple.co/2y6XIrL)
@simonexmachina
simonexmachina / .gitignore
Last active October 24, 2019 05:44
Example .gitignore file for iOS projects
## Build generated
build/
DerivedData
build.xcarchive
## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3