Skip to content

Instantly share code, notes, and snippets.

View SaraChicaD's full-sized avatar
💭
React Native-ing

Sara Inés Calderón SaraChicaD

💭
React Native-ing
View GitHub Profile
@SaraChicaD
SaraChicaD / PR_Template.md
Last active August 1, 2022 18:35
Pull request / PR template for teams that have a lot of hands in the pie, and or would like to promote code review practices.

TICKET

Link to ticket goes here

WHAT THIS PR DOES

(Summary of the PR issue & fix -- specifically list the steps you took to address the problem, link to Jira or design. Ex: 1.) Added props, 2.) edited styles...)

HOW TO TEST THIS PR

@SaraChicaD
SaraChicaD / React_Native_Twitter_Embed.js
Last active April 14, 2023 08:34
Code to embed a web Twitter tweet into a React Native app
import React, { Component } from 'react'
import { WebView } from 'react-native-webview';
import { StyleSheet, ScrollView, View } from 'react-native';
import PropTypes from 'prop-types';
// adapted from: https://stackoverflow.com/a/49310105/4488853
class Tweet extends Component {
static propTypes = {
tweetUrl: PropTypes.string,
};
setData + getData are async storage functions
// thunk
export const fetchRefreshToken = () => (dispatch, getState) => {
const token = `${getState().auth.refreshToken}`;
const params = { "token": token };
dispatch(refreshTokenRequest());
return axios.get(`${API_URL}v1/refreshToken`, {params})
.then((res => {
@SaraChicaD
SaraChicaD / gist:7923719975335b60d2243225aa2e015d
Created September 5, 2024 17:57
Austin Women Software Engineers Code of Conduct
# CODE OF CONDUCT
Austin Women Software Engineers (henceforth referred to as AWSE) is a professional organization supporting professional development and networking of all women in software engineering. As such, it expects proper decorum, respect, and integrity of all participants to abide by a code of conduct.
As a gender-based organization, our priority is to ensure all women, as well as all individuals, are treated with respect emotionally, mentally, and physically. There is zero tolerance for someone who speaks inappropriately or acts in a manner that is disrespectful or in an unwanted manner, sexual or otherwise. All determinations of appropriate or inappropriate behavior are in AWSE’s sole discretion and the decision(s) of the AWSE’s representatives will be final.
## Who does this code apply to
The following Code applies to individuals of all genders, both members and nonmembers, and all persons who volunteer or participate in any capacity in any AWSE event - whether in-person or virtual. It will