Skip to content

Instantly share code, notes, and snippets.

Avatar

Eytan Schulman eytanschulman

View GitHub Profile
View gist:ad570aee2becadfd3e58f512fcc025be
[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'
View keybase.md

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 Jul 20, 2018
Run Apps from Xcode 9 onto an iOS 12 device
View gist:8bd26bd6cd4d617868d99136253d95a6
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 Aug 26, 2015
Will the real easy UIWebView code please stand up?
View ViewController.swift
//
// 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 Jun 14, 2015
Alfred Custom Search for Apple Developer Forums
View gist:362e4141b7e0a093174c
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 Nov 1, 2016
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.
View Open Every Website on The Useless Web as of May 16th, 2015
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 Sep 13, 2014
Check for iPhone 3.5",4",4.7" or 5.5"
View 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");
View gist:832d97c286c3e9fb2590
-(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 Aug 25, 2014
Random Tech Support Problem With Apple TV & Projector
View TechProb
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.
View gist:ee26321caf7646e83837
if (!CGRectIntersectsRect(appFrame, mapButton.frame)) {
}