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
# OSX | |
# | |
.DS_Store | |
# React Native | |
# | |
/node_modules | |
/ios/kif_screenshots/ | |
*.jsbundle* |
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
Shader "Hidden/RedOffsetShader" { | |
Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
} | |
SubShader { | |
Pass { | |
CGPROGRAM | |
#pragma vertex vert_img | |
#pragma fragment frag |
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
invalidate-cloudfront-common: &invalidate-cloudfront-common | |
image: cgswong/aws:aws | |
commands: | |
- aws configure set preview.cloudfront true | |
- aws cloudfront create-invalidation --distribution-id $DISTRIBUTION_ID --paths "/*" | |
secrets: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY] | |
pipeline: | |
invalidate-cloudfront-dev: | |
<<: *invalidate-cloudfront-common |
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 { sample } from 'lodash' | |
export default class TitleGenerator { | |
static generate() { | |
return sample(this.phrases()) | |
} | |
static phrases() { | |
return [ | |
`${sample(this.gibberish())} the ${sample(this.adjectives())} aspect ${sample(this.rises())}. ${sample(this.gibberish())} ${sample(this.interrogations())}`, |
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
Organizational Tools: | |
* Trello for prioritizing the most important thing to be working on next | |
(typically divided into backlog, doing, review and done columns) | |
* Github pull requests before merging code to master | |
(not just programmers: artists and other interested parties have a say too) | |
Regular Meetings: | |
* Morning team standups |
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
class MikeBlindBot < RTanque::Bot::Brain | |
NAME = 'MikeBlindBot2' | |
include RTanque::Bot::BrainHelper | |
TURRET_FIRE_RANGE = RTanque::Heading::ONE_DEGREE * 1.0 | |
def tick! | |
## main logic goes here | |
@direction_degrees ||= 0 | |
if self.sensors.position.on_top_wall? |
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
class MikeBlindBot < RTanque::Bot::Brain | |
NAME = 'MikeBlindBot' | |
include RTanque::Bot::BrainHelper | |
def tick! | |
## main logic goes here | |
@direction_degrees ||= 0 | |
if self.sensors.position.on_top_wall? | |
@direction_degrees = -180 | |
elsif self.sensors.position.on_bottom_wall? |
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; | |
using System.Collections; | |
public class CheatActivator : MonoBehaviour { | |
private DateTime ClickedAt; | |
private const int MIN_SECONDS = 5; | |
private const string CHEAT_SCENE = "Cheats"; | |
public void OnPress(bool isDown) { |
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 Parse; | |
// Parse for Unity3d stops responding if it gets initialized twice | |
// or the original initialization goes away (e.g., you leave the scene) | |
// so use this instead of the regular ParseInitializeBehaviour, and | |
// throw it in every scene that you need to talk to Parse in | |
public class ParseSafeInitializeBehaviour : ParseInitializeBehaviour { |
NewerOlder