Skip to content

Instantly share code, notes, and snippets.

Mamnun Bhuiyan mamnun

Block or report user

Report or block mamnun

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
mamnun / struct.swift
Created Mar 9, 2017
Reference types in swift structs
View struct.swift
struct AdConfig {
var prefetchCount:Int
var wrapperView:UIView?
static let `default`: AdConfig = AdConfig(prefetchCount: 10, wrapperView: UIView(
print(AdConfig.default.wrapperView?.backgroundColor) // prints nil
var customConfig = AdConfig.default
customConfig.wrapperView?.backgroundColor =
mamnun /
Created Nov 6, 2015 — forked from zenorocha/.hyper.js
Setup Mac OS X Mavericks (10.9)

Setup Mac OS X

I'm in a hospital in Spain and my MacBook was stolen.

Hospital Commit

Now I bought a new one and need to configure it. I have an external hard drive that backup everything using Time Machine, but I don't want all the crap I had in the old one.

1. Run Software Update

You can’t perform that action at this time.