Skip to content

Instantly share code, notes, and snippets.

View danielburhans's full-sized avatar

dburhans danielburhans

View GitHub Profile
@danielburhans
danielburhans / menu.livecd.ipxe
Created July 10, 2020 05:59 — forked from tuxfight3r/menu.livecd.ipxe
ipxe linux livecd / netinstall menus
#!ipxe
# To access this file via http use following redirection:
# http://preseed.panticz.de/ipxe/menu.livecd.ipxe
menu LiveCD
item --gap Ubuntu:
item live_ubuntu_16.04 Ubuntu Trusty 16.04 LiveCD
item live_ubuntu_14.04 Ubuntu Trusty 14.04 LiveCD
item live_ubuntu_12.04 Ubuntu Precise 12.04 LiveCD
@danielburhans
danielburhans / client.go
Created May 1, 2018 03:31 — forked from mowings/client.go
Golang Websocket JSONRPC server and client
package main
import (
"golang.org/x/net/websocket"
"log"
"net/rpc/jsonrpc"
)
// In a real project, these would be defined in a common file
type Args struct {
@danielburhans
danielburhans / README.md
Created February 18, 2018 06:32 — forked from ryanjduffy/README.md
Enyo Inspector Bookmarklet to inspect an Enyo instance by shift-clicking it.
@danielburhans
danielburhans / cgo.md
Last active September 20, 2017 16:23 — forked from zchee/cgo.md
cgo convert list

See also, http://libraryofalexandria.io/cgo/

Using Go cgo

cgo has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src. IDE's(vim) Goto command not works.

So, Here collect materials.

@danielburhans
danielburhans / makeiso.sh
Last active August 29, 2015 13:58 — forked from geekle/makeiso.sh
#!/bin/bash
# Creates a bootable ISO from CoreOS' PXE images.
# Also adds a run script to the OEM partition and converts the ISO so it can boot from USB media.
# Based heavily off https://github.com/nyarla/coreos-live-iso - Thanks Naoki!
set -e
# Default configurations
SYSLINUX_VERSION="6.02"
enyo.kind({
name: "LoaderTest",
kind: enyo.TestSuite,
testSingleLoad: function() {
enyo.load("tests/loader1.js", enyo.bind(this,
function() {
if (window.LOADER_TEST === "loader1") {
this.finish();
}
else {