Skip to content

Instantly share code, notes, and snippets.

andyleap

Block or report user

Report or block andyleap

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View main.go
package main
import (
"bytes"
"context"
"log"
"os"
"strconv"
"github.com/go-ble/ble"
View gist:01601cc9cdf7d3708bb63d5867afc484
// powermon project main.go
package main
import (
"flag"
"fmt"
"io"
"log"
"time"
@andyleap
andyleap / generals.io.md
Last active May 11, 2019
Generals.IO Win Replay Dump
View generals.io.md

Newest First.

@andyleap
andyleap / main.go
Last active Oct 6, 2017 — forked from ThisIsSet-L/main.go
liquidsoap controller so far
View main.go
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"os/exec"
)
@andyleap
andyleap / main.go
Created Mar 11, 2017
Simple RPC system!
View main.go
package main
import (
"fmt"
"rpctest/client"
)
func main() {
fmt.Println(rpctest.Add(1, 2))
}
View gist:04e28138c1dbea032bd068e749e3b06e
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using UnityEngine;
using Verse;
namespace RimLib
{
View decompressor.go
// Implements lzstring with the intention of receiving compressed output from a webpage.
// Most easily made in javascript using a Uint16Array
package main
import (
"bytes"
"encoding/binary"
"fmt"
"io"
"math"
@andyleap
andyleap / gemu.go
Created Nov 29, 2016
Gemu Go protocol handler
View gemu.go
type PacketType uint16
const (
PacketClassList PacketType = 0x0001
PacketClassListResponse = 0x8001
PacketCreateDT = 0x0101
PacketCreateDTResponse = 0x8101
PacketDeleteDT = 0x0102
PacketDeleteDTResponse = 0x8102
PacketAttachDTDevice = 0x0103
View EEPROM.md

EEPROM

Device Description

An EEPROM that can be built into various devices to store supplementary data. Holds 8 words, that can only be read or written a single word at a time.

Interrupt Commands

View BlockCategories.sbc
<?xml version="1.0" encoding="utf-8"?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CategoryClasses>
<Category xsi:type="MyObjectBuilder_GuiBlockCategoryDefinition">
<Id>
<TypeId>GuiBlockCategoryDefinition</TypeId>
<SubtypeId/>
</Id>
<DisplayName>DisplayName_Category_LargeBlocks</DisplayName>
<Name>LargeBlocks</Name>
You can’t perform that action at this time.