- SSH to router
uci add_list dhcp.@dnsmasq[0].addnhosts=/etc/override.hosts
echo 'fqdn.example.com 127.0.0.1' >> /etc/override.hosts
/etc/init.d/dnsmasq restart
Should result in
$ nslookup fqdn.example.com
Server: 127.0.0.1
curl -v 'http://www.expedia.com.au/Gold-Coast-Hotels-Mantra-Crown-Towers.h2679146.Hotel-Information' -H "Pragma: akamai-x-get-client-ip, akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no, akamai-x-feo-trace, akamai-x-get-request-id" -H 'Host: www.expedia.com.au' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: http://www.expedia.com.au/Gold-Coast-Hotels-Mantra-Crown-Towers.h2679146.Hotel-Information?chkin=23/...&' -H 'Cookie: MC1=GUID=70c99433eb514ceeb242e0663f6a4d09; JSESSION=57c4097c-74d8-4a59-be43-bb585a661b54; tpid=v.1,25; iEAPID=0,; linfo=v.4,|0|0|255|1|0||||||||3081|0|0||0|0|0|-1|-1; eid=-1; s_fid=402ECBAB3BC6A4B4-2EA19B5B87B14AFB; s_cc= |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>animal-sniffer-maven-plugin</artifactId> | |
<version>1.7</version> | |
<executions> | |
<execution> | |
<id>signature-check</id> | |
<phase>verify</phase> | |
<goals> | |
<goal>check</goal> |
uci add_list dhcp.@dnsmasq[0].addnhosts=/etc/override.hosts
echo 'fqdn.example.com 127.0.0.1' >> /etc/override.hosts
/etc/init.d/dnsmasq restart
Should result in
$ nslookup fqdn.example.com
Server: 127.0.0.1
This works on DSM 6.1 with a custom TLD for NAS (split-horizon DNS), e.g. nas.example.com.
ssh [email protected]
sudo -i
git clone https://github.com/Neilpang/acme.sh
cd acme.sh
./acme.sh --install --nocron --home /usr/local/acme.sh --accountemail [email protected]
cd /usr/local/acme.sh
export CF_Key="examplekey"
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xdafff1] | |
goroutine 15935279 [running]: | |
github.com/hashicorp/vault/physical.(*S3Backend).List.func1(0xc423da5200, 0xc448911400, 0x7f1142ff6f01) | |
/gopath/src/github.com/hashicorp/vault/physical/s3.go:217 +0x81 | |
github.com/hashicorp/vault/vendor/github.com/aws/aws-sdk-go/service/s3.(*S3).ListObjectsV2PagesWithContext(0xc42000c330, 0x7f1142ff6f20, 0xc420012390, 0xc46b4e0a00, 0xc48711f708, 0x0, 0x0, 0x0, 0xc43bfc6601, 0x26be630) | |
/gopath/src/github.com/hashicorp/vault/vendor/github.com/aws/aws-sdk-go/service/s3/api.go:4093 +0x174 | |
github.com/hashicorp/vault/vendor/github.com/aws/aws-sdk-go/service/s3.(*S3).ListObjectsV2Pages(0xc42000c330, 0xc46b4e0a00, 0xc43bfc6708, 0x2, 0x2) | |
/gopath/src/github.com/hashicorp/vault/vendor/github.com/aws/aws-sdk-go/service/s3/api.go:4066 +0x9a |
#!/bin/bash | |
# TODO: Generate md5sums file to verify quicker | |
## | |
# Script to download everything you own from Humble Bundle. | |
# Writes to the current directory in folders named after the | |
# internal bundle name and product type. For example, Humble | |
# Bundle 1 product Aquaria would be under `hib1/aquarria`. | |
# |
#!/usr/bin/env python3 | |
import requests | |
import http.client as http_client | |
import logging | |
import hashlib | |
import os | |
import re | |
import threading |