Skip to content

Instantly share code, notes, and snippets.

View gastonmorixe's full-sized avatar
🇺🇳

Gaston Morixe gastonmorixe

🇺🇳
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gastonmorixe on github.
  • I am gastonmorixe (https://keybase.io/gastonmorixe) on keybase.
  • I have a public key ASC994buF5yL3o4EjN1ueuaAMOOrSR99Z6kx37c_JcOUpwo

To claim this, I am signing this object:

@gastonmorixe
gastonmorixe / virtualList-bug.js
Last active August 13, 2017 06:58
RN 0.47.1 VirtualizedList infinite rerender Bug
import React, { PureComponent } from 'react'
import {
View,
Text,
VirtualizedList
} from 'react-native'
class DataSource {
getElementAtIndex (index) {
return { key: index }
@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 / 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
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'"