Skip to content

Instantly share code, notes, and snippets.

View zorbathut's full-sized avatar

Ben Rog-Wilhelm zorbathut

View GitHub Profile
@zorbathut
zorbathut / ubuntu-amd64-installer.ipxe
Last active July 27, 2017 00:07 — forked from robinsmidsrod/ubuntu-amd64-installer.ipxe
Boot Ubuntu x64 installer directly from the network. Only iPXE needed
#!ipxe
#
# This should be startable from ipxe itself with the following commands:
#
# dhcp
# chain http://zorbathut.github.io/ipxe_ubuntu_amd64
#
# Obviously you'll have to trust that I'm not going to change any URLs out from under you; if you don't trust that, just use this file directly.
#
dhcp
Class University
void addPerson() {
Student s;
People *p;
*p = &s;
p->createPerson();
vectorPeople.push_back_(p)
}
<Patch>
<Operation Class="PatchOperationReplace">
<xpath>//HediffDef[defName = "Heatstroke"]/lethalSeverity</xpath>
<value>
<lethalSeverity>0.1</lethalSeverity>
</value>
</Operation>
<Operation Class="PatchOperationInsert">
def hello():
print("hello")
hello()
#include <iostream>
using namespace std;
void hello() {
cout << "Hello!" << endl;
}
int main() {
hello();
Shader "Leon/Special/Yamiko" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Emissive ("Emissive", 2D) = "black" {}
_EmissiveColor ("Emissive Color", Color) = (1.0,1.0,1.0,1.0)
_EmissiveMultiplier ("Emissive Multiplier", Range(0.0,10.0)) = 1.0
_RimColor ("Rim Color", Color) = (0.1,0.1,0.1,1.0)
_RimPower ("Rim Power", Range(0.0,10.0)) = 5.0