Skip to content

Instantly share code, notes, and snippets.

View msmollin's full-sized avatar

Matt Smollinger msmollin

View GitHub Profile
@parrots
parrots / ModernSegmentedControl.swift
Created June 28, 2019 16:00
A segmented control without the borders. Allows for a subtle background on the unselected states, and a tint on the selected state.
//
// ModernSegmentedControl.swift
//
//
// Created by Curtis Herbert on 3/8/18.
//
import Foundation
@objc final class ModernSegmentedControl: UIControl {
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@jonathanpenn
jonathanpenn / unix_instruments.sh
Last active January 26, 2016 19:09
Make Instruments play nice with unix by returning > 0 status code if build fails
#!/usr/bin/env bash
#
# Copyright (c) 2013 Jonathan Penn (http://cocoamanifest.net)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: