Skip to content

Instantly share code, notes, and snippets.

@limboy
limboy / demo.swift
Created October 17, 2019 14:13
Playground Demo
//: A UIKit based Playground for presenting user interface
import UIKit
import PlaygroundSupport
import RxSwift
import RxCocoa
import RxRelay
/// Model
public struct User {
@limboy
limboy / create-fat-framework.sh
Created May 5, 2019 11:46 — forked from sundeepgupta/create-fat-framework.sh
Script to create a universal or "fat" binary for an iOS framework.
#!/bin/bash
# Adapted from http://stackoverflow.com/questions/24039470/xcode-6-ios-creating-a-cocoa-touch-framework-architectures-issues/26691080#26691080
# and https://gist.github.com/cromandini/1a9c4aeab27ca84f5d79
# Create a new aggregate target.
# For the automatically generated scheme, change its build config to "release".
# Ensure this target's "product name" build setting matches the framework's.
# Add a run script with `source "${PROJECT_DIR}/path_to_this_script`
@limboy
limboy / init.vim
Created October 5, 2018 04:25
neovim
call plug#begin()
Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
" Plug 'fatih/molokai'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'mdempsky/gocode', { 'rtp': 'nvim', 'do': '~/.config/nvim/plugged/gocode/nvim/symlink.sh' }
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'itchyny/lightline.vim'
Plug 'jlanzarotta/bufexplorer'