Skip to content

Instantly share code, notes, and snippets.

@JaviLorbada
JaviLorbada / FRP iOS Learning resources.md
Last active April 8, 2024 18:07
The best FRP iOS resources.

Videos

@simonwhitaker
simonwhitaker / snippet.m
Created April 18, 2012 14:30
Suppress deprecated-declarations warning when calling uniqueIndentifier, e.g. for TestFlight API
#ifdef TESTING
/*
Disable deprecated-declarations warning.
See http://clang.llvm.org/docs/UsersManual.html#diagnostics_pragmas
Basic workflow:
1. push current warnings onto stack
2. ignore warning we know will get thrown
3. do dodgy thing that causes warning
@ejknapp
ejknapp / gist:2322745
Created April 6, 2012 20:34
A list of Books on C for Cocoa and Cocoa Touch programmers
A Book on C: Programming in C (4th Edition)
by Al Kelley & Ira Pohl
http://www.amazon.com/Book-Programming-4th-Edition/dp/0201183994/ref=sr_1_1?ie=UTF8&qid=1333742037&sr=8-1
Objective-C Programming: The Big Nerd Ranch Guide
by Aaron Hillegass
http://www.amazon.com/Objective-C-Programming-Ranch-Guide-Guides/dp/0321706285/ref=sr_1_10?s=books&ie=UTF8&qid=1333742247&sr=1-10
Understanding Pointers in C
Yashavant Kanetkar
@martinsik
martinsik / chat-frontend.js
Last active December 19, 2023 10:23
Node.js chat frontend and server
$(function () {
"use strict";
// for better performance - to avoid searching in DOM
var content = $('#content');
var input = $('#input');
var status = $('#status');
// my color assigned by the server
var myColor = false;
//
// KSDIdlingWindow.h
//
// Created by Brian King on 4/13/10.
// Copyright 2010 King Software Designs. All rights reserved.
//
// Based off:
// http://stackoverflow.com/questions/273450/iphone-detecting-user-inactivity-idle-time-since-last-screen-touch
//