Skip to content

Instantly share code, notes, and snippets.


Nikita Lutsenko nlutsenko

View GitHub Profile
View gist:62d7529e6eecc4185a60adb08a3b2f3e


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

View key

Keybase proof

I hereby claim:

  • I am nlutsenko on github.
  • I am nlutsenko ( on keybase.
  • I have a public key ASDQF_N_B5Af_F0Xps8qulRLyISB0lAZ_JNk3r3xgiua4Qo

To claim this, I am signing this object:

View login.swift
/// CustomLogInViewController.swift
class CustomLogInViewController: PFLogInViewController {
var backgroundImage : UIImageView!
override func viewDidLoad() {
nlutsenko /
Last active August 20, 2023 09:53
Fast Xcode builds
defaults write xcodebuild PBXNumberOfParallelBuildSubtasks 4
defaults write xcodebuild IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4
defaults write PBXNumberOfParallelBuildSubtasks 4
defaults write IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4
nlutsenko / .travis.yml
Last active October 30, 2015 08:48
Make Travis-CI run your tests using different versions of Xcode
View .travis.yml
language: objective-c
os: osx
- osx_image: xcode7.0
- osx_image: xcode7.1
- osx_image: xcode7.2b1
View FBSDKLoginKit.podspec
# Use the --use-libraries switch when pushing or linting this podspec do |s| = "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 / gist:e098b203e6361f74970b
Last active July 31, 2017 20:25
Xcode DerivedData -> RAMDisk
View gist:e098b203e6361f74970b

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