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
using System.Collections; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using UnityEngine; | |
struct TimerData { | |
public string name; | |
public List<double> times; | |
} |
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
/** | |
* Created by Andrew Zimmer. | |
* 3/27/2017 | |
* | |
* Free to use and distribute. | |
* | |
**/ | |
using System.Collections; | |
using System.Collections.Generic; |
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
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
enum Direction {Up, Down, West, East, North, South}; | |
public class Cloud : MonoBehaviour { | |
public int cloudSizeX = 2; | |
public int cloudSizeY = 2; | |
public int cloudSizeZ = 2; |
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
-(UIImage *)imageWithTint:(UIColor *)color { | |
// Setup the color | |
CGFloat redColor; | |
CGFloat greenColor; | |
CGFloat blueColor; | |
CGFloat alphaColor; | |
[color getRed:&redColor green:&greenColor blue:&blueColor alpha:&alphaColor]; | |
// First get the image into your data buffer |
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
/* | |
This function searches a mailimap session for messages with a certain string in their subject line, and returns those messages udid numbers. NOTE: This is called synchronously, so do it in a background thread. | |
*/ | |
+(NSArray*)searchFolderForString:(NSString*)string withFolderSession:(struct mailimap *)session { | |
if([string length] == 0) { | |
return nil; | |
} | |
int err; |
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
#!/usr/bin/env ruby | |
# You might want to change this | |
ENV["RAILS_ENV"] ||= "daemon" | |
require File.dirname(__FILE__) + "/../../config/application" | |
#require 'rubygems' | |
Rails.application.require_environment! |
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
# This is done on Rails 3.2.2 | |
# Make sure to define your signup route in routes.rb as a POST | |
# Mailchimp | |
gem 'gibbon' | |
gem 'thin' |
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
// Start here https://developers.facebook.com/docs/getting-started/getting-started-with-the-ios-sdk/ | |
// Install the Facebook SDK, get it linked up, create an app, and get that setup correctly | |
// in your info.plist, appDelegate, and build settings. | |
//Note: This example uses ARC. If you aren't using ARC, made sure to release/retain objects as needed. | |
//Now for the fun part. | |
//////////////////////////// |