This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* fir.c | |
* SEIS742 - May2010 | |
*/ | |
#include <math.h> | |
//#include <filter.h> | |
#include "normal.h" | |
#include "flat.h" | |
#include "tachy.h" | |
#include "defib.h" | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re, math | |
# Debug flag: True=print intermediate data structures | |
DEBUG = True | |
# hardcoded (for simplicity) tuple of documents to index | |
documents = ('D1.txt','D2.txt','D3.txt') | |
index={} # dictionary key: (document, term), value: frequencies/weights | |
maxterm={} # dictionary key: document, value: maximum number of time any term appears |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script automatically sets the version and short version string of | |
# an Xcode project from the Git repository containing the project. | |
# | |
# To use this script in Xcode 4, add the contents to a "Run Script" build | |
# phase for your application target. | |
set -o errexit | |
set -o nounset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
*Skeleton transform program | |
* SEIS750 | |
* Spring 2012 | |
**/ | |
#include <GL/Angel.h> | |
#include <math.h> | |
#pragma comment(lib, "glew32.lib") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def app_path | |
ENV['APP_BUNDLE_PATH'] || (defined?(APP_BUNDLE_PATH) && APP_BUNDLE_PATH) | |
end | |
Given /^I launch the app$/ do | |
# latest sdk and iphone by default | |
launch_app app_path | |
end | |
Given /^I launch the app using iOS (\d\.\d)$/ do |sdk| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for f in $(ls -p ~/Library/Application\ Support/iPhone\ Simulator/| grep '/') ; do | |
if [ "$f" != 'User/' ]; then | |
echo "$f" | |
rm -r ~/Library/Application\ Support/iPhone\ Simulator/$f | |
mkdir ~/Library/Application\ Support/iPhone\ Simulator/$f | |
fi | |
done | |
rm -r ~/Library/Developer/Xcode/DerivedData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MRKOpenGLView.m | |
// openGL_Example | |
// | |
// Created by Mark Norgren on 4/17/12. | |
// Copyright (c) 2012 Marked Systems. All rights reserved. | |
// | |
#import "MRKOpenGLView.h" | |
#import "CC3GLMatrix.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSNumber *currentCounter = appDelegate.newsCount; | |
DLog(@"currentCount Address: %p", currentCounter); | |
DLog(@"newsCount Address: %p", (appDelegate.newsCount)); | |
DLog(@"currentCount Value: %@", currentCounter); | |
DLog(@"newsCount value: %@", appDelegate.newsCount); | |
DLog(@"currentCounter: %@", currentCounter); | |
DLog(@"%@<%x>", currentCounter, &*currentCounter); | |
DLog(@"%@<%x>", currentCounter, ¤tCounter); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// OpenGLView.m | |
// HelloOpenGL | |
// | |
// Created by Ray Wenderlich on 5/24/11. | |
// Copyright 2011 __MyCompanyName__. All rights reserved. | |
// | |
#import "OpenGLView.h" | |
#import "CC3GLMatrix.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Setting up a public repository | |
##In the remote location create a bare repo: | |
git init bare | |
##In the local repo, add remote reference | |
git remote add ‘nameOfRemote’ ‘URL to remote’ //note if this is default remote use ‘origin’ for name | |
##Push your new local repo to this remote | |
git push --all |
OlderNewer