Skip to content

Instantly share code, notes, and snippets.

View eytanschulman's full-sized avatar

Eytan Schulman eytanschulman

View GitHub Profile
[03:19:48]: Starting login with user 'eytan@yellzz.com'
[03:19:49]: Successfully logged in
[03:19:49]: Fetching profiles...
[03:19:49]: Verifying certificates...
[03:19:50]: Found 1 matching profile(s)
[03:19:50]: Downloading provisioning profile...
[03:19:51]: Successfully downloaded provisioning profile...
[03:19:51]: Installing provisioning profile...
/Users/vagrant/git/AppStore_com.yellzz.scootapp.mobileprovision
[03:19:51]: Setting Provisioning Profile type to 'app-store'

Keybase proof

I hereby claim:

  • I am eytanschulman on github.
  • I am eytans (https://keybase.io/eytans) on keybase.
  • I have a public key ASCsABkxS6DLRaJvDsBlaH9hOtDr944dIb2iF7THc-ZLuAo

To claim this, I am signing this object:

@eytanschulman
eytanschulman / gist:8bd26bd6cd4d617868d99136253d95a6
Last active July 20, 2018 19:10
Run Apps from Xcode 9 onto an iOS 12 device
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ \(16A5327f\) \
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
@eytanschulman
eytanschulman / ViewController.swift
Created August 26, 2015 20:15
Will the real easy UIWebView code please stand up?
//
// ViewController.swift
// WebVIewBrad
//
// Created by Eytan Schulman on 8/26/15.
// Copyright (c) 2015 MultiEducator. All rights reserved.
//
import UIKit
@eytanschulman
eytanschulman / gist:362e4141b7e0a093174c
Created June 14, 2015 20:51
Alfred Custom Search for Apple Developer Forums
alfred://customsearch/Search%20Apple%20Documentation/appledocs/utf8/noplus/https://developer.apple.com/search/index.php?q={query}&type=Documentation
@eytanschulman
eytanschulman / Open Every Website on The Useless Web as of May 16th, 2015
Last active November 1, 2016 20:45
Goto http://theuselessweb.com run this in the javascript console by typing javascript: and paste the code. At first Google Chrome will not allow popups but you can allow them. Then run again.
var sitesList = [
['http://heeeeeeeey.com/', false, 7],
['http://thatsthefinger.com/', false, 7],
['http://cant-not-tweet-this.com/', false, 7],
['http://eelslap.com/', false, 5],
['http://www.staggeringbeauty.com/', false, 7],
// ['http://www.omfgdogs.com/', false, 7], Down :(
['http://burymewithmymoney.com/', true, 7],
['http://www.fallingfalling.com/', true, 3],
['http://ducksarethebest.com/', false, 7],
@eytanschulman
eytanschulman / Check for iPhone 3.5",4",4.7" or 5.5"
Created September 13, 2014 19:02
Check for iPhone 3.5",4",4.7" or 5.5"
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
CGSize result = [[UIScreen mainScreen] bounds].size;
if(result.height == 480)
{
NSLog(@"Device is iPhone 4");
}
if(result.height == 568)
{
NSLog(@"Device is iPhone 5s");
@eytanschulman
eytanschulman / gist:832d97c286c3e9fb2590
Created September 8, 2014 09:27
WBAIS App API Request
-(void)executeCalendarRequest {
NSString *clientID = [[[GPPSignIn sharedInstance] authentication] clientID];
NSString *clientSecret = @"z4TA1SX2O9Fmf0Xr76-HASBy";
NSString *accessToken = [[[GPPSignIn sharedInstance] authentication] accessToken];
NSLog(@"clientID = %@",clientID);
NSLog(@"clientSecret = %@",clientSecret);
NSLog(@"accessToken = %@",accessToken);
@eytanschulman
eytanschulman / TechProb
Created August 25, 2014 19:43
Random Tech Support Problem With Apple TV & Projector
Tech support question: In my school we have ATVs and in one class a teacher uses AirPlay mirroring to send her computer to the projector, in another class a different teacher does the same but the aspect ratio is different. Its not 16:9 when the one in the first class is. I am quite sure that the projector model is the same so I am not quite sure what is going on with it.
@eytanschulman
eytanschulman / gist:ee26321caf7646e83837
Created August 17, 2014 19:26
!CGRectIntersectsRect
if (!CGRectIntersectsRect(appFrame, mapButton.frame)) {
}