Skip to content

Instantly share code, notes, and snippets.

# This is a DMDirc configuration file.
# Written on: Wed Mar 10 18:05:39 GMT 2010
# This section indicates which sections below take key/value
# pairs, rather than a simple list. It should be placed above
# any sections that take key/values.
keysections:
condition 0
condition 1
misc
keysections:
identity
Quakenet servergroup
Quakenet links
UK Servers servergroup
BY server
RR server
identity:
name=Quakenet servergroup
/*
* Copyright (c) 2006-2010 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
@csmith
csmith / SimpleTest.java
Last active December 25, 2015 10:19
@factory annotation generator
import com.dmdirc.util.annotations.factory.Factory;
import com.dmdirc.util.annotations.factory.Unbound;
@Factory
public class SimpleTest {
public SimpleTest(String foo, String bar) {}
public SimpleTest(String foo, String bar, @Unbound String baz) {}
@csmith
csmith / Base.java
Created October 15, 2013 17:08
Generated observable options
class Foo {
private String bar;
private int baz;
public void setBar(String bar) {...}
public String getBar();
public void setBaz(int baz) {...}
public int getBaz();
<proguard>
-libraryjars ${java.home}/lib/rt.jar
-injars guava-15.0.jar
-outjars guava-small.jar
-dontobfuscate
-dontpreverify
-dontwarn
-dontnote
---
categories:
- name: &General Swing UI
description: These config options apply only to the swing UI.
parent: GUI
icon: category-gui
domain: ui
items:
- type: multichoice

Keybase proof

I hereby claim:

  • I am csmith on github.
  • I am cjsmith (https://keybase.io/cjsmith) on keybase.
  • I have a public key ASAC0-T_2j52zCjI013_Rn3H-5IuCMXnDYlbP5GlcOSrgQo

To claim this, I am signing this object:

@csmith
csmith / Skeleton.cs
Last active December 2, 2015 06:22
Skeleton base class to use when creating Space Engineers scripts in an IDE.
using System;
using Sandbox.ModAPI.Ingame;
using Sandbox.ModAPI;
namespace Skeleton
{
public abstract class Skeleton : IMyGridProgram
{
public Action<string> Echo
@csmith
csmith / Storage.cs
Created December 2, 2015 06:27
Using script storage in Space Engineers programmable blocks
void Main(string argument)
{
// Read some persisted data from Storage
Echo("Argument from last time was " + Storage);
// Write some data to Storage
Storage = argument;
}