Skip to content

Instantly share code, notes, and snippets.

Avatar
🌃
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
View GitHub Profile
View -tmp-close.2
.\"
.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for
.\" permission to reproduce portions of its copyrighted documentation.
.\" Original documentation from The Open Group can be obtained online at
.\" http://www.opengroup.org/bookstore/.
.\"
.\" The Institute of Electrical and Electronics Engineers and The Open
.\" Group, have given us permission to reprint portions of their
.\" documentation.
.\"
View gist:7915a590d36e97330b0ee85b01b0acc5
commit 69efc6ac97d9e8c5164bdb5942aa5f5a33e785a0
Author: Joshua M. Clulow <josh@sysmgr.org>
Date: Sat Jul 27 19:05:00 2019 +0000
vim: make unfocused status bar visible
diff --git a/vim/colors/tir_black.vim b/vim/colors/tir_black.vim
index 00a2b0c..6c01392 100644
--- a/vim/colors/tir_black.vim
+++ b/vim/colors/tir_black.vim
@jclulow
jclulow / illumos-rolling.xml
Created Jun 6, 2021
osinfo file for illumos
View illumos-rolling.xml
<?xml version="1.0"?>
<libosinfo version="0.0.1">
<!-- Licensed under the GNU General Public License version 2 or later.
See http://www.gnu.org/licenses/ for a copy of the license text -->
<os id="http://illumos.org/illumos/rolling">
<short-id>illumos</short-id>
<name>illumos</name>
<vendor>illumos</vendor>
<family>illumos</family>
<release-status>rolling</release-status>
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;