Skip to content

Instantly share code, notes, and snippets.

View crisecheverria's full-sized avatar

Cristian Echeverria crisecheverria

View GitHub Profile
@crisecheverria
crisecheverria / Podfile
Last active August 28, 2022 09:30
Fix Flipper-Folly on iOS 14.5
target 'YourAPP' do
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
target 'YourAPP' do
inherit! :complete
# Pods for testing
end
@crisecheverria
crisecheverria / serverless.yml
Last active July 14, 2020 09:04
example-serverless.yml
service: random-name
provider:
name: aws
runtime: nodejs12.x
stage: dev
environment:
usersTableName: ${self:custom.myEnvironment.usersTableName.${self:custom.myStage}} # This I used in my code as process.env.usersTablename
projectsTableName: ${self:custom.myEnvironment.projectsTableName.${self:custom.myStage}}
@crisecheverria
crisecheverria / docker-help.md
Created June 22, 2020 12:51 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@crisecheverria
crisecheverria / connectExample.js
Created September 12, 2018 06:49 — forked from markerikson/connectExample.js
React-Redux connect example
import {action1, action2} from "myActions";
import {bindActionCreators} from "redux";
import {connect} from "react-redux";
const mapStateToProps = (state, ownProps) = {
return {
counter : state.counter,
someComponentValue : state.things[ownProps.someIdProp]
};
}
+ case "$(lsb_release -si)" in
++ lsb_release -si
+ export DOKKU_DISTRO=ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
+ PLUGIN_PATH=/var/lib/dokku/plugins