Skip to content

Instantly share code, notes, and snippets.

🌃
Cats & kittens grab your mittens; taking you through the night & into the mystic

Joshua M. Clulow jclulow

🌃
Cats & kittens grab your mittens; taking you through the night & into the mystic
Block or report user

Report or block jclulow

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 TESTING-setup
#!/bin/bash
set -o errexit
set -o pipefail
host=reshard
dir=$(cd "$(dirname "$0")" && pwd)
mkdir -p $dir/keys
View gist:5e40686889555d337242773d108257eb
diff --git a/bin/mako_gc.sh b/bin/mako_gc_workaround.sh
index 3e4dfa6..33e7ffc 100755
--- a/bin/mako_gc.sh
+++ b/bin/mako_gc_workaround.sh
@@ -6,7 +6,13 @@
#
#
-# Copyright (c) 2017, Joyent, Inc.
+# Copyright (c) 2019, Joyent, Inc.
View stock_to_mine.diff
$ diff -b -u <(egrep -v '^[ ]*$|^#' usr/src/tools/env/illumos.sh) <(egrep -v '^[ ]*$|^#' illumos.sh)
--- /dev/fd/63 Tue Nov 13 15:46:31 2018
+++ /dev/fd/62 Tue Nov 13 15:46:31 2018
@@ -1,4 +1,4 @@
-export NIGHTLY_OPTIONS='-FnCDAlmprt'
+export NIGHTLY_OPTIONS='-nCDAmprtl'
export CODEMGR_WS="`git rev-parse --show-toplevel`"
function maxjobs
{
@@ -29,7 +29,6 @@
View -home-jclulow-bin-cr
#!/bin/bash
# vim: set ts=8 sts=8 sw=8 noet:
GERRIT_HOSTNAME=${GERRIT_HOSTNAME:-cr.joyent.us}
COLUMN_COUNT=${COLUMN_COUNT:-60}
#
# Detect the Gerrit username and project by listing the URLs for each
# remote and looking for one which matches our Gerrit hostname:
#
View gist:a49e8491be5dd4f8e0bf64d11c2e27f9
diff --git a/intel/ipf/Makefile b/sparc/ipf/Makefile
index 9b5cd49d65..b3755c1283 100644
--- a/intel/ipf/Makefile
+++ b/sparc/ipf/Makefile
@@ -22,12 +22,13 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/intel/ipf/Makefile
+# uts/sparc/ipf/Makefile
View gist:4cd09ba704c111e243f38f050eb44847
commit b77ca4a87b6bc950be82f8163472ffbd674b524a
Author: Toomas Soome <tsoome@me.com>
Date: Sun Mar 11 12:57:44 2018 -0700
9181 ipf: this use of "defined" may not be portable
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
Approved by: Joshua M. Clulow <josh@sysmgr.org>
View lib-logparse.js
#!/usr/bin/env node
/* vim: set ts=8 sts=8 sw=8 noet: */
var mod_assert = require('assert-plus');
var mod_util = require('util');
var mod_parse5 = require('parse5');
var mod_jsprim = require('jsprim');
var mod_verror = require('verror');
var VE = mod_verror.VError;
View src-illumos-getzoneid.go
package illumos;
/*
#include <stdlib.h>
#include <zone.h>
*/
import "C";
import "unsafe";
func Getzoneid() (zoneid int) {
View -var-tmp-Game05.pas
{
ASTEROID INVADERS ][
Designed and Coded by
Joshua Clulow
Current Version: 5.0
This program is freeware and
is Intellectual Property of
View gist:2ca9d0c6f5fedd99518ffa92be6f28ba
#!/bin/bash
set -o errexit
set -o pipefail
stamp=$(date +%s)
mkdir "/var/tmp/inspect_moray.$stamp"
cd "/var/tmp/inspect_moray.$stamp"
You can’t perform that action at this time.