Skip to content

Instantly share code, notes, and snippets.

Adrián Catalán ykro

Block or report user

Report or block ykro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View imagenet_classes.txt
tench, Tinca tinca
goldfish, Carassius auratus
great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias
tiger shark, Galeocerdo cuvieri
hammerhead, hammerhead shark
electric ray, crampfish, numbfish, torpedo
stingray
cock
hen
ostrich, Struthio camelus
View Greeting.kt
class Person(var firstName: String, var lastName: String) //model
class MainActivity : AppCompatActivity() { //view + controller
private var model: Person = Person("Adrian", "Catalan")
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
btnShowGreet.setOnClickListener {
@ykro
ykro / Greeting.kt
Created Nov 10, 2017
Android Clean
View Greeting.kt
interface View {
fun setGreeting(greeting: String)
}
interface Presenter {
fun onDestroy()
fun getGreeting()
}
interface Interactor {
View MVPGreeting.kt
interface View {
fun setGreeting(greeting: String)
}
interface Presenter {
fun onDestroy()
fun getGreeting()
}
class Person(var firstName: String, var lastName: String)
@ykro
ykro / Boards.h
Last active Oct 11, 2015
Firmata Arduino zero Boards.h
View Boards.h
/* Boards.h - Hardware Abstraction Layer for Firmata library */
#ifndef Firmata_Boards_h
#define Firmata_Boards_h
#include <inttypes.h>
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h" // for digitalRead, digitalWrite, etc
#else
View Android MOOC Telescopio
http://telescopio.galileo.edu/curso/desarrollo-de-aplicaciones-para-android/
Las presentaciones están en https://speakerdeck.com/ykro y el código en https://github.com/ykro
Semana 1
https://github.com/ykro/androidmooc-clase1
http://www.youtube.com/playlist?list=PLwZVPRbWJRU2yKLLk3G-3FlQnSFXmuMEt
http://www.youtube.com/playlist?list=PLwZVPRbWJRU3aghfi0XsLDRutRdQ4euZ3
Semana 2
https://github.com/ykro/androidmooc-clase2
You can’t perform that action at this time.