Skip to content

Instantly share code, notes, and snippets.

View go-cristian's full-sized avatar
💭
Never stop learning!

Cristian Gómez go-cristian

💭
Never stop learning!
View GitHub Profile
const from = PAGE_SIZE * page
let accumulator = 0
let assigned = 0
let currentCityIndex = 0
let currentCityPage = 0
let pages: number[] = []
let results: Listing[] = []
while (assigned < PAGE_SIZE || currentCityIndex === CITIES.length - 1) {
const response = await axios.get(
sealed class Integrante
data class Persona(
val nombre: String, val apellido: String
) : Integrante()
data class Perro(val nombre: String) : Integrante()
typealias Familia = List<Integrante>
@go-cristian
go-cristian / family.kt
Last active December 28, 2019 15:52
Code for medium post, Intro to FP
val cristian = Persona(nombre="Cristian", apellido="Gomez")
val carlos = Persona(nombre="Carlos", apellido="Gomez")
val carmen = Persona(nombre="Carmen", apellido="Gomez")
val spock = Perro(nombre="Spock")
val familia:Familia = listOf(cristian, carlos, carmen, spock)
@go-cristian
go-cristian / main.kt
Last active December 21, 2019 18:30
main
fun getTimes(times: Array<Int>, directions: Array<Int>): Array<Int> {
val result: Array<Int> = Array(times.size) { -1 }
val endTime: Int = times.max() ?: 0
if (endTime == 0) return result
val inQueue: Queue<Int> = LinkedList()
val outQueue: Queue<Int> = LinkedList()
var currentIndex = 0
var turnstile = 0
Hshdbdudbdjdh
Post 4
xkjhf sdwf iajudsf ds
Bdusnsdbdb
COntent

Comunity Impact

Hi, My Name is Cristian Gomez and I am Android developer at @PagerInc, I organize the Medellin Android meetup with @cdmunoz and a bunch of people. Here is my community impact in Android Technologies.

1. Medellin Android (Organizer - Community Meetup)

Date: 06-2016 Description: Since June of 2016, Carlos Muñoz and many others started the Android Meetup and from the beginning, I was totally convinced about giving all to try to give a piece of my knowledge to the community! Android community held in Medellín with +1500 members and +20 Impact per meetup. So far we carried out +30 meetups: since 2016 Impact: +200