Skip to content

Instantly share code, notes, and snippets.

View alexlecco's full-sized avatar
💭
working on combo-social

Alex Villecco alexlecco

💭
working on combo-social
View GitHub Profile
@alexlecco
alexlecco / emulator-install-using-avdmanager.md
Created July 7, 2019 15:58 — forked from mrk-han/emulator-install-using-avdmanager.md
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER

About

  • The goal of this gist is to quickly pre-install a range of system images to provide our project teams the ability to run emulators on a range of API levels, from API 19 to API 28.
    • These can be run locally or on the base build agent.
  • Note: X86 is the fastest architecture for emulators, though x86_64 would probably be better to test against because most phones are 64 bit now.
  • We create two sets of emulators here, one set with pixel hardware emulation and one set with default oem emulation.

See: Google Documentation on Start the emulator from the command line for more info

/*
{
type: 'KEYPRESS',
payload: {
keyPressed: 'a'
}
}
*/
function dummyStartFetching() {
@alexlecco
alexlecco / README.md
Created March 27, 2018 16:15 — forked from CodingDoug/README.md
Copying data from Firebase Realtime Database to a Google Sheet in real time via Cloud Functions
@alexlecco
alexlecco / eos-loki-post-install.sh
Created October 14, 2017 13:31 — forked from diniremix/eos-loki-post-install.sh
elementary OS Loki post install
# elementary OS post install
sudo apt update && sudo apt upgrade
sudo apt install software-properties-common --no-install-recommends
sudo apt install ubuntu-restricted-extras libavcodec-extra ffmpeg
sudo apt install firefox vlc
sudo apt install audacious audacious-plugins
sudo apt install screenfetch
@alexlecco
alexlecco / react-native-setup-linux.md
Created September 30, 2017 14:22 — forked from andrei-cacio/react-native-setup-linux.md
React native setup on Ubuntu/Linux

Guide for installing React Native on Linux (ubuntu 14.04)

Step 1: Install JDK 7

sudo apt-get install openjdk-7-jdk

Step 2: Download the Android SDK

@alexlecco
alexlecco / webpack.config.js
Created March 9, 2017 18:51 — forked from jerolan/webpack.config.js
Sample Basic Webpack Config
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/scripts.js",
output: {
path: __dirname + "/js",
filename: "scripts.min.js"
@alexlecco
alexlecco / gist:9a5bb7ef2c007361cf210f1db3f1fa20
Created October 4, 2016 13:03 — forked from marty-wang/gist:5a71e9d0a6a2c6d6263c
Compile and deploy React Native Android app of Release version to device.
Disclaimer: The instructions are the collective efforts from a few places online.
Nothing here is my original. But I want to put them together in one place to save people from spending the same time as I did.
First off, bundle.
==================
1. cd to the project directory
2. Start the react-native packager if not started
3. Download the bundle to the asset folder:
curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"
@alexlecco
alexlecco / deploying_rails_to_heroku.md
Created February 14, 2016 23:56 — forked from thebucknerlife/deploying_rails_to_heroku.md
A Beginners Guide to Deploying a Rails App on Heroku

Deploying to Heroku

This guide is for a first-time Rails developer to deploy their app to Heroku, a popular web-hosting service with strong Rails support. This guide assumes you already have a Heroku account and have installed the Heroku Toolbelt.

Create Your App and Setup Heroku with Git

  1. Make sure you've setup an SSH key for Heroku. Follow this simple guide to create an SSH key and send it to Heroku if needed: Heroku: Managing Your SSH Keys
  2. Navigate into the folder for your Rails app.
@alexlecco
alexlecco / inky.html
Created December 6, 2015 02:21 — forked from inky/inky.html
Theme for http://start.io/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>start.io/{Username}</title>
<style type="text/css">
body {
background: #fff;
color: #000;
font: 300 1em/1.5 'Helvetica Neue', 'Helvetica', sans-serif;
@alexlecco
alexlecco / perfectelementary.bash
Created November 8, 2015 04:56
HowTo Install the perfect Elementary-OS
#Download Elementary OS from here:
#http://sourceforge.net/projects/elementaryos/files/stable/
#First you update your system
sudo apt-get update && sudo apt-get dist-upgrade
#Install Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'