Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
PROJECT=foo | |
SOURCES=bar.c baz.c | |
LIBRARY=nope | |
INCPATHS=../some_other_project/ | |
LIBPATHS=../yet_another_project/ | |
LDFLAGS=-ldosomething | |
CFLAGS=-c -Wall | |
CC=gcc | |
# ------------ MAGIC BEGINS HERE ------------- |
package com.teamsketchy.utils; | |
import java.util.LinkedList; | |
import java.util.ListIterator; | |
public class FudiParser { | |
public static LinkedList<String[]> tokenize(String string) { | |
LinkedList<String[]> tokens = new LinkedList<String[]>(); | |
for(int i = 0; i < string.length(); i++) { |
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
/* This implementation does DCT-II on iOS, using the iOS vDSP FFT methods. Supposedly this is faster than in plain C (i.e. FFTW), but I didn't do any tests to support this claim. For one thing, as far as I understand it, doing DCT takes less clock cycles than FFT, and using this code we do an FFT of size 2N for a DCT of size N (and then some post processing. Anyone is welcome to comment :) | |
This code was developed using the following 2 sources, and I owe great gratitude to their authors: http://developer.apple.com/library/ios/#documentation/Performance/Conceptual/vDSP_Programming_Guide/UsingFourierTransforms/UsingFourierTransforms.html and http://www.hydrogenaudio.org/forums//lofiversion/index.php/t39574.html | |
I don't claim I understand everything I do, but the thing is, it works -- as in, it gives me the same result as jtransform with scaling on :) And it's fast enough for my use: on the iPhone 4S I can get 320 DCTs of length 2048 per second. Perhaps I can improve this with some further tweaking (although I' |
# xcode-build-bump.sh | |
# @desc Auto-increment the build number every time the project is run. | |
# @usage | |
# 1. Select: your Target in Xcode | |
# 2. Select: Build Phases Tab | |
# 3. Select: Add Build Phase -> Add Run Script | |
# 4. Paste code below in to new "Run Script" section | |
# 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |
//================================================================== | |
/// <#Insert description of new class here#> | |
class <#NewClassName#> | |
{ | |
public: | |
// | |
// Essentials | |
// |
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
defaults -currentHost write -globalDomain AppleFontSmoothing -int 1
Light font smoothing defaults command (my selection):
defaults -currentHost write -globalDomain AppleFontSmoothing -int 1