Skip to content

Instantly share code, notes, and snippets.

View talk2MeGooseman's full-sized avatar
😏
Hello

Erik Guzman talk2MeGooseman

😏
Hello
View GitHub Profile
{
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"arrowParens": "always",
"printWidth": 120
}
@talk2MeGooseman
talk2MeGooseman / .bashrc
Created January 10, 2018 22:19
Include bash sdk in path
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
@talk2MeGooseman
talk2MeGooseman / Dockerfile
Last active December 3, 2017 08:56
Simple docker file setup for node server
# create a file named Dockerfile
FROM node:alpine
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --production
COPY . ./
EXPOSE 3000
@talk2MeGooseman
talk2MeGooseman / index.js
Last active November 16, 2022 15:24
Firebase Cloud Function 3rd Party Oauth Flow For The Web
const functions = require('firebase-functions');
var admin = require("firebase-admin");
const cookieParser = require('cookie-parser');
const crypto = require('crypto');
var serviceAccount = require("./service-account.json");
const APP_NAME = "twitch-playground";
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
@talk2MeGooseman
talk2MeGooseman / hack.yml
Created July 20, 2017 17:36
Tmuxinator window layout with vim on left and 3 terminals on the right to start hacking away
# https://github.com/tmuxinator/tmuxinator
# Create and manage tmux sessions easily.
# gem install tmuxinator
# ~/.tmuxinator/hack.yml
name: hack
root: ~/
# Optional tmux socket
# socket_name: foo
@talk2MeGooseman
talk2MeGooseman / ExpandablePanel.js
Last active July 20, 2017 17:37
React Native Code example to make a panel the expands on touch
import React, { Component, PropTypes } from 'react';
import {
View,
LayoutAnimation,
StyleSheet,
Text,
TouchableOpacity,
} from 'react-native';
const { any, bool, func, string } = PropTypes;
@talk2MeGooseman
talk2MeGooseman / .eslintrc.json
Last active December 11, 2017 22:50
Example ESLint file for react
// Need eslint, eslint-plugin-react, eslint-babel installed
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {