Skip to content

Instantly share code, notes, and snippets.

View shepting's full-sized avatar

Steven Hepting shepting

View GitHub Profile
This is the secret design for the Apple Car that Jony Ive has been hiding for the last 5 years. It runs Swift on
Linux-powered hardware to power the vehicle itself, Swift on the iPhone app to control the vehicle, and Swift on
the Server to display vehicle fleet and app metrics.
This talk is a high-powered jump into Swift & Hardware running on the Raspberry Pi with a secondary focus of
sharing model code between 3 different Swift 'apps' running across server, phone, and microcomputer.
Listeners will learn:
- how to connect and app to a Raspberry Pi over bluetooth
- controlling motors with switches, relay boards, and SwiftyGPIO
What do Uber, Facebook, and Airbnb all have in common?
They use the Buck build system to manage millions of lines of code, across hundreds of
iOS engineers, building many iOS apps.
Here how Buck can make builds faster (smartly optimizing build hierarchies), consistent
(hermetic build descriptions), and efficient (caching everything on the server except
what code has changed locally).
Although this build system is used by the largest iOS organizations in the world, the
@shepting
shepting / bash_command_timer.sh
Created February 6, 2019 22:51
Bash Command Timer
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# Copyright (C) 2014 Chuan Ji <[email protected]> #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. #
# You may obtain a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
@shepting
shepting / buck_rpath.patch
Created March 29, 2019 18:29
iOS 12 Buck rpath Patch
wrap
ios12 rpath buck patch
diff --git a/src/com/facebook/buck/features/apple/project/ProjectGenerator.java b/src/com/facebook/buck/features/apple/project/ProjectGenerator.java
index 57bb4eb810..93e7e93d1e 100644
--- a/src/com/facebook/buck/features/apple/project/ProjectGenerator.java
+++ b/src/com/facebook/buck/features/apple/project/ProjectGenerator.java
@@ -199,6 +199,7 @@ import java.util.Collections;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.HashSet;
@shepting
shepting / new_machine.sh
Created January 11, 2021 23:26
New machine Gist.
#!/bin/zsh
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Setup mackup
brew install mackup
# Configure mackup
cat > ~/.mackup.cfg <<- EOM
[storage]