Skip to content

Instantly share code, notes, and snippets.

View ScottDillman's full-sized avatar
🏠
Working in ways that dramatically strain or break gestalt and abstraction.

Scott Dillman ScottDillman

🏠
Working in ways that dramatically strain or break gestalt and abstraction.
View GitHub Profile
% sudo apt-get install freeglut3-dev !315
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdmx-dev libfontenc-dev libfs-dev libpciaccess-dev
libunity-control-center1 libxaw7-dev libxfont-dev libxmu-dev libxmu-headers
libxmuu-dev libxpm-dev libxres-dev libxss-dev libxtst-dev libxvmc-dev
libxxf86dga-dev unity-settings-daemon x11proto-bigreqs-dev x11proto-dmx-dev
x11proto-dri3-dev x11proto-fonts-dev x11proto-present-dev
@ScottDillman
ScottDillman / build_AtomicGameEngine.txt
Last active June 26, 2016 00:59
Build AtomicGameEngine from source on Windows in 10 Easy Steps
Build AtomicGameEngine from source on Windows in 10 Easy Steps
I. From a fresh Windows install
A. [ Install build tools ] Run the following in an admin console:
01. @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH% ; %ALLUSERSPROFILE% \chocolatey\bin
02. Restart admin shell:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* _POOL - pool
* int size - the size of the pool in bytes
* void* ipPool - pointer to memory malloc'd by the operating system
*/
typedef struct _POOL
{
@ScottDillman
ScottDillman / get_IK.py
Created January 5, 2016 14:58
Download Indoor Kids podcasts
#!/usr/bin/env python
import urllib2
import re
import subprocess
## settings, could make these all command line args
## if it is worth it
## get everything after this
last_ep = 217
@ScottDillman
ScottDillman / AGE.bpmn
Created December 21, 2015 23:21
Rough BPMN build model for AtomicGameEngine Linux build
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
<bpmn:process id="Process_1" isExecutable="false">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>SequenceFlow_1tazv6x</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:task id="Task_0fevegc" name="run Build_AtomicEngine.sh">
<bpmn:incoming>SequenceFlow_1tazv6x</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_17itu1h</bpmn:outgoing>
</bpmn:task>
@ScottDillman
ScottDillman / gogs-service.sh
Last active August 29, 2015 14:26
Debian init script for Gogs
#!/bin/bash
#/etc/init.d/gogs-service
#
### BEGIN INIT INFO
# Provides: gogs-service
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
#!/bin/bash
#title...........:raspi-boot.sh
#description.....:Set up bridged network and launch raspberry pi image
#author..........:scott@bitwise.ninja
#date............:2015.07.20
#version.........:0.5
#usage...........:sudo bash raspi-boot.sh <usernmae>
#notes...........:none
#==============================================================================
#!/bin/bash
#title...........:raspi-fixup.sh
#description.....:mount raspbian image and fixup some files
#author..........:scott@bitwise.ninja
#date............:2015.07.20
#version.........:0.5
#usage...........:sudo bash raspi-fixup.sh
#notes...........:none
#==============================================================================