This gist has migrated to the repo below.
Please submit new entries as pull requests to https://github.com/jauderho/nts-servers.
Initial source: https://docs.ntpsec.org/latest/NTS-QuickStart.html
resource_not_found = {} | |
begin | |
resources('ruby_block[my-resource-supposed-to-exist]') | |
rescue Chef::Exceptions::ResourceNotFound | |
resource_not_found['ruby_block[my-resource-supposed-to-exist]'] = true | |
end | |
template '/etc/my/template.conf' do | |
source 'template.conf.erb' | |
mode '640' |
This gist has migrated to the repo below.
Please submit new entries as pull requests to https://github.com/jauderho/nts-servers.
Initial source: https://docs.ntpsec.org/latest/NTS-QuickStart.html
Server 2 sockets,6 cores each, 2.4ghz | |
# Set ixgbe options | |
# Limit RSS queues to the number of physical cores per cpu | |
# Disable offload | |
# When you change this, you need to run the command and reboot for it to take. | |
echo "options ixgbe LRO=0,0 MQ=1,1 RSS=6,6 VMDQ=0,0 vxlan_rx=0,0" > /etc/modprobe.d/ixgbe.conf | |
# Shut down HT cores | |
for i in $(seq 1 2 23); do |
Bucket policy is an access policy available for you to grant anonymous permissions to your Minio resources. Bucket policy uses JSON-based access policy language.
This section presents a few examples of typical use cases for bucket policies. The policies use testbucket
strings in the resource value. To test these policies, you need to replace these strings with your bucket name. For more information please read Amazon S3 access policy language
The following example policy grants the s3:GetObject
permission to any public anonymous users. This permission allows anyone to read the object data under testbucket
, which is useful for when you have publicly readable assets. A typical example is a website assets stored in testbucket
.
#!/bin/bash | |
# This script checks if there are valid ROAs for a list of IP blocks | |
# Checks from two sources - rpki validator and bgpmon | |
iplist="iplist.txt" | |
notvalid=0 | |
# Replace with your own validator | |
rpki_validator="http://localcert.ripe.net:8088" |
diff --git a/src/router.c b/src/router.c | |
index 541c023..9ad79d4 100644 | |
--- a/src/router.c | |
+++ b/src/router.c | |
@@ -390,6 +390,7 @@ enum { | |
IOV_RA_ROUTES, | |
IOV_RA_DNS, | |
IOV_RA_SEARCH, | |
+ IOV_RA_PREF64, | |
IOV_RA_ADV_INTERVAL, |
When running certain commands like ssh or git within Terminal on OSX you may get notices like the one below, which can be annoying. | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LANG = "en_US.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
# Define User Variables | |
:global ddnspass "TOKEN" | |
:global ddnshost "HOSTNAME.dynv6.net" | |
#:global ddnspool "pool0" | |
#:global ddnsinterface "bridge" | |
#:global ddnsinterface "6to4-henet" | |
#:global ddnsinterface "pppoe-out1" | |
#:global ddnsinterface "ether1" | |
# Define Global Variables |
I've been using [Backblaze][bbz] for a while now as my online backup service. I have used a few others in the past. None were particularly satisfactory until Backblaze came along.
It was - still is - keenly priced at a flat $5 (£4) per month for unlimited backup (I've currently got just under half a terabyte backed-up). It has a fast, reliable client. The company itself is [transparent about their operations][trans] and [generous with their knowledge sharing][blog]. To me, this says they understand their customers well. I've never had reliability problems and everything about the outfit exudes a sense of simple, quick, solid quality. The service has even saved the day on a couple of occasions where I've lost files.
Safe to say, I'm a happy customer. If you're not already using Backblaze, [I highly recommend you do][recommend].