Skip to content

Instantly share code, notes, and snippets.

View cleesmith's full-sized avatar

Christopher cleesmith

View GitHub Profile
@cleesmith
cleesmith / gist:817541904bfaf25d4270
Last active April 2, 2021 07:31
remastering Tiny Core using VirtualBox
TinyCore
Apr 13, 2015:
remastering tiny core using virtualbox:
1. create a new virtualbox vm and add TinyCore-current.iso to the Storage setting
2. start the new vm
3. in a terminal window do: tce-load -wi ezremaster
4. perform all of these tce-load's: ... but do NOT configure anything, nor add pip (as it won't persist)
1. tce-load -wi libxslt.tcz ... lxml dependency
2. tce-load -wi libxml2-dev.tcz ... lxml dependency
3. tc-install.tcz ... so users of this remaster can install it if they want to, instead of only using the .iso
@cleesmith
cleesmith / waitgroup.go
Created July 30, 2015 08:47
GoLang concurrency
package main
import (
"fmt"
"net/http"
"sync"
"time"
)
func main() {
@cleesmith
cleesmith / send_logs_to_ekanite.rb
Created October 18, 2015 15:30
send test syslogs to ekanite
#!/usr/bin/env ruby
require 'socket'
require 'timeout'
# see: https://github.com/ekanite/ekanite
if ARGV.empty?
do_it = 1
else
do_it = ARGV[0].to_i