View NSImage+NinePartDrawing.h
/* | |
* NSImage+NinePartDrawing.h | |
* | |
* Copyright (c) 2011 Noel R. Cower | |
* | |
* This software is provided 'as-is', without any express or implied | |
* warranty. In no event will the authors be held liable for any damages | |
* arising from the use of this software. | |
* |
View UILabelStrikethrough.h
@interface UILabelStrikethrough : UILabel { | |
int xOffset; | |
int yOffset; | |
int widthOffset; | |
int stroke; | |
UIColor* strokeColor; | |
} | |
@property (nonatomic) int xOffset; | |
@property (nonatomic) int yOffset; | |
@property (nonatomic) int widthOffset; |
View get_iLBC.sh
#!/bin/sh | |
ILBC_DIR="iLBC" | |
RFC_URL="http://www.ietf.org/rfc" | |
RFC_FILENAME="rfc3951.txt" | |
ES_URL="http://www.ilbcfreeware.org/documentation" | |
ES_FILENAME="extract-cfile.txt" | |
ES_MV_FILENAME="extract-cfile.awk" | |
PRO_FILE="iLBC.pro" |
View renew_pjsip.sh
#!/bin/sh | |
if [ "$1" == "--last" ] | |
then | |
PJ_REPO="svn+ssh://<your-url-here>/pjsip_mod" | |
PJ_DIR="pjsip_mod" | |
CONFIG_DEFINES="" | |
else | |
PJ_REPO="http://svn.pjsip.org/repos/pjproject/tags/2.0-beta" | |
PJ_DIR="pjproject-2.0b" |
View get_pjsip_deps.sh
#!/bin/sh | |
# constants | |
SCRIPT_VER="1.1" | |
HELP_MSG="get_pjsip_deps.sh, version: ${SCRIPT_VER} | |
Usage: get_pjsip_deps.sh [options] | |
Options: | |
--no-264 Disable build of x264 codec | |
--no-ffmpeg Disable build of ffmpeg |
View hack.sh
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |