Skip to content

Instantly share code, notes, and snippets.

View hielfx's full-sized avatar

Daniel Sánchez hielfx

View GitHub Profile
@hielfx
hielfx / gist:4b50fa4c7c7f283e7bf95aa57f1e259a
Created February 13, 2017 12:01 — 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"
@hielfx
hielfx / gist:ae2177ea253ed81bfd5706f141984312 MacOS X El Capitan with Vagrant - MacOS X VM on Windows/Linux
* Install Virtual Box (https://www.virtualbox.org)
* Install Oracle VM VirtualBox Extension Pack (https://www.virtualbox.org)
* Install Vagrant
mkdir osxvm
cd osxvm
vagrant init jhcook/osx-elcapitan-10.11
* Edit Vagrantfile
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Updated: 2010/12/05
// License: MIT
//
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it)
//
// Permission is hereby granted, free of charge, to any person
@hielfx
hielfx / vim-on-heroku.sh
Created November 24, 2016 12:00 — forked from sfate/vim-on-heroku.sh
vim on heroku
#!/usr/bin/env bash
curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz
mkdir vim && tar xzvf vim.tar.gz -C vim
export PATH=$PATH:/app/vim/bin
@hielfx
hielfx / frontendDevlopmentBookmarks.md
Created June 21, 2016 10:20 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@hielfx
hielfx / persistence.xml
Created May 29, 2016 14:28 — forked from mortezaadi/persistence.xml
persistence xml configurations for major databases and jpa providers
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<!-- derby -->