Skip to content

Instantly share code, notes, and snippets.

View lottadot's full-sized avatar

Shane Zatezalo lottadot

View GitHub Profile
@lottadot
lottadot / gist:5810903
Created June 19, 2013 01:00
OctoKit Login #ObjC
OCTUser *user = [OCTUser userWithLogin:@"lottadot" server:OCTServer.dotComServer];
OCTClient *client = [OCTClient authenticatedClientWithUser:user password:@""];
git clone foo
cd foo
git remote add myfork ssh://mylogin@myserver/mypath/foo.git
git push myfork -all
[ -f Cartfile.resolved ]; then
CARTFILE_CHANGED=`git diff --stat $(GIT_PREVIOUS_SUCCESSFUL_COMMIT) $(GIT_COMMIT) | grep '\|' | awk '{print $$1}' | grep Cartfile.resolved`
if test "$(CARTFILE_CHANGED)" ; then
echo "## STEP: Updating Carthage"
carthage bootstrap --platform iOS --no-use-binaries
else
echo "## Carthage is up to date"
fi
else
echo "## STEP: Installing Carthage Dependencies"
For sale:
15" MacBook Pro Retina 2.6 GHz i7 CPU, GeForce GT 650M Video, 16GB Ram, 500GB HD and
27" Apple LED Cinema Display
Two laptop chargers included, misc video adapters. Model is MacBookPro10,1 (2012). Asking $950.00.
Located in Grove City, Ohio
@lottadot
lottadot / gist:11ac02dbdf782f49d42f2cefe8ce8f7a
Last active June 4, 2019 03:03
Vertical stack in a Horizontal stack - remove one of the `This is a test` and it it builds.
`
Showing Recent Messages
.../Projects/SWPoc/SWPoc/SWPoc/ContentView.swift:18:4: Static member 'leading' cannot be used on instance of type 'HorizontalAlignment'
`
HStack {
Image("Candy")
VStack(alignment: .leading) {
Text("hello")
Text("This is a test")