Skip to content

Instantly share code, notes, and snippets.

@tylerlindell
tylerlindell / tylerlindell_torch-cl_install.sh_output.txt
Created May 29, 2016 14:19
Output from ./install.sh within torch-cl directory
Prefix set to /Users/tylerlindell/torch-cl/install
Installing Lua version: LUAJIT21
Installing common Lua packages
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -O2 -fPIC -I/Users/tylerlindell/torch-cl/install/include -c src/lfs.c -o src/lfs.o
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -bundle -undefined dynamic_lookup -all_load -o lfs.so -L/Users/tylerlindell/torch-cl/install/lib src/lfs.o
Updating manifest for /Users/tylerlindell/torch-cl/install/lib/luarocks/rocks
luafilesystem 1.6.3-1 is now built and installed in /Users/tylerlindell/torch-cl/install/ (license: MIT/X11)
Updating manifest for /Users/tylerlindell/torch-cl/install/lib/luarocks/rocks
penlight scm-1 is now built and installed in /Users/tylerlindell/torch-cl/install/ (license: MIT/X11)
@tylerlindell
tylerlindell / torch-distro_install_build errors
Last active April 12, 2017 13:56
errors when installing torch-distro
$ ./install.sh
Prefix set to /Users/tylerlindell/torch-distro/install
Submodule 'exe/env' (https://github.com/torch/env.git) registered for path 'exe/env'
Submodule 'exe/luajit-rocks' (https://github.com/torch/luajit-rocks.git) registered for path 'exe/luajit-rocks'
Submodule 'exe/qtlua' (https://github.com/torch/qtlua.git) registered for path 'exe/qtlua'
Submodule 'exe/trepl' (https://github.com/torch/trepl.git) registered for path 'exe/trepl'
Submodule 'extra/argcheck' (https://github.com/torch/argcheck.git) registered for path 'extra/argcheck'
Submodule 'extra/cudnn' (https://github.com/soumith/cudnn.torch.git) registered for path 'extra/cudnn'
Submodule 'extra/cunn' (https://github.com/torch/cunn.git) registered for path 'extra/cunn'
Submodule 'extra/cutorch' (https://github.com/torch/cutorch.git) registered for path 'extra/cutorch'
@tylerlindell
tylerlindell / random-color.service.ts
Last active December 31, 2018 04:40
generate random colors
import { Injectable } from '@angular/core';
@Injectable()
export class RandomColorService {
public colorDictionary: any = {};
constructor() {
}
private defineColor (name: any, hueRange: any, lowerBounds: any) {
using System.Collections;
using System.Collections.Generic;
using SharpNeat.Phenomes;
using UnityEngine;
public class LocomotionController : UnitController
{
private Rigidbody rBody;
private bool IsRunning;
private IBlackBox box;
@tylerlindell
tylerlindell / LocomotionController.cs
Last active September 26, 2017 18:49
updated files from Unity NEAT for getting the bouncing cubes
/*
* LocomotionController is responsible for each individual Smart Unit
*/
using System.Collections;
using System.Collections.Generic;
using SharpNeat.Phenomes;
using UnityEngine;
public class LocomotionController : UnitController
/*
* LocomotionController is responsible for each individual Smart Unit
*/
using System.Collections;
using System.Collections.Generic;
using SharpNeat.Phenomes;
using UnityEngine;
public class LocomotionController : UnitController
/*
* Optimizer is responsible the training sessions (starting, stopping, and evaluating)
*/
using UnityEngine;
using System.Collections;
using SharpNeat.Phenomes;
using System.Collections.Generic;
using SharpNeat.EvolutionAlgorithms;
using SharpNeat.Genomes.Neat;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TargetController : MonoBehaviour
{
public bool isTracked = true;
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TargetFrameRate : MonoBehaviour{
void Awake()
{
//frame jacking so we can traing through as many generations as possible very fast
Application.targetFrameRate = 300;
echo off
title Install Development Environment Applications
echo installing chocolatey
:: chocolatey
Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
:: Node.js
echo installing Node.js
choco install nodejs.install