Skip to content

Instantly share code, notes, and snippets.

View icemancast's full-sized avatar

Isaac Castillo icemancast

View GitHub Profile

Howto install react-native-maps

This document is to help all the react native developers out there actually get the AirBnb Google Maps up and running with the latest react (at time of this writing 0.55).

Please also use this as a "non-cocoapod" option to installing the Google Maps framework.

  1. Install the latest package from the repo
yarn react-native-maps
icemancast /
Created September 15, 2017 02:00
Installing Let's Encrypt with Cerbot on DigitalOcean & ServerPilot

Let's Encrypt

SSH as root into the server


Install Certbot

icemancast /
Created June 20, 2017 15:40 — forked from bastman/
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see:

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

icemancast / gist:d94c2fcfe5ccf073330aab4a7d55765b
Last active June 8, 2020 23:32 — forked from woogist/gist:1128a0803928edc4bd0f
WooCommerce: change "add to cart" button text by product type
View gist:d94c2fcfe5ccf073330aab4a7d55765b
add_filter( 'woocommerce_product_add_to_cart_text' , 'custom_woocommerce_product_add_to_cart_text' );
* custom_woocommerce_template_loop_add_to_cart
function custom_woocommerce_product_add_to_cart_text() {
global $product;
$product_type = $product->get_type();
icemancast / 0_reuse_code.js
Created March 4, 2017 20:27
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
icemancast / access-policy.json
Created October 24, 2016 17:34 — forked from sapessi/access-policy.json
Policy for serverless bbq lab
View access-policy.json
"Version": "2012-10-17",
"Statement": [
"Sid": "Stmt1476979875000",
"Effect": "Allow",
"Action": [
icemancast /
Created May 11, 2016 15:34 — forked from zgulde/
extra join exercises

Employees Database

  1. Using the example in the Associative Table Joins section as a guide, write a query that shows each department along with the name of the current manager for that department.

       Department Name    | Department Manager
       Customer Service   | Yuchang Weedman
       Development        | Leon DasSarma
       Finance            | Isamu Legleitner

Human Resources | Karsten Sigstam

icemancast / .bash-profile
Created May 6, 2016 21:45 — forked from inooid/.bash-profile
[Terminal] Docker-machine env shortcut
View .bash-profile
# 1. Add this to your .bash-profile or .zshrc and restart your terminal
function dm-env () {
if [ -z "$1" ] ; then
echo "\e[0;31mERROR:\e[0m no argument supplied"
eval "$(docker-machine env $1)"
echo -e "\033[33;32mSUCCESS:\e[0m docker-machine environment set to: $1"
View games.html
<!DOCTYPE html>
// (function() {
View exercise.html
<!DOCTYPE html>
(function() {