Skip to content

Instantly share code, notes, and snippets.

View gastonmorixe's full-sized avatar
🇺🇳

Gaston Morixe gastonmorixe

🇺🇳
View GitHub Profile
@gastonmorixe
gastonmorixe / index.html
Created August 7, 2017 20:08
JS Bin [add your bin description] // source https://jsbin.com/muzaru
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
$separationmargin: 10px;
$boxpadding: 10px;
@gastonmorixe
gastonmorixe / reducers_index.js
Last active September 18, 2018 11:36
Redux React CombineReducers Discussion [With Dan Abramov]
import { combineReducers } from 'redux'
import reduceReducers from 'reduce-reducers'
import { invites } from './Invites'
import { claimInvite } from './ClaimInvite'
import { app } from './App'
import * as actions from '../constants/ActionTypes'
import {mapping, parseRemotePersonJSON} from './App'
@gastonmorixe
gastonmorixe / Country_Codes_Emojis_Flags.json
Created December 18, 2015 21:33
Country Code Emojis Flags
{"AD": "🇦🇩", "AE": "🇦🇪" ,"AF": "🇦🇫" ,"AG": "🇦🇬" ,"AI": "🇦🇮" ,"AL": "🇦🇱" ,"AM": "🇦🇲" ,"AO": "🇦🇴" ,"AQ": "🇦🇶" ,"AR": "🇦🇷" ,"AS": "🇦🇸" ,"AT": "🇦🇹" ,"AU": "🇦🇺" ,"AW": "🇦🇼" ,"AX": "🇦🇽" ,"AZ": "🇦🇿" ,"BA": "🇧🇦" ,"BB": "🇧🇧" ,"BD": "🇧🇩" ,"BE": "🇧🇪" ,"BF": "🇧🇫" ,"BG": "🇧🇬" ,"BH": "🇧🇭" ,"BI": "🇧🇮" ,"BJ": "🇧🇯" ,"BL": "🇧🇱" ,"BM": "🇧🇲" ,"BN": "🇧🇳" ,"BO": "🇧🇴" ,"BQ": "🇧🇶" ,"BR": "🇧🇷" ,"BS": "🇧🇸" ,"BT": "🇧🇹" ,"BV": "🇧🇻" ,"BW": "🇧🇼" ,"BY": "🇧🇾" ,"BZ": "🇧🇿" ,"CA": "🇨🇦" ,"CC": "🇨🇨" ,"CD": "🇨🇩" ,"CF": "🇨🇫" ,"CG": "🇨🇬" ,"CH": "🇨🇭" ,"CI": "🇨🇮" ,"CK": "🇨🇰" ,"CL": "🇨🇱" ,"CM": "🇨🇲" ,"CN": "🇨🇳" ,"CO": "🇨🇴" ,"CR": "🇨🇷" ,"CU": "🇨🇺" ,"CV": "🇨🇻" ,"CW": "🇨🇼" ,"CX": "🇨🇽" ,"CY": "🇨🇾" ,"CZ": "🇨🇿" ,"DE": "🇩🇪" ,"DJ": "🇩🇯" ,"DK": "🇩🇰" ,"DM": "🇩🇲" ,"DO": "🇩🇴" ,"DZ": "🇩🇿" ,"EC": "🇪🇨" ,"EE": "🇪🇪" ,"EG": "🇪🇬" ,"EH": "🇪🇭" ,"ER": "🇪🇷" ,"ES": "🇪🇸" ,"ET": "🇪🇹" ,"FI": "🇫🇮" ,"FJ": "🇫🇯" ,"FK": "🇫🇰" ,"FM": "🇫🇲" ,"FO": "🇫🇴" ,"FR": "🇫🇷" ,"GA": "🇬🇦" ,"GB": "🇬🇧" ,"GD": "🇬🇩" ,"GE": "🇬🇪" ,"GF": "🇬🇫" ,"GG": "🇬🇬" ,"GH": "🇬🇭" ,"GI": "🇬🇮" ,"GL": "🇬🇱" ,"GM": "🇬🇲" ,"GN
Pod::Spec.new do |s|
s.name = "PerchRTC"
s.version = "1.0.7"
s.summary = "Easiest way to include WebRTC in iOS."
s.homepage = "https://github.com/perchco/perchrtc"
s.license = "MIT"
@gastonmorixe
gastonmorixe / docker_client.py
Created January 26, 2015 03:11
Docker Compose / Fig with Azure SSL ERROR Patch
from docker import Client
from docker import tls
import ssl
import os
import requests.packages.urllib3 as urllib3
urllib3.disable_warnings()
def docker_client():
Verifying that +imton is my openname (Bitcoin username). https://onename.io/imton
@gastonmorixe
gastonmorixe / mywork
Created September 26, 2014 18:39
DelayedJob + Monit + RVM [working!]
check process [MYWORKNAME] with pidfile /var/run/[APP].pid
start program = "/usr/local/rvm/bin/rvm-shell -c 'cd /var/www/[APP]/current/; RAILS_ENV=production bundle exec bin/delayed_job start'"
stop program = "/usr/local/rvm/bin/rvm-shell -c 'cd /var/www/[APP]/current/; RAILS_ENV=production bundle exec bin/delayed_job stop'"
@gastonmorixe
gastonmorixe / double-click.kt
Created August 4, 2014 21:11
Android + RxJava + Kotlin / Double-Click detection
val cellStream = ViewObservable.clicks(newCell, false)
val doubleClickCellStream = cellStream
?.buffer(cellStream?.debounce(200,TimeUnit.MILLISECONDS))
?.map({ list ->
println("list ${list}")
listOf(list?.first, list?.count())
})
?.filter({ list ->
val x = list?.last as Int
@gastonmorixe
gastonmorixe / placeholder.sass
Created August 21, 2013 14:42
Place holder todo terreno :)
@mixin placeholder($normal, $focus, $align, $direction)
&::-webkit-input-placeholder
color: $normal !important
text-align: $align !important
direction: $direction
&:focus::-webkit-input-placeholder
color: $focus !important
text-align: $align !important