Skip to content

Instantly share code, notes, and snippets.

View nlutsenko's full-sized avatar

Nikita Lutsenko nlutsenko

View GitHub Profile
@nlutsenko
nlutsenko / gist:e098b203e6361f74970b
Last active July 20, 2024 17:11
Xcode DerivedData -> RAMDisk

Make Xcode use RAMDisk:

  • Create a new disk called RAMDisk with 2GB of disk space
    (usually pretty enough, unless you are compiling a lot of projects)
    (the number in the last piece is number of megabytes you want to use for your disk multiplied by 2048, in this case it's 2048 * 2048 = 4194304.
diskutil erasevolume HFS+ "RAMDisk" `hdiutil attach -nomount ram://4194304`
  • Goto: Xcode -> Settings -> Locations
# Use the --use-libraries switch when pushing or linting this podspec
Pod::Spec.new do |s|
s.name = "FBSDKLoginKit"
s.version = "4.7.0"
s.summary = "Official Facebook SDK for iOS to access Facebook Platform with features like Login, Share and Message Dialog, App Links, and Graph API"
s.description = <<-DESC
The Facebook SDK for iOS LoginKit framework provides:
@nlutsenko
nlutsenko / .travis.yml
Last active October 30, 2015 08:48
Make Travis-CI run your tests using different versions of Xcode
language: objective-c
os: osx
matrix:
include:
- osx_image: xcode7.0
- osx_image: xcode7.1
- osx_image: xcode7.2b1
@nlutsenko
nlutsenko / yolo.sh
Last active July 22, 2024 05:12
Fast Xcode builds
defaults write xcodebuild PBXNumberOfParallelBuildSubtasks 4
defaults write xcodebuild IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4
defaults write com.apple.xcode PBXNumberOfParallelBuildSubtasks 4
defaults write com.apple.xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4
///--------------------------------------
/// CustomLogInViewController.swift
///--------------------------------------
class CustomLogInViewController: PFLogInViewController {
var backgroundImage : UIImageView!
override func viewDidLoad() {
super.viewDidLoad()

Keybase proof

I hereby claim:

  • I am nlutsenko on github.
  • I am nlutsenko (https://keybase.io/nlutsenko) on keybase.
  • I have a public key ASDQF_N_B5Af_F0Xps8qulRLyISB0lAZ_JNk3r3xgiua4Qo

To claim this, I am signing this object:

SocketRocket


A conforming WebSocket (RFC 6455) client library for iOS, macOS and tvOS.

Test results for SocketRocket here. You can compare to what modern browsers look like here.

SocketRocket currently conforms to all core ~300 of Autobahn's fuzzing tests