Skip to content

Instantly share code, notes, and snippets.

View chrishiestand's full-sized avatar

Chris Hiestand chrishiestand

View GitHub Profile
@chrishiestand
chrishiestand / pyramid.go
Created October 13, 2017 03:43 — forked from triztian/pyramid.go
SDGophers Meetup 2017-10-12 Challenge
package main
import (
"fmt"
"io/ioutil"
"log"
"os"
"sort"
"strconv"
"strings"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
main(argc,argv)
int argc;
char **argv;
{
char *array;
unsigned int n_bytes,t,i,j;
@chrishiestand
chrishiestand / memtest.c
Last active December 21, 2015 23:29 — forked from tmbartol/memtest.c
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
main(argc,argv)
int argc;
char **argv;
{
char *array;
unsigned long long int n_bytes,t,i,j;
@chrishiestand
chrishiestand / cf-cmd.rb
Last active December 12, 2015 05:58 — forked from zzamboni/cf-cmd.rb
cf-cmd
#!/usr/bin/env ruby
#
# CFengine command-line test utility.
#
# Diego Zamboni, December 27th, 2011
#
# Run as "cf-cmd help" to see usage information.
require 'readline'
require 'tmpdir'