Skip to content

Instantly share code, notes, and snippets.

View billbonney's full-sized avatar

Bill Bonney billbonney

  • Communis Tech Inc
View GitHub Profile
@billbonney
billbonney / .vimrc
Last active March 5, 2025 08:37
.vimrc
" NOTE: Install Plug to autoload 1st.
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
" Load Plugins using Plug
"
call plug#begin()
" Xcode Color Themes
Plug 'lunacookies/vim-colors-xcode'
Plug 'morhetz/gruvbox'
@billbonney
billbonney / .gitconfig
Last active October 22, 2024 07:59
gitconfig shortcuts and default settings
#
# .gitconfig with simple shortcuts for common actions
#
[user]
name = <your.name>
email = <your.email>
[alias]
br = branch
ci = commit
@billbonney
billbonney / ColorPicker.swift
Last active April 3, 2018 02:13
Simple Color Picker UIView for iOS
//
// Copyright (c) 2018 Bill Bonney <[email protected]>. All rights reserved.
//
// 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:
//
@billbonney
billbonney / ASwiftTour.playground.swift
Last active June 5, 2025 01:57
A Swift Tour - The Swift Programming Language - Solutions
//
// Copyright © 2023 Bill Bonney. All rights reserved.
//
// The Swift Programming Language: Swift by Tutorials (solutions)
// Author: Bill Bonney <billbonney (at) communistech.com>
//
// This is all the code in The Swift Tour section in the Apple Book on Swift.
// This should allow you to play with the code and see behaviours, and help
// solve any paticulars you get stuck on when doing the Experiments.
//