Skip to content

Instantly share code, notes, and snippets.

Avatar

Alistair Young cerebrate

View GitHub Profile
@cerebrate
cerebrate / LifeSupport.cfg
Last active Aug 29, 2015
Convert TAC Life Support plugin to liters
View LifeSupport.cfg
Replace the GlobalSettings section with:
GlobalSettings
{
MaxDeltaTime = 86400
ElectricityMaxDeltaTime = 1
FoodResource = Food
WaterResource = Water
OxygenResource = Oxygen
CarbonDioxideResource = CarbonDioxide
@cerebrate
cerebrate / Adapter.cs
Last active Aug 29, 2015
Reflecting differently
View Adapter.cs
public class FARAdapter : Adapter
{
private PropertyInfo instanceProp;
private FieldInfo machNumberField;
private FieldInfo qField;
public override void Plugin()
{
Type type = GetType("ferram4.FARControlSys");
@cerebrate
cerebrate / KSP.log
Created Jul 23, 2014
RealChute error logs
View KSP.log
This file has been truncated, but you can view the full file.
Kerbal Space Program - 0.24.0.549 (WindowsPlayer) Steam
OS: Windows 8.1 (6.3.9600) 64bit
CPU: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (4)
RAM: 8063
GPU: Intel(R) HD Graphics (912MB)
SM: 30 (Direct3D 9.0c [igdumdim64.dll 10.18.10.3412])
RT Formats: ARGB32, Depth, ARGBHalf, RGB565, ARGB4444, ARGB1555, Default, DefaultHDR, ARGBFloat, RGFloat, RGHalf, RFloat, RHalf, R8
@cerebrate
cerebrate / ksp.log
Created Apr 29, 2015
No life support resources
View ksp.log
This file has been truncated, but you can view the full file.
Kerbal Space Program - 1.0.0.830 (WindowsPlayer) Steam
OS: Windows 8.1 (6.3.10061) 64bit
CPU: Intel(R) Core(TM) i5-4440S CPU @ 2.80GHz (4)
RAM: 8093
GPU: Intel(R) HD Graphics 4600 (4046MB)
SM: 30 (Direct3D 9.0c [igdumdim32.dll 10.18.15.4124])
RT Formats: ARGB32, Depth, ARGBHalf, RGB565, ARGB4444, ARGB1555, Default, DefaultHDR, ARGBFloat, RGFloat, RGHalf, RFloat, RHalf, R8
View stargate-config
!
! Last configuration change at 10:05:35 CDT Wed Aug 17 2016 by avatar
! NVRAM config last updated at 09:31:51 CDT Wed Aug 17 2016 by avatar
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service linenumber
View keybase.md

Keybase proof

I hereby claim:

  • I am cerebrate on github.
  • I am cerebrate (https://keybase.io/cerebrate) on keybase.
  • I have a public key ASAggWBv-rBgDm8LNH1F4_vo9P0b6QN8-BjJnFO_MxvYzAo

To claim this, I am signing this object:

View gist:81ad9501ed2e6ee129b5aac192adc292
#!/bin/sh
echo "Seriously!? After I _told_ you what it could do?"
echo "Kinda makes me wish I'd put rm -rf / in here after all."
View version.el
(use-package vc
:config
(progn
;; show vc commands being executed
(setq vc-command-messages t)
;; confirm when chasing symlinks in a VC directory
(setq vc-follow-symlinks 'ask)
;; handled back-ends
View dogtector.ino
/*
Dogtector - operating code for the Dogtector
Copyright Alistair Young, 2017. All Rights Reserved.
*/
#include <ESP8266WiFi.h>
#include <Ticker.h>
#include <Adafruit_MQTT.h>
#include <Adafruit_MQTT_Client.h>
@cerebrate
cerebrate / Update-AUPackages.md
Created Jan 25, 2017
Update-AUPackages Report #powershell #chocolatey
View Update-AUPackages.md