Skip to content

Instantly share code, notes, and snippets.

View tedivm's full-sized avatar

Robert Hafner tedivm

View GitHub Profile
// screep astar
// based off of javascript-astar 0.4.1
// http://github.com/bgrins/javascript-astar
// Freely distributable under the MIT License.
// Implements the astar search algorithm in javascript using a Binary Heap.
// Includes Binary Heap (with modifications) from Marijn Haverbeke.
// http://eloquentjavascript.net/appendix2.html
// Modified for Screeps by Robert Hafner
@tedivm
tedivm / gist:4fe620bfca5afd89004e
Last active July 20, 2022 17:28
Ubuntu CUDA Installation Instructions

Ubuntu Cuda Install Instructions

Upgrade System

apt-get update 
apt-get dist-upgrade
reboot
@tedivm
tedivm / gist:3a2a97c9f62f53f899de
Last active August 29, 2015 14:19 — forked from jedda/gist:4103604
OSX Yosemite Server RADIUS
# Configuring basic RADIUS on OS X 10.8 Server
# Jedda Wignall
# http://jedda.me
#
# Updated to 10.10 by Robert Hafner
# http://blog.tedivm.com
# Full writeup at: http://jedda.me/2012/11/configuring-basic-radius-os-108-server/
# create the SACL for access to RADIUS
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
report_safe 0
lock_method flock
use_bayes 1
bayes_auto_learn 1
bayes_auto_expire 0
score ALL_TRUSTED -10.000
#skip_rbl_checks 1
@tedivm
tedivm / Caching Differences.md
Last active December 18, 2015 00:29
Caching Proposal Differences