base:
'os:MacOS':
- match: grain
- homebrew
'*':
- nginx
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
# Ref: https://developer.hashicorp.com/nomad/docs/job-specification/template#nomad-integration | |
# Ref: https://discuss.hashicorp.com/t/templates-how-to-access-tuple-key-value/53875 | |
job "php" { | |
# ... | |
group "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
set traffic-control advanced-queue queue-type hfq HFQ_UP_LAN host-identifier sip | |
set traffic-control advanced-queue queue-type hfq HFQ_UP_LAN max-rate 3mbit | |
set traffic-control advanced-queue queue-type hfq HFQ_UP_LAN subnet 10.76.32.0/24 | |
set traffic-control advanced-queue queue-type hfq HFQ_UP_WIFI host-identifier sip | |
set traffic-control advanced-queue queue-type hfq HFQ_UP_WIFI max-rate 3mbit | |
set traffic-control advanced-queue queue-type hfq HFQ_UP_WIFI subnet 10.76.33.0/24 | |
set traffic-control advanced-queue queue-type hfq HFQ_DOWN_LAN host-identifier dip | |
set traffic-control advanced-queue queue-type hfq HFQ_DOWN_LAN max-rate 3mbit | |
set traffic-control advanced-queue queue-type hfq HFQ_DOWN_LAN subnet 10.76.32.0/24 |
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
set("tag.encodings",["UTF-8","ISO-8859-1"]) | |
# Configure Logging | |
set("log.file",false) | |
set("log.level",3) | |
set("log.stdout",true) | |
set("log.syslog",false) | |
set("log.syslog.facility","DAEMON") | |
set("log.syslog.program","liquidsoap-#{STREAMID}") |
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
# Original : http://en.community.dell.com/support-forums/servers/f/956/t/18394689 | |
# Archive : http://archive.is/8LkJs | |
I was also facing this issue, but had to jump some more hurdles: | |
- In the Java Control Panel, add https://<server IP/hostname> to the exception site list. (not related to this issue, but needs to be done though) | |
- In the Advanced tab (this is on windows) enable the console, so I could check what java version was being used. (I have 5 versions installed) | |
- Edit the mentioned java.security for the correct version, but, I had to make an additional change. I also had to alter the "jdk.certpath.disabledAlgorithms" parameter, and remove MD5 there. Hence, enable MD5 support. |
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
From f9e8eaf3226009531b769635a6114f87da08291b Mon Sep 17 00:00:00 2001 | |
From: "Jason R. McNeil" <jason@mcneil.dev> | |
Date: Wed, 12 May 2021 01:16:35 -0700 | |
Subject: [PATCH] drivers/scsi/ses: Dell MD12XX enclosures support SES, despite | |
EncServ=0 as claimed by the device | |
--- | |
drivers/scsi/ses.c | 26 +++++++++++++++++++++++--- | |
1 file changed, 23 insertions(+), 3 deletions(-) |
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
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
sendfile on; |
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
<?php | |
function flip_random_bit(string $str) | |
{ | |
$charIndex = random_int(0, strlen($str) - 1); | |
$bitIndex = random_int(0, 8); | |
$str[$charIndex] = chr(ord($str[$charIndex]) ^ 1 << $bitIndex); | |
return $str; | |
} |
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
{ | |
pkgs ? import <nixpkgs> { }, | |
}: | |
with pkgs; | |
python3.buildEnv.override { | |
ignoreCollisions = true; | |
extraLibs = with python3Packages; [ | |
pip | |
ipykernel | |
jupyterlab |
NewerOlder