Skip to content

Instantly share code, notes, and snippets.

@ahummel25
ahummel25 / keybase.md
Created October 7, 2023 01:09
Keybase proof

Keybase proof

I hereby claim:

  • I am ahummel25 on github.
  • I am andrewhummel (https://keybase.io/andrewhummel) on keybase.
  • I have a public key ASD9p5XxcnW_8t2sggn1i3KzK_1LhyA_pP6lYJUmGszSYQo

To claim this, I am signing this object:

@ahummel25
ahummel25 / gist:9deb4f28fd297349dbbe688da54ccf3d
Created February 6, 2021 16:54 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
import React from "react";
import{StyleSheet,View,ActivityIndicator,FlatList,Text,TouchableOpacity,Image} from "react-native";
import { Icon } from "react-native-elements";
import { enText } from "../lang/en";
export default class Store extends React.Component {
constructor(props) {
super(props)
this.state = {
loading: false,

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

import * as React from "react";
import { render } from "react-dom";
import produce from "immer";
import { set, has } from "lodash";
import "./styles.css";
function enhancedReducer(state, updateArg) {
// check if the type of update argument is a callback function
if (updateArg.constructor === Function) {