Skip to content

Instantly share code, notes, and snippets.

galaxy.dependencies.optional: no config file found
The Galaxy client has not yet been built and will be built now.
Installing node into /opt/galaxy/galaxy-release_18.09/.venv with nodeenv.
* Install prebuilt node (9.11.1) ..... done.
* Appending data to /opt/galaxy/galaxy-release_18.09/.venv/bin/activate
* Appending data to /opt/galaxy/galaxy-release_18.09/.venv/bin/activate.fish
Installing yarn into /opt/galaxy/galaxy-release_18.09/.venv with npm.
/opt/galaxy/galaxy-release_18.09/.venv/bin/yarn -> /opt/galaxy/galaxy-release_18.09/.venv/lib/node_modules/yarn/bin/yarn.js
/opt/galaxy/galaxy-release_18.09/.venv/bin/yarnpkg -> /opt/galaxy/galaxy-release_18.09/.venv/lib/node_modules/yarn/bin/yarn.js
+ [email protected]
$HTTP["host"] == "stats.vhost" {
alias.url += (
"/icingaweb2" => "/usr/share/icingaweb2/public",
)
url.rewrite-if-not-file += ( "/icingaweb2[^?]*(\?.*)" => "/icingaweb2/index.php$1" )
url.rewrite-if-not-file += ( "/icingaweb2" => "/icingaweb2/index.php" )
fastcgi.server += ( "/icingaweb2/index.php" =>
((
@bldewolf
bldewolf / colorprompts.sh
Last active August 29, 2015 14:13
256 color per-host foreground color picker
#!/bin/bash
# source me, I'm a shell script!
function _foreground_calc {
# reject these colors for being too dark
local reject=([0]=a [16]=a [17]=a [18]=a [19]=a [232]=a [233]=a [234]=a [235]=a [236]=a [237]=a [238]=a)
echo "$1" | shasum | while read -n2 num; do
local num=$((16#$num))
if [ -z "${reject[$num]}" ]; then
@bldewolf
bldewolf / netdisco_depgraph.pl
Created June 26, 2014 23:54
Netdisco 1.x to Nagios config with dependencies generator
#!/usr/bin/perl
#
use warnings;
use strict;
use lib "/var/lib/netdisco";
use netdisco qw/:all/;
config("/var/lib/netdisco/netdisco.conf");
@bldewolf
bldewolf / local.network
Created May 14, 2014 01:19
systemd networkd config example
[Match]
Name=eth0
Host=thishostduh
[Network]
DHCP=true
[DHCPv4]
UseMTU=false
UseHostname=false
@bldewolf
bldewolf / dumbconn.pl
Last active August 29, 2015 14:00
State table exploder
#!/usr/bin/perl
#
# Tired of your firewall working? Want to have new connections mysteriously
# rejected? Look no further! Use this handy script to flood your iptables
# nf_conntrack table with useless entries!
#
# Originally used to verify nf_conntrack_max settings. Empirically determined
# that 1 million states ~= 500MB.
@bldewolf
bldewolf / man-gler.pl
Last active August 29, 2015 13:58
Script that mangles input by replacing words with "equivalents" found via dictd/moby-thesaurus
#!/usr/bin/perl
use strict;
use warnings;
use IO::Socket;
my %options;
my %words;
my $sock;
@bldewolf
bldewolf / radvd-update.pl
Last active August 29, 2015 13:58
dibbler-client/radvd integrator
#!/usr/bin/perl
use warnings;
use strict;
use File::Compare;
open(my $dib, "/etc/dibbler/radvd.conf") or die "Failed to open dibbler config: $!";
my $int; # current interface
@bldewolf
bldewolf / gist:9244322
Created February 27, 2014 04:19
Good job, time warner
$ tracepath bloodlust
1: cpe-76-95-322-261.socal.res.rr.com 0.123ms pmtu 1500
1: cpe-76-95-322-1.socal.res.rr.com 50.732ms
1: cpe-76-95-322-1.socal.res.rr.com 21.693ms
2: tge7-1.pomncako02h.socal.rr.com 56.495ms
3: tge0-10-0-6.ontrcacp02r.socal.rr.com 18.775ms
4: sndhcaax-ccr07.socal.rr.com 39.759ms
5: agg1.lsaicaev02r.socal.rr.com 16.464ms asymm 6
6: agg10.lsaicaev01r.socal.rr.com 19.488ms asymm 5
7: agg26.lsancarc01r.socal.rr.com 19.397ms asymm 4
@bldewolf
bldewolf / anagram.c
Last active December 31, 2015 14:19
"Anagram" guesser using Aspell. Also guesses on substrings, because that's more fun.
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <aspell.h>
/* gcc -o anagram anagram.c -O2 -Wall -laspell
*/
void permut(char *chs, char *str, int cur, int len, AspellSpeller * spell_checker) {
int i;