Skip to content

Instantly share code, notes, and snippets.

View DarkLotus's full-sized avatar

James DarkLotus

View GitHub Profile
B·gC))k%÷sߨÇâCóæB
ÄÄr¤¥Å¤ç¤Dò
c
ÂÆ÷1)
'êB
¦¥Ä
ÄÄ9ë©!ÄDrbF£æ
void setup() {
// initialize digital pin 13 as an output.
pinMode(1, OUTPUT);
Serial.begin(74880);
Serial.println("booted");
}
// the loop function runs over and over again forever
void loop() {
Serial.println("loop\n");
@DarkLotus
DarkLotus / uonet taming sample
Created February 25, 2016 03:31
uonet example
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using uoNet;
namespace uoNetExample
{
class Program
VERSION=0.55
[ITEMDEF i_new_deed_vendor]
DEFNAME=i_new_deed_vendor
ID=i_deed
TYPE=t_scroll
NAME=contract of employment
RESOURCES=i_deed, i_gold
VALUE=217500
@DarkLotus
DarkLotus / craftedSkillJewels.scp
Last active March 3, 2016 01:35
craftedSkillJewels.scp
// Copyright James Kidd 2016
// Changes Licensed under MIT license.
// Based on original code by Lux
[ITEMDEF i_crafted_skill_ring_gold]
defname = i_crafted_skill_ring_gold
ID=i_ring_gold
Name=Magical Crafted Ring
VALUE=200
WEIGHT=10
LAYER=8
{"r":0}
{"r":0}
{"id":"d95704000682da679dce97a3","claimed":1,"claim_code":"","server_address_type":1,"server_address_domain":"device.spark.io","firmware_version":0,"version_string":"","meta_id":0,"meta_data":"","first_update_domain":"52.37.37.115","first_update_url":"/firmware/firmware_v1.bin","first_update_fingerprint":"17 08 7A 72 63 78 E9 71 53 50 65 85 16 07 C1 03 9C AA 39 D0"}
ets Jan 8 2013,rst cause:2, boot mode:(3,0)
load 0x40100000, len 3632, room 16
[function spawn_brit]
serv.newitem=0063
new.p = 1517,1670,20
serv.newitem=0080
new.p = 1323,1627,50
serv.newitem=012C
new.p = 1224,1567,0
@DarkLotus
DarkLotus / Pre aos cliloc converter
Created May 2, 2016 05:03
Doesnt work, client reads the new cliloc file fine in most cases, but displays blank text
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClilocGen
{
class Program
@DarkLotus
DarkLotus / Contract Killer 3.md
Last active December 1, 2022 08:48
The latest version of my ‘killer contract’ for web designers and developers

Between [company name]

And [customer name].

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

So in short;