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 | |
set -euo pipefail | |
# set -x | |
dir="${HOME}/.daily-scheduler" | |
log="${dir}/log" | |
mkdir -p "${dir}" |
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
package spray.caching | |
import com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap | |
import spray.util.Timestamp | |
import scala.annotation.tailrec | |
import scala.collection.JavaConverters._ | |
import scala.concurrent.duration.Duration | |
import scala.concurrent.{ExecutionContext, Future, Promise} | |
import scala.util.{Failure, Success, Try} |
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
#pragma strict | |
var next : KeyCode = KeyCode.RightArrow; | |
var previous : KeyCode = KeyCode.LeftArrow; | |
var disableObject: boolean = false; | |
private var current = 0; | |
private function SetRenderersEnabled(obj: Transform, enabled: boolean) { |
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
#pragma strict | |
class AnimatorInputCfg { | |
var key: KeyCode; | |
var trigger: String; | |
}; | |
var commands: AnimatorInputCfg[] = []; | |
var animator: Animator; |
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
#pragma strict | |
class PlayEffecsOnInputCfg { | |
var key: KeyCode; | |
var delay: float; | |
var effect: GameObject; | |
var calmTime: float; | |
var calmTimeTimer = 0f; | |
}; |
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
#pragma strict | |
var target : Transform; | |
var distance = 5.0; | |
var xSpeed = 250.0; | |
var ySpeed = 120.0; | |
var yMinLimit = -20; | |
var yMaxLimit = 80; |