Skip to content

Instantly share code, notes, and snippets.

@zoul
zoul / Sound.h
Created October 9, 2009 08:09
Simple wrapper around Audio Services
/*
- Trivial wrapper around system sound as provided by Audio Services.
- Don’t forget to link against the Audio Toolbox framework.
- Assumes ARC support.
*/
@interface Sound : NSObject
// Path is relative to the resources dir.
- (id) initWithPath: (NSString*) path;
ACTION
AD_HOC_CODE_SIGNING_ALLOWED
ALTERNATE_GROUP
ALTERNATE_MODE
ALTERNATE_OWNER
ALWAYS_SEARCH_USER_PATHS
ALWAYS_USE_SEPARATE_HEADERMAPS
APPLE_INTERNAL_DEVELOPER_DIR
APPLE_INTERNAL_DIR
APPLE_INTERNAL_DOCUMENTATION_DIR
@andreacremaschi
andreacremaschi / UITableView+Header
Last active June 28, 2020 04:19
UITableView category to resize table view header using autolayout
UITableView convenience classes for resizing header and footer with autolayout.
@staltz
staltz / introrx.md
Last active July 22, 2024 09:31
The introduction to Reactive Programming you've been missing
@paulz
paulz / gist:cdb1f73d834b5eb24afb
Created December 13, 2015 07:15
Xcode Find Regular Expression to select file header template
Find and Replace following regular expression with empty string to remove copyright headers
//\n//.+\n//.+\n//\n//.+\n// Copyright.+$\n//\n\n
//
// FileName.m
// ProjectName
//
// Created by Author on Date.
// Copyright 2015 iPhone Developer. All rights reserved.
//
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active July 21, 2024 05:06
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
let systemIcons = [
"circle",
"square",
"arrow.left",
"arrow.up",
"arrow.right",
"arrow.down",
"arrow.left.and.right",
"arrow.up.left",
"arrow.up.right",

How To Sync Addons, Settings and Screenshots

Setup

OneDrive

  1. Create a folder in OneDrive. For these instructions we'll use "World of Warcraft Settings" and will refer to it as Settings folder.
  2. Right click on the folder and make sure the "Always keep on this device" is checked.
  3. Copy the WTF, Interface and Screenshots folders to the Settings folder.