This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use IO::Socket; | |
my %options; | |
my %words; | |
my $sock; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=eth0 | |
Host=thishostduh | |
[Network] | |
DHCP=true | |
[DHCPv4] | |
UseMTU=false | |
UseHostname=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
use warnings; | |
use strict; | |
use lib "/var/lib/netdisco"; | |
use netdisco qw/:all/; | |
config("/var/lib/netdisco/netdisco.conf"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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" => | |
(( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
+ yarn@1.12.3 |
OlderNewer