Skip to content

Instantly share code, notes, and snippets.

@novellizator
novellizator / mDevCamp2018.md
Last active June 18, 2018 08:31
mDevCamp 2018 notes

mDevCamp 2018 notes

mantra "Write once, run everywhere"

Adapters for Android and iOS

@novellizator
novellizator / demos.swift
Created October 29, 2017 14:52
Demos from the Swift Workshop (Novella & Dedecek)
//Swift Workshop
import Foundation
// Declaring variables
let number = 0
let first = "first"
let second: String = "second"
@novellizator
novellizator / referenceCounting.swift
Last active October 6, 2017 08:56
Reference counting demo
import Foundation
// Retain count of object
let object = NSObject()
CFGetRetainCount(object)
let nextObject = object
CFGetRetainCount(object)
@novellizator
novellizator / staircase.c
Created August 13, 2017 20:49
staircase.c
/**
* @input A : Integer
*
* @Output Integer
*/
int climbStairs(int A) {
int* stairCase = malloc(A* sizeof(int));
int i;
for (i = 0; i < A; ++i) {
if (i == 0) {