Skip to content

Instantly share code, notes, and snippets.

View drscream's full-sized avatar
🕶️
Focusing

Thomas Merkel drscream

🕶️
Focusing
View GitHub Profile
[0] Unable to run build.sh
-- Job 0 terminated with status 1
***
*** ***** BUILD ERROR ***** (driver/virtualization/kvm)
***
-- error encountered, killing jobs
./buildctl: line 465: kill: (4598) - No such process
***
root@la-catalina:~# zoneadm -z omni install
A ZFS file system has been created for this zone.
Sanity Check: Looking for 'entire' incorporation.
Image: Preparing at /rpool/zones/omni/root.
Cache: Using /var/pkg/publisher.
Installing: Packages (output follows)
Publisher: Using omnios (https://pkg.omniosce.org/r151026/core/).
pkg install: The following pattern(s) did not match any allowable packages. Try
1007 GMT-4.1.4nb13
1032 mingw-w64-x86_64-crt-5.0.4
1036 py34-boost-1.67.0
1064 py35-scipy-1.1.0
1079 py37-scipy-1.1.0
1097 py37-boost-1.67.0
1103 py34-scipy-1.1.0
1107 nodejs-8.11.3
1126 py36-boost-1.67.0
1130 gdal-lib-2.2.4nb2
$NetBSD$
--- mcabber/screen.c.orig 2017-06-04 21:13:16.000000000 +0000
+++ mcabber/screen.c
@@ -1266,7 +1266,7 @@ static void scr_update_window(winbuf *wi
color = COLOR_GENERAL;
if (color != COLOR_GENERAL)
- wattrset(win_entry->win, get_color(color));
+ wbkgdset(win_entry->win, get_color(color));
bg = '#000000';
black = '#282828';
red = '#cc241d'; // red
green = '#98971a'; // green
yellow = '#d79921'; // yellow
blue = '#458588'; // blue
magenta = '#b16286'; // pink
cyan = '#689d6a'; // cyan
white = '#a89984'; // light gray
lightBlack = '#928374'; // medium gray
#You must supply atleast 1 arguement to the script
#this arguement MUST be the CSS or JS file to minify
if test $# -lt 1; then echo Usage $0 CSS-or-JS-file; exit 1; fi
#If the arguement is given with -raw in the file name than it will be removed and saved as the file name with out
the raw.
outfile=`echo $1 | sed -e "s|-raw.\(.*\)$|.\1|"`
if test "$1" = "$outfile"; then outfile=/dev/stdout;
else echo Minimising $1 and outputting to $outfile;
fi;
48255: lseek(0, 0, SEEK_CUR) = 2676
48255: close(0) = 0
48255: sigaction(SIGHUP, 0xFFFFFC7FFFDFF4B0, 0xFFFFFC7FFFDFF550) = 0
48255: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000, 0x00000000, 0x00000000) = 0xFFBFFEFF [0xFFFFFFFF]
48255: sigaction(SIGUSR1, 0xFFFFFC7FFFDFF4B0, 0xFFFFFC7FFFDFF550) = 0
48255: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000, 0x00000000, 0x00000000) = 0xFFBFFEFF [0xFFFFFFFF]
48255: mkdir("/zones/23b0ceb2-25a9-6e62-ae3a-80cc0c471e94/logs", 0700) Err#17 EEXIST
48255: open("/zones/23b0ceb2-25a9-6e62-ae3a-80cc0c471e94/logs/platform.log", O_WRONLY|O_APPEND|O_CREAT|O_CLOEXEC, 0600) = 0
48255: fstat(0, 0xFFFFFC7FFFDFF4F0) = 0
48255: write(0, " { " e v e n t " : " o p".., 76) = 76
@drscream
drscream / application-sshtunnel.xml
Created May 27, 2018 20:24
illumos SmartOS SMF manifest to configure and provide a simple ssh tunnel solution!
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
<service name='application/sshtunnel' type='service' version='0'>
<dependency name='net-physical' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/network/physical'/>
</dependency>
<dependency name='filesystem' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/system/filesystem/local'/>
</dependency>
476 # If ctypes is available, use it to find system routines for UUID generation.
477 # XXX This makes the module non-thread-safe!
478 _uuid_generate_time = _UuidCreate = None
479 try:
480 import ctypes, ctypes.util
481 import sys
482
483 # The uuid_generate_* routines are provided by libuuid on at least
484 # Linux and FreeBSD, and provided by libc on Mac OS X.
485 _libnames = ['uuid']
  1. If needed generate self-signed ssl certificate for nginx (if your config need ssl now):
# Folder need to exists and *.crt and *.key file is used in nginx.conf
$ mkdir -p /opt/local/etc/nginx/ssl
$ /opt/core/bin/ssl-selfsigned.sh -d /opt/local/etc/nginx/ssl -f nginx
  1. Add web information for let's encrypt to nginx into server { ... } content: